lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: How to use search index while indexing
Date Mon, 01 Feb 2010 14:32:26 GMT
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 <volkanagun@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-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

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


Mime
View raw message