I'm not sure that I understand the question. Can you not use a
searcher based on the reader returned by IndexWriter.getReader() to
determine if the doc is already in the index?
Or just use IndexWriter.updateDocument to save or replace as appropriate.
--
Ian.
On Tue, Feb 2, 2010 at 12:21 PM, Ha
Ian Lea wrote:
Sounds like a job for near realtime search aka NRT.
Take a look at IndexWriter.getReader().
http://wiki.apache.org/lucene-java/NearRealtimeSearch
http://www.lucidimagination.com/blog/2009/04/10/real-time-search-with-lucene/
And more with the help of your favourite search engine.
Sounds like a job for near realtime search aka NRT.
Take a look at IndexWriter.getReader().
http://wiki.apache.org/lucene-java/NearRealtimeSearch
http://www.lucidimagination.com/blog/2009/04/10/real-time-search-with-lucene/
And more with the help of your favourite search engine.
--
Ian.
On Mo
Hi,
I want to search an index and at the same time continue to my indexing.
ParallelReader doesn't solve my problem.
It is obvious that I am not searching multiple indexes at the same time.
How can I build a document based lock, more over
I don't want to open and close and index every time whil