Note that even though partial updates sounds like what you should do (because only part of your data has changed), unless you are dealing with lots of data, just re-adding everything (if possible) can be plenty fast. So before you write complex code to construct partial updates from your csv files, benchmark to see if it's really a problem. For example, we used to fully import a DB (~800K records) always because it'd take around 5 minutes - there was no need to write a delta system.
On Fri, Jun 21, 2013 at 12:58 AM, smanad <sma...@gmail.com> wrote: > Thanks for confirming. > > So if my input is a csv file, I will need a script to read the "delta" > changes one by one, convert it to json and then use 'update' handler with > that piece of json data. > Makes sense? > > > Jack Krupansky-2 wrote >> Correct, no atomic update for CSV format. There just isn't any place to >> put >> the atomic update options in such a simple text format. >> >> -- Jack Krupansky >> >> -----Original Message----- >> From: smanad >> Sent: Wednesday, June 19, 2013 8:30 PM >> To: > >> solr-user@.apache > >> Subject: Partial update using solr 4.3 with csv input >> >> I was going through this link >> http://solr.pl/en/2012/07/09/solr-4-0-partial-documents-update/ and one of >> the comments is about support for csv. >> >> Since the comment is almost a year old, just wondering if this is still >> true >> that, partial updates are possible only with xml and json input? >> >> Thanks, >> -M >> >> >> >> -- >> View this message in context: >> http://lucene.472066.n3.nabble.com/Partial-update-using-solr-4-3-with-csv-input-tp4071801.html >> Sent from the Solr - User mailing list archive at Nabble.com. > > > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Partial-update-using-solr-4-3-with-csv-input-tp4071801p4071972.html > Sent from the Solr - User mailing list archive at Nabble.com. -- Regards, Shalin Shekhar Mangar.