You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Robert Muir (Created) (JIRA)" <ji...@apache.org> on 2011/10/11 03:26:29 UTC
[jira] [Created] (LUCENE-3505) BooleanScorer2.freq() doesnt work
unless you call score() first.
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
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-3505) BooleanScorer2.freq() doesnt work
unless you call score() first.
Posted by "Robert Muir (Updated) (JIRA)" <ji...@apache.org>.
[ 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.patch
here's a start to a patch of cleaning up all this Scorer.freq/getChildren stuff.
currently we have lots of missing implementations.
Needs tests... but existing ones do still pass.
> 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
> Attachments: LUCENE-3505.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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Updated] (LUCENE-3505) BooleanScorer2.freq() doesnt work
unless you call score() first.
Posted by "Robert Muir (JIRA)" <ji...@apache.org>.
[ 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.patch
patch brought up to trunk. still doesnt have any tests.
> 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
> Attachments: LUCENE-3505.patch, LUCENE-3505.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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org