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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to