lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley" <ysee...@gmail.com>
Subject Re: Gdata - opening/closing index
Date Sun, 23 Jul 2006 18:56:09 GMT
> Now the question is how does the indexer handle this? I could
> index into a second index while the first index used for searching.

That's not necessary.  You can open an IndexSearcher for doing
searches, and go ahead and add documents directly to the same index.
The operations are not exclusive, it's just that changes won't be
visible until you close the IndexWriter and open a new IndexSearcher.

-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server

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


Mime
View raw message