Re: Lucene updateDocument does not affect index until restarting solr

2015-04-15 Thread Ali Nazemian
Dear Chris, Hi, Thank you for your response. Actually I implemented a small code for the purpose of extracting article keywords out of Lucene index on commit, optimize or calling the specific query. I did implement that using search component. I know that the searchComponent is not for the purpose

Re: Lucene updateDocument does not affect index until restarting solr

2015-04-15 Thread Chris Hostetter
the short answer is that you need something to re-open the searcher -- but i'm not going to go into specifics on how to do that because... You are dealing with a VERY low level layer of the lucene/solr code stack -- w/o more details on why you've written this particular bit of code (and where