I'm using Solr 4 and am confused about updating existing data in an index.
According to the DataImportHandler Wiki:
"delta-import : For incremental imports and change detection run the command `http://:/solr/dataimport?command=delta-import . It supports the same clean, commit, optimize and debug parameters as full-import command."
I know delta-import will find new data in the database and insert it into the index. My problem is how it handles updates where I've got a record that exists in the index and the database, the database record is changed and I want to incorporate those changes in the existing record in the index. IOW I don't want to insert it again.
I've tried this and wound up with 2 records with different key in the index. The first contains the original db values found when the index was created, the 2nd contains the db values after the record was changed. "Greetings. I have a solrj client for fetching data from database. I am using delta-import for fetching data. If a column is changed in database using timestamp with delta-import i get the latest column indexed but there are duplicate values in the index similar to the column but the data is older. This works with cleaning the index but i want to update the index without cleaning it. Is there a way to just update the index with the updated column without having duplicate values. Appreciate for any feedback.