Re: Using Threading while Indexing.

2009-01-21 Thread Chris Hostetter
: I was trying to index three sets of document having 2000 articles using : three threads of embedded solr server. But while indexing, giving me : exception ?org.apache.lucene.store.LockObtainFailedException: Lock something doesn't sound right here ... i'm not expert on embeding solr, i think

Re: Using Threading while Indexing.

2009-01-20 Thread oleg_gnatovskiy
I can verify that multithreaded loading using HTTP does work. That's probably the way to go. zayhen wrote: > > Your 3 instances are trying to acquire the physical lock to the index. > If you want to use multi-threaded indexing, I would suggest http > interface, > as Solr will control the reque

Re: Using Threading while Indexing.

2009-01-19 Thread Alexander Ramos Jardim
Your 3 instances are trying to acquire the physical lock to the index. If you want to use multi-threaded indexing, I would suggest http interface, as Solr will control the request queue for you and index as much docs as it can receive from your open threads (resource wise obviously). 2009/1/19 Sa