Record Store Merger with partial Update

Hi,
I have a requirement in which I have to merge a feed into the endeca via partial update. The feed will only have 3 properties- part number , vendor name , Store id(value to be merged). The combination of part number and vendor name is not unique.
The only to achieve the sdesired result is by merging the feed's store detail in the data base. And by incremental indexing pushing the data into endeca. Somebody told me that CAS will then provide me the difference data and with that difference data I can partially update the records.
But my client doesn't want to use Simple indexing. She is asking to figure out merging data in CAS itself. I know that we can use Record Store Merger to merge two or more data source.
But if I use record Store merger will it provide me same differencial data input as provided by CAS in the case of indexing??
Also I am using Endeca version 6.4.0.

apparently these is a known bug in Endeca which occurs when an update results in a product not falling in 1 of the dimensionvalues. So if the price changes from 100 to 1mln and the price range only goes to 1000, endeca does not update correctly

Similar Messages

  • How to merge with multiple updates

    Hi All,
    can someone help with merge and multiple updates when matched ?
    create table foo
    id number,
    name varchar2(30),
    col1 date,
    col2 date
    create table bar
    id number,
    name varchar2(30),
    col1 date,
    col2 date
    insert into foo values ( 1, 'test1', sysdate + 30, sysdate);
    insert into foo values ( 2, 'test2', sysdate + 30, sysdate);
    insert into foo values ( 3, 'test3', sysdate + 30, sysdate);
    MERGE INTO BAR T1
    USING (SELECT id, NAME, col1, col2 FROM foo) T2
    ON (T1.id = T2.id)
    WHEN MATCHED THEN
    UPDATE SET T1.NAME=T2.NAME where T1.Name != T2.Name
    UPDATE SET T1.col1=T2.col1 where T1.col1 != T2.col1
    UPDATE SET T1.col2=T2.col2 where T1.col2 != T2.col2
    WHEN NOT MATCHED THEN
    INSERT (ID, NAME, col1, col2 ) VALUES (t2.Id, t2.NAME, t2.col1, t2.col2);
    Reason for having multiple updates to same row is i want to update the column only if name, col1, and col2 columns have changed. So, I want to first match by rows and then update the columns in bar that have changed in foo.
    Any thoughts on how I might do this in merge ?. I get the foll. error
    ERROR at line 6:
    ORA-00933: SQL command not properly ended
    Thanks
    Vissu

    I think you will be better off reading this link.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_9016.htm#SQLRF01606
    It will be something like this.
    MERGE INTO BAR T1
    USING (SELECT id, NAME, col1, col2 FROM foo) T2
    ON (T1.id = T2.id)
    WHEN MATCHED THEN
    UPDATE SET T1.NAME=T2.NAME ,
                          t1.col1 = t2.col2 ,
                          t1.col2 = t2.col2
    where T1.Name != T2.Name or t1.col1 != T2.col1 or t1.col2 != t2.col2
    WHEN NOT MATCHED THEN
    INSERT (ID, NAME, col1, col2 ) VALUES (t2.Id, t2.NAME, t2.col1, t2.col2);Please note this code is untested.
    Regards
    Raj

  • Removing Duplicate Records  and Merging with the previous record

    Hi
    Can any one help me in doing this..
    I want to delete a duplicate record from the current table.If there is one more record of the same kind. Compare the two records and fill the columns which are empty. Then Merge it. and Remove the duplicate record...Before deleting the record move it into the backup table..
    with regards
    srikanth

    I understand conceptually what you're after. At a detailed level, though, you're going to have to enunciate some specific rules to enforce.
    1) What makes row A a duplicate of row B? Is it just the Name column? Some combination of columns? Something else?
    2) What is the exact rule for merging rows? Among other questions
    - If you have multiple non-NULL values for a particular column, which column wins? If you have one row that is Manchester, NH and one that is Nashua, NH, which would you keep?
    - Does the merge logic depend on the particular column (i.e. perhaps you want the city & state to come from one row whereas first and last name can come from different rows)
    Justin

  • App store problem with iPhoto update

    Today I went to the App Store.  An update was available for iPhoto.  When I clicked on it I got a notice that I needed to accept new conditions, when I clicked on "O.K" after a while I got the message that I was not connected to the App Store. I have tried several times. How do I update?  the update to iPhoto does not show up on regular Software update section.  Thank you!

    Hi...
    Make sure the Firewall is turned off in System Preferencdes > Security
    If you have anti virus software installed, disable that.
    The app Little Snitch can prevent updates from downloading and installing, so can Growl.
    When you post for help, please tell us which Mac OS X you have installed. Thank you! 

  • MERGE with DELETE generates ORA-02290: check constraint

    Hello there.
    Just looking to see if anybody there has and idea what could be happening here.
    Oracle 10g (10.2.0.4).
    We have TAB1 with a primary key.
    TAB1 is
    PRIMK NUMBER(10)
    COL1 NUMBER(10)
    COL2 NUMBER(10)
    NEWCOL NUMBER(10) NOT NULL
    A new column NEWCOL was added (with dbms_redefinition) with a not null constraint (after the redefinition was complete).
    We have code that does the following:
    MERGE INTO TAB1
    USING DUAL
    ON ( DUAL.DUMMY IS NOT NULL
    AND TAB1.PRIMK = :a )
    WHEN MATCHED THEN
    UPDATE SET COL1 = function ( somevalue )
    WHERE PRIMK = :a
    DELETE
    WHERE ( PRIMK = :a AND COL1 = 25 )
    So we run this inside a FORALL with a few rows, say 40.
    Of the 40 only one fails with ORA-02290 on NEWCOL.
    The data for the rows don't have null values...all column have a value.
    If we just run the MERGE with the UPDATE it works, but it fails with the DELETE on only one row.
    Furthermore, if I delete the row completely and insert it back, the above statement work perfectly.
    So I added DML Logging:
    BEGIN
    DBMS_ERRLOG.create_error_log (TAB1');
    END;
    MERGE INTO TAB1
    USING DUAL
    ON ( DUAL.DUMMY IS NOT NULL
    AND TAB1.PRIMK = :a )
    WHEN MATCHED THEN
    UPDATE SET COL1 = function ( somevalue )
    WHERE PRIMK = :a
    DELETE
    WHERE ( PRIMK = :a AND COL1 = 25 )
    LOG ERRORS INTO ERR$_TAB1 ('MERGE') REJECT LIMIT UNLIMITED;
    When I look at ERR_TAB1 I see that it logs the error.
    The funny thing though, is that it shows the Primary Key and NEWCOL as null!
    This cannot be replicated.
    I have taken exports and imported into other databases and cannot replicate it (which the delete/remove before kinds of shows).
    I thought it had to do with blocks or corruption.
    However I ran dbv and it reported no problems with the table.
    Any idea will be greatly appreciated.
    Thanks
    Edited by: nelsonjfr on Jun 9, 2011 3:15 PM

    Have you tried to errorstack on the constraint violation? It may be useful in determining the cause.
    alter session set events '2290 trace name errorstack level 3';
    <run the job to produce the error>
    alter session set events '2290 trace name errorstack off';
    have a look in udump at the trace and see if it gives any clues.
    Though I doubt this is a corruption. DBV only shows physical corruption and not logical corruption. You need to use "analyze table <table_name> validate structure cascade" to check for logical issues.

  • Tip for Data Merge with Multiple Records (labels, etc.)

    I have seen many InDesign Data Merge questions about how to create sheets of mailing labels, especially the problem of getting only one label per page, when you need 30 or more.
    Adobe's instructions are poor and incomplete in that InDesign doesn't step out the records from a data source - it steps out the FRAMES that contain the data field placeholders.
    That is why you only need to place a text or image frame once on a single page - during the datamerge, InDesign will create the additional FRAMES for each record, and it will create the pages required to hold them.
    You do have to set the desired spacing on the
    If you create the frame on a Master page, ID allows you to update the data source (when it changes) in the Data Merge tool panel.
    These are very nice and robust features, but the documentation for them is confusing to many people.
    You will find more great in-depth help  for Data Merge, with screen captures and attachments, here in the forum.

    For a multiple record merge you need one set of placeholders, then set the margins and spacing in the merge options so the positioning is correct.
    Warning: Using Preview in a multiple record merge will corrupt the file. If you press the preview button, Undo after looking at the preview, then merge without using preview.

  • When I try to open a Pages document from iCloud, created on my iPad, I get message stating I need a newer version of Pages.  When I go to app store all I get is "installed" when looking at pages app. my Macbook pro is up to date with all updates.

    When I try to open a Pages document from iCloud, created on my iPad, I get message stating I need a newer version of Pages.  When I go to app store all I get is "installed" when looking at pages app. my Macbook pro is up to date with all updates. Any ideas?

    You have 2 versions of Pages on your Mac.
    Pages 5 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5/5.01 can not open Pages 5.1 files and you will get the warning that you need a newer version.
    Pages 5.1 sometimes can not open its own files and you will get the warning that you need a newer version.
    Pages 5 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has not only managed to confuse all its users, but also itself.
    Note: Apple has removed over 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Archive/trash Pages 5, after exporting all Pages 5 files to Pages '09 or Word .docx, and rate/review it in the App Store, then get back to work.
    Peter

  • After I updated lion to 10.7.4, app store does not recognize my ID APPLE and it unable to connect me to app store in order to update/download apps? What have I to do? I have the same problem with mac mini e mac book air. Please help me!

    After I updated lion to 10.7.4, app store does not recognize my ID APPLE and it unable to connect me to app store in order to update/download apps? What have I to do? I have the same problem with mac mini e mac book air. Please help me!

    Your advice did not help me. I also installed 10.7.4 combo but the situation is the same.
    my internet connection is ok, mail is ok, but app store after 3 resets does not recognize my ID and it says "connection is not possible". Why? I have the same problem in both my mac mini late 2009 and mac book air 2010? Is it a problem of 10.7.4 update? I have to solve this problem and how can i return to 10.7.3 if my last backup was not with 10.7.3???thank you for your kind collaboration...

  • My iphone4 isn't updated or synced to icloud because last time I tried it merged with a family members phone. Now I'm getting a new phone am scared I am going to lose all my contacts. Any suggestions on how I am to secure them?

    My iphone4 isn't updated or synced to icloud because last time I tried it merged with a family members phone. Now I'm getting a new phone am scared I am going to lose all my contacts. Any suggestions on how I am to secure them?

    Backup using itunes http://support.apple.com/kb/HT1766
    Are you sharing an apple id with someone?  that would be the only reason if would merged info.

  • How can I convert string to the record store with multiple records in it?

    Hi Everyone,
    How can I convert the string to the record store, with multiple records? I mean I have a string like as below:
    "SecA: [Y,Y,Y,N][good,good,bad,bad] SecB: [Y,Y,N][good,good,cant say] SecC: [Y,N][true,false]"
    now I want to create a record store with three records in it for each i.e. SecA, SecB, SecC. So that I can retrieve them easily using enumerateRecord.
    Please guide me and give me some links or suggestions to achieve the above thing.
    Best Regards

    Hi,
    I'd not use multiple records for this case. Managing more records needs more and redundant effort.
    Just use single record. Create ByteArrayOutputStream->DataOutputStream and put multiple strings via writeUTF() (plus any other data like number of records at the beginning...), then save the byte array to the record...
    It's easier, it's faster (runtime), it's better manageable...
    Rada

  • Cannot see Cookies with new update of firefox. I recently updated firefox, but when I look on the PRIVACY window, where websites store cookies, I am no longer a

    Cannot see Cookies with new update of firefox.<br />
    I recently updated firefox, but when I look on the PRIVACY window, where<br />
    websites store cookies, I am no longer able to see any cookies that<br />
    are being stored, and I am not able to delete the cookies as soon as I leave<br />
    their site, as I had been doing for a long time prior to updating.<br />
    So I am wondering where the heck are the cookies being stored now, with the<br />
    new update? I like to be able to delete their cookies immediately, and<br />
    I also wonder why firefox does not make it much easier for us to see<br />
    all the cookies and delete them with one click, instead of having to <br />
    use the &lt;&lt;TOOLS&lt;&lt;OPTIONS&lt;&lt;PRIVACY way of looking at and deleting cookies.<br />
    The option to delete the cookies when firefox closes is not as efficient<br />
    and I will get tracked until I close firefox, and I prefer to not be tracked<br />
    so I like to just delete their cookies as soon as I am no longer using their<br />
    site anymore.

    (my question was not fully showing so I added this here)
    way of looking at and deleting cookies.
    The option to delete the cookies when firefox closes is not as efficient
    and I will get tracked until I close firefox, and I prefer to not be tracked
    so I like to just delete their cookies as soon as I am no longer using their
    site anymore. So I need to know how to make the cookies visible again, so I can immediately delete them. thank you

  • Took delivery of imac yesterday with pre-installed Pages, Numbers and Keynote. App store says they need updating but won't let me because I've never owned the major version of the software. I have paid like anyone else, so why can't I update?

    Took delivery of imac yesterday with pre-installed Pages, Numbers and Keynote. App store says they need updating but won't let me because I've never owned the major version of the software. I have paid like anyone else, so why can't I update?

    You must be signed into the Apple Store with your Apple ID or it won't work.
    and
    How to deal with a 100 Store Error:
    Try here >  Mac App Store: "An unknown error occurred (100)" when purchasing
    If that doesn't help, open the Finder. From the Finder menu bar click Go > Go to Folder
    Type this exactly as you see it here;
    ~/Library/Caches/com.apple.appstore/Cache.db
    Click Go
    Move the Cache.db file to the Trash.
    Now here:
    ~/Library/Preferences/
    Click Go
    Move these files from the Preferences folder to the Trash.
    com.apple.appstore.plist
    com.apple.storeagent.pllist
    Now here:
    ~/Library/Cookies
    Click Go
    Move the com.apple.appstore.plist file from the Cookies folder to the Trash.
    Empty the Trash, try the App Store.

  • Hi , I have an iPhone 5S and I have got a problem with the app store : iI can't update my apps  , it is asking me to change frim the UK store to go to the french one , but i have already changed it and I am in the French one !! Help ! :(

    Hi , I have an iPhone 5S and I have got a problem with the app store : iI can't update my apps  , it is asking me to change frim the UK store to go to the french one , but i have already changed it and I am in the French one !! Help !

    Have you tried signing out of your iTunes & App Store on your device and then back in again - Settings>iTunes & App Store, click on Apple ID, then on Sign Out. Then sign in again and see if it accepts the password.
    If that doesn't resolve the issue,  try resetting your device (nothing will be lost): Hold down the Home and Power buttons at the same time and continue to hold them down until the Apple appears (up to 30 seconds). Once the reset is complete, the Slide to Unlock screen will display. See if the problem is resolved.
    Cheers,
    GB

  • How can I do a multiple record data merge, but specify that a specific text frame with variable data only merges on the first record?

    I'm doing a multiple record data merge, I have 2 frames both with variable data placed inside.
    I would like to specify that one of the text frames only merges once(first record) and the other frame multiple times for each record in the data file.
    Is it possible?
    I thought that perhaps if I place the text frame that must merge once on the master page, it would work.  But you are not allowed to place variable text on the master and on the document page.
    I'm going to try it through scripting next, but thought that perhaps there is an easier way that I'm not aware of.
    Thanks,
    Suzanne

    Suzanne,
    If you were trying to post a screen shot, you would need to return to the forum and post it using the "camera" icon at the top of the post editing windows.
    I use a plug-in from Em Software called InData. One of the benefits for what I do is there are no individual frames on a page to deal with post-merge. Individual frames are great for simple merges (address labels, post cards, etc.). But I typically do more other types of merges.
    That said, there is a drawback--one needs to come to an understanding of writing expressions that actually parse the incoming data. So in the spice price list example, that looks like:
    It's reasonably easy once one does it a few times. And it can be far more complicated. The above is from Em Software's samples that has been tweaked. The best thing I can recommend would be to download the trial and see for yourself. They are good at responding to specific questions if you get stumped.
    I imagine this all could be scripted somehow in ID. But I have no idea how and the plug-in just lets me keep working.
    Mike

  • Captivate 8 Tin Can - problem communicating with the learning record store

    When publishing a course to Tin Can format, what should I enter in the 'Identifier' field?
    If I publish with the default 'Course_ID1' text, I get an error when launching the course on our LMS. Errors says "There was a problem communicating with the learning record store."

    Hello,
    Welcome to Adobe Forums.
    Please share your contact information via [email protected]
    Thanks,
    Vikram Gaur
    Adobe Support

Maybe you are looking for