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 Mon, Feb 1, 2010 at 1:17 PM, Hayri <volkana...@gmail.com> wrote:
> 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 while writing. Merging
> new index with the old one seems really time
> consuming and also I want to search the new index.
>
> Is it possible? Please give hints...
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to