Re: Syncing 'delta-import' with 'select' query

2010-12-20 Thread Juan Manuel Alvarez
Oops! That seems to be the problem, since I am using 1.4. Thanks! Juan M. On Tue, Dec 14, 2010 at 8:40 PM, Alexey Serba wrote: > What Solr version do you use? > > It seems that sync flag has been added to 3.1 and 4.0 (trunk) branches > and not to 1.4 > https://issues.apache.org/jira/browse/SOLR-

Re: Syncing 'delta-import' with 'select' query

2010-12-14 Thread Alexey Serba
What Solr version do you use? It seems that sync flag has been added to 3.1 and 4.0 (trunk) branches and not to 1.4 https://issues.apache.org/jira/browse/SOLR-1721 On Wed, Dec 8, 2010 at 11:21 PM, Juan Manuel Alvarez wrote: > Hello everyone! > I have been doing some tests, but it seems I can't m

Re: Syncing 'delta-import' with 'select' query

2010-12-08 Thread Juan Manuel Alvarez
Hello everyone! I have been doing some tests, but it seems I can't make the synchronize flag work. I have made two tests: 1) DIH with commit=false 2) DIH with commit=false + commit via Solr XML update protocol And here are the log results: For (1) the command is "/solr/dataimport?command=delta-im

Re: Syncing 'delta-import' with 'select' query

2010-12-06 Thread Juan Manuel Alvarez
Thanks for all the help! It is really appreciated. For now, I can afford the parallel requests problem, but when I put synchronous=true in the delta import, the call still returns with outdated items. Examining the log, it seems that the commit operation is being executed after the operation retur

Re: Syncing 'delta-import' with 'select' query

2010-12-06 Thread Alexey Serba
> When you say "two parallel requests from two users to single DIH > request handler", what do you mean by "request handler"? I mean DIH. > Are you > refering to the HTTP request? Would that mean that if I make the > request from different HTTP sessions it would work? No. It means that when you h

Re: Syncing 'delta-import' with 'select' query

2010-12-06 Thread Juan Manuel Alvarez
Alex: Thanks for the quick reply. When you say "two parallel requests from two users to single DIH request handler", what do you mean by "request handler"? Are you refering to the HTTP request? Would that mean that if I make the request from different HTTP sessions it would work? Cheers! Juan M.

Re: Syncing 'delta-import' with 'select' query

2010-12-06 Thread Alexey Serba
Hey Juan, It seems that DataImportHandler is not a right tool for your scenario and you'd better use Solr XML update protocol. * http://wiki.apache.org/solr/UpdateXmlMessages You still can work around your outdated GUI view problem with calling DIH synchronously, by adding synchronous=true to you

Syncing 'delta-import' with 'select' query

2010-12-03 Thread Juan Manuel Alvarez
Hello everyone! I would like to ask you a question about DIH. I am using a database and DIH to sync against Solr, and a GUI to display and operate on the items retrieved from Solr. When I change the state of an item through the GUI, the following happens: a. The item is updated in the DB. b. A del