On 12/21/06, Michael McCandless <[EMAIL PROTECTED]> wrote:
I *think* it's really max 2X even with compound file (if no readers)?
Because, in IndexWriter.mergeSegments we:
1. Create the newly merged segment in non-compound format (brings us
up to 2X, when it's the last merge).
2. Commit the new segments(_N) file referencing this new segment (in
non-compound format).
3. Remove all input segments so back to 1X.
Ah ok.. I hadn't realized that steps (2) and (3) were done.
4. Build the compound file (brings us up to 2X).
5. Commit the next segments(_N) file referencing the new segment in
compound format.
6. Delete the non-cfs segment files (back to 1X or less).
-Yonik
http://incubator.apache.org/solr Solr, the open-source Lucene search server
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]