You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2008/08/19 23:53:44 UTC

[jira] Commented: (LUCENE-1357) SpanScorer does not respect ConstantScoreRangeQuery setting

    [ https://issues.apache.org/jira/browse/LUCENE-1357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623820#action_12623820 ] 

Mark Miller commented on LUCENE-1357:
-------------------------------------

Well this is annoying - the test for this counted on the setting being on - which was what the bug was - the setting was always on. But the fix is not so simple - the setting actually needs to be set before the constructor. I don't like the lazy load option for a few reasons, and that leaves dropping the setter, getter and adding new constructors (there are already too many), or just making the accessor methods static and docing so that users know to call the setter first and that its a global setting.  I am leaning towards making the methods static and global as the best option with the least amount of changes.

> SpanScorer does not respect ConstantScoreRangeQuery setting
> -----------------------------------------------------------
>
>                 Key: LUCENE-1357
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1357
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/highlighter
>            Reporter: Mark Miller
>            Assignee: Mark Miller
>            Priority: Minor
>             Fix For: 2.4
>
>
> ConstantScoreRangeQuery is actually on and can't be disabled when it should default to off with the option to turn it on.

-- 
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