lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller (JIRA)" <j...@apache.org>
Subject [jira] Commented: (LUCENE-1357) SpanScorer does not respect ConstantScoreRangeQuery setting
Date Tue, 19 Aug 2008 21:53:44 GMT

    [ 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


Mime
View raw message