RE: dataImportHandler: delta query fetching data, not just ids?

2012-03-29 Thread Dyer, James
r/DataImportHandler#Special_Commands . James Dyer E-Commerce Systems Ingram Content Group (615) 213-4311 -Original Message- From: janne mattila [mailto:jannepostilis...@gmail.com] Sent: Thursday, March 29, 2012 12:45 AM To: solr-user@lucene.apache.org Subject: Re: dataImportHandler: delta query fetc

Re: dataImportHandler: delta query fetching data, not just ids?

2012-03-28 Thread janne mattila
> I'm not sure why deltas were implemented this way.  Possibly it was designed > to behave like some of our object-to-relational libraries?  In any case, > there are 2 ways to do deltas and you just have to take your pick based on > what will work best for your situation.  I wouldn't consider th

RE: dataImportHandler: delta query fetching data, not just ids?

2012-03-28 Thread Dyer, James
Janne, You're correct on how the delta import works. You specify 3 queries: - deletedPkQuery = query should return all "id"s (only) of items that were deleted since the last run. - deltaQuery = query should return all "id"s (only) of items that were added/updated since the last run. - deltaImp

Re: dataImportHandler: delta query fetching data, not just ids?

2012-03-27 Thread janne mattila
How did it work before SOLR-811 update? I don't understand. Did it fetch delta data with two queries (1. gets ids, 2. gets data per each id) or did it fetch all delta data with a single query? On Tue, Mar 27, 2012 at 5:45 PM, Ahmet Arslan wrote: >> 2. If not - what's the reason delta import is im

Re: dataImportHandler: delta query fetching data, not just ids?

2012-03-27 Thread Ahmet Arslan
> 2. If not - what's the reason delta import is implemented > like it is? > Why split it in two queries? I would think having a single > delta query > that fetches the data would be kind of an "obvious" design > unless > there's something that calls for 2 separate queries...? I think this is it? h