dataImportHandler: delta query fetching data, not just ids?

2012-03-27 Thread janne mattila
It seems that delta import works in 2 steps, first query fetches the ids of the modified entries, then second query fetches the actual data. I am aware that there's a workaround: http://wiki.apache.org/

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-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

Weird memory leak problem with dataimporthandler scheduling

2012-04-03 Thread janne mattila
I have implemented dataimporthandler scheduling based on http://wiki.apache.org/solr/DataImportHandler#Scheduling. It periodically triggers full and delta updates. I'm unpacking the original solr.war, adding a few scheduling-related classes such as ApplicationListener etc (I have modified the examp

Re: Weird memory leak problem with dataimporthandler scheduling

2012-04-03 Thread janne mattila
OK. Just typing out the question fixed it. Changing from post to get: GetMethod method = new GetMethod(completeUrl); removed the errors. The reason, I cannot explain... On Tue, Apr 3, 2012 at 6:46 PM, janne mattila wrote: > I have implemented dataimporthandler scheduling based