Everytime segments are merged, the segment counter (based on an index number 
which is zero based) is incremented by one to name the index files.



>From: "Hyong Ko" Reply-To: "Lucene Users List" To: 
>[EMAIL PROTECTED] Subject: segment count Date: Thu, 30 May 
>2002 17:52:57 +0000
>
>I added a segment using IndexWriter.addDocument. Then I called 
>IndexWriter.optimize (IndexWriter.close works too) to generate index files 
>to do a search. Then I added another segment using IndexWriter.addDocument. 
>The total segment count should be 2, but instead it's 3. Any ideas? Is this 
>the right way to index and search concurrently? Thanks.
>
>
>
>
>_________________________________________________________________ Join the 
>world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com
>
>
>--
>To unsubscribe, e-mail:
>
>For additional commands, e-mail:
>

_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail. 
http://www.hotmail.com


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

Reply via email to