It's not a problem, but it's best to share the underlying reader. You
could open your short-lived searcher by getting a reader
via getIndexReader() on your long-lived searcher....

What's the underlying use-case you're trying to make happen?

Best
Erick

On Fri, Dec 31, 2010 at 8:01 PM, Paul Libbrecht <p...@hoplahup.net> wrote:

>
> Hello list,
>
> is it a good or bad thing to open to index-searchers on FSDirectories of
> the same path?
>
> (namely, one short-lived, one long-lived).
>
> thanks in advance
>
> paul
> ---------------------------------------------------------------------
> 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