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
I am trying to write my own custom UpdateHandler that extends
DirectUpdateHandler2.
I would like to be able to query the current state of the index within
the addDoc method. How would I be able to accomplish this?
I tried something like the following but it was a big fat fail as it
quickly
Or how can I perform a query on the current state of the index from
within an UpdateProcessor?
Thanks
On 2/25/11 6:30 AM, Mark wrote:
I am trying to write my own custom UpdateHandler that extends
DirectUpdateHandler2.
I would like to be able to query the current state of the index within