lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Reader reopen
Date Tue, 03 Jun 2014 10:37:55 GMT
Sure, just use DirectoryReader.openIfChanged.

Mike McCandless

http://blog.mikemccandless.com


On Tue, Jun 3, 2014 at 6:36 AM, Gergő Törcsvári
<torcsvari.gergo@gmail.com> wrote:
> Hello,
>
> If I have an AtomicReader, and an IndexSearcher can I reopen the index to
> get the new documents?
> Like there:
> http://lucene.apache.org/core/3_0_3/api/all/org/apache/lucene/index/IndexReader.html#reopen%28%29
> There is any workaround?
>
> Thanks,
> Gergő
>
> P.S.: I accidentaly send this to general list too. Sorry for that.

---------------------------------------------------------------------
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