On Mon, Jul 29, 2024 at 3:51 PM Michael Froh <msf...@gmail.com> wrote:
>
> Hi David,
>
> Great meeting you at Buzzwords last month!

Nice seeing you too!

...
> Adding an overload to IndexWriter.getReader would be pretty easy, but that 
> method is package-private. The hairier part probably involves deciding which 
> open/openIfChanged methods to overload in DirectoryReader, since I think 
> that's where the parameter would ultimately need to be exposed to users.

Yes.

Admittedly this isn't something I'm actively seeking right now.  I was
motivated by Solr's code that has a "realtime" searcher distinction
internally, in which we try to open a searcher ASAP..  However I
discovered that in practice there is no practical distinction since
the regular searcher is almost always the same, thus opening searchers
sometimes faster isn't worth it.

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

Reply via email to