You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2011/01/10 22:17:48 UTC

[jira] Updated: (LUCENE-2857) Fix various problems with PulsingCodec

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

Michael McCandless updated LUCENE-2857:
---------------------------------------

    Attachment: LUCENE-2857.patch

Patch.  I changed PulsingCodec to:

  * Not use absurd RAM when cloning TermState

  * Don't decode the byte[] entry in the terms dict until docs/positions enum is needed

  * Use total TF (number of term positions across all docs) as the
    threshold for storing in terms dict vs wrapped codec

This fixes the intermittent failure in
TestIndexWriterOnJRECrash.testNRTThreads that we've seen lately.


> Fix various problems with PulsingCodec
> --------------------------------------
>
>                 Key: LUCENE-2857
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2857
>             Project: Lucene - Java
>          Issue Type: Improvement
>          Components: Codecs
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>             Fix For: 4.0
>
>         Attachments: LUCENE-2857.patch
>
>


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