The answer to all 3 is yes, but, you'll have to re-open your IndexReader to see any of those changes.

An IndexReader always searches the "point in time" snapshot of the index as of the moment it was opened.

Any & all changes done with an IndexWriter (including opening a new index in the directory with create=true) will not be visible to any already open IndexReader.

Mike

<[EMAIL PROTECTED]> wrote:

Hi,

I have some questions about indexing:

1. Is it possible to open indexes with Multireader+IndexSearcher and add
documents to these indexes simultaneously?
2. Is it possible to open indexes with Multireader+IndexSearcher and
optimize these indexes simultaneously?
3. Is it possible to open indexes with Multireader+IndexSearcher and merge
these indexes simultaneously?

Thank you.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to