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