DIH Updating

2009-12-07 Thread Lee Smith
Hello All Sorry newbie Q. Im looking at using the Data Import Handler to add my data to solr. But I am a little confused how I go about updating the index. I understand there is no update index so just a delete replace but how will solr know what to remove and add ? Also hope someone

Re: DIH Updating

2009-12-07 Thread Erick Erickson
The short form is that you must provide and identify a unique key (analogous to a database PK). See http://wiki.apache.org/solr/UniqueKey http://wiki.apache.org/solr/UniqueKeyThere's an example here: http://wiki.apache.org/solr/DataImportHandler http://wiki.apache.org/solr/DataImportHandlerBut