: 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 perhaps you aren't embedding solr the recommended way .. if you were 
then there would be only one SolrCore for your index, and only one 
IndexWriter -- all of your threads would then interate with this one 
(fully thread safe) SolrCore.

It sounds like you are constructing seperate objects (i forget which one 
it is you construct when embedding) in each thread and winding up with 
multiple SorlCores all competing for write access to the same index.


-Hoss

Reply via email to