In your first attempt, the crux of your problem was probably that you were 
never closing the searcher/reader.

: Or how can I perform a query on the current state of the index from within an
: UpdateProcessor?

If you implement UpdateRequestProcessorFactory, the getInstance method is 
given the SolrQueryRequest, which you cna use to access the current 
SolrIndexSearcher.

this will only show you the state of the index as of the last commit, so 
it won't be real time as you are streaming new documents, but if will give 
you the same results as a search query happening concurrent to your 
update.


-Hoss

Reply via email to