You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Ross Woolf (JIRA)" <ji...@apache.org> on 2013/08/12 18:46:47 UTC

[jira] [Created] (LUCENE-5167) SimilarityBase does not pass docId in the score method for use of FieldCache or DocValues

Ross Woolf created LUCENE-5167:
----------------------------------

             Summary: SimilarityBase does not pass docId in the score method for use of FieldCache or DocValues
                 Key: LUCENE-5167
                 URL: https://issues.apache.org/jira/browse/LUCENE-5167
             Project: Lucene - Core
          Issue Type: Bug
          Components: core/query/scoring
    Affects Versions: 4.3.1, 4.4, 4.2, 4.1, 4.0
            Reporter: Ross Woolf


SimilarityBase does not pass docId in the score method for use of FieldCache or DocValues.

If the intent of extending SimilarityBase is to use a FieldCache or NumericDocValuesField as part of the scoring, this is not possible because SimilarityBase does not pass on the docId as one of the parameters of the score method.  This parameter should be added to the score method so that fieldCache or NumericDocValues can be used when extending SimilarityBase.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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