lucene - Solr multicore issue with locking -
the issue have locking on both indexes.
to explain, when constructing embeddedsolrserver server have parse corecontainer , core name , have constructed 2 seperate instances of embeddedsolrserver, 1 each core. (example code):
serverinstanceone.add(document); serverinstancetwo.add(document) // fails obtain lock if serverinstanceone purely targeting core1, why create lock in index of core2? is there way prevent this? or way of forcing server drop lock without shutting downwards each time? i have tried find in solr documentation explanation around behaviour @ loss still. using multicore , have spring batch job, using embeddedsolrserver pump info overnight indexes.
solr lucene solrj
No comments:
Post a Comment