lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael McCandless (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (LUCENE-1197) IndexWriter can flush too early when flushing by RAM usage
Date Fri, 29 Feb 2008 12:42:56 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-1197?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Michael McCandless resolved LUCENE-1197.
----------------------------------------

    Resolution: Fixed

> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message