[ https://issues.apache.org/jira/browse/LUCENE-3505?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Muir updated LUCENE-3505: -------------------------------- Attachment: LUCENE-3505_3x.patch Here's a patch for 3.x: all tests pass (but i didnt try with java5 yet). I only did the fixes for BooleanScorer2, realistically thats the only way you can use this API in 3.x, so the patch is pretty contained. > BooleanScorer2.freq() doesnt work unless you call score() first. > ---------------------------------------------------------------- > > Key: LUCENE-3505 > URL: https://issues.apache.org/jira/browse/LUCENE-3505 > Project: Lucene - Java > Issue Type: Bug > Reporter: Robert Muir > Fix For: 4.0, 5.0, 3.6.2 > > Attachments: LUCENE-3505.patch, LUCENE-3505.patch, LUCENE-3505.patch, > LUCENE-3505.patch, LUCENE-3505.patch, LUCENE-3505.patch, LUCENE-3505.patch, > LUCENE-3505.patch, LUCENE-3505_3x.patch > > > its 0, the freq() is then calculated as a side effect of score()... we should > at least document this or throw UOE for freq() instead. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org