IndexWriter can flush too early when flushing by RAM usage ----------------------------------------------------------
Key: LUCENE-1197 URL: https://issues.apache.org/jira/browse/LUCENE-1197 Project: Lucene - Java Issue Type: Bug Components: Index Affects Versions: 2.3 Reporter: Michael McCandless Assignee: Michael McCandless Priority: Minor Fix For: 2.4 There is a silly bug in how DocumentsWriter tracks its RAM usage: whenever term vectors are enabled, it incorrectly counts the space used by term vectors towards flushing, when in fact this space is recycled per document. This is not a functionality bug. All it causes is flushes to happen too frequently, and, IndexWriter will use less RAM than you asked it to. To work around it you can simply give it a bigger RAM buffer. I will commit a fix shortly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]