Re: [Solr Event Listener plug-in] Execute query search from SolrCore - Java Code

2012-01-05 Thread Chris Hostetter
: I have tried to open a new searcher and make a forced commit inside the : postCommit method of the listener, but it caused many issues. : How can I complete the commit and then call the postCommit method of the : listener with the logic inside ( with a lot of queries on the last : committed docs

Re: [Solr Event Listener plug-in] Execute query search from SolrCore - Java Code

2011-12-30 Thread Alessandro Benedetti
I have tried to open a new searcher and make a forced commit inside the postCommit method of the listener, but it caused many issues. How can I complete the commit and then call the postCommit method of the listener with the logic inside ( with a lot of queries on the last committed docs)? Cheers

Re: [Solr Event Listener plug-in] Execute query search from SolrCore - Java Code

2011-12-30 Thread Alessandro Benedetti
Ok, I have made progresses, I built my architecture and I execute queries , inside the "PostCommit" method, and they are launched as i want. But The core can't see the early updated documents and the commit ends after than the "postCommit" method has ended!! But i have to see the early updated docu

[Solr Event Listener plug-in] Execute query search from SolrCore - Java Code

2011-12-29 Thread Alessandro Benedetti
Hi guys, I'm developing a custom SolrEventListener, and inside the PostCommit() method I need to execute some queries and collect results. In my SolrEventListener class, I have a SolrCore Object( org.apache.solr.core.SolrCore) and a list of queries (Strings ). How can I use the SolrCore to optimal