lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (LUCENE-4787) The QueryScorer.getMaxWeight method is not found.
Date Thu, 09 Jun 2016 14:19:21 GMT

     [ https://issues.apache.org/jira/browse/LUCENE-4787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Adrien Grand resolved LUCENE-4787.
----------------------------------
       Resolution: Fixed
    Fix Version/s: 6.2
                   master (7.0)

Merged, thanks (and sorry for the delay)!

> The QueryScorer.getMaxWeight method is not found.
> -------------------------------------------------
>
>                 Key: LUCENE-4787
>                 URL: https://issues.apache.org/jira/browse/LUCENE-4787
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/highlighter
>    Affects Versions: 4.1
>            Reporter: Hao Zhong
>            Priority: Critical
>             Fix For: master (7.0), 6.2
>
>         Attachments: LUCENE-4787.patch
>
>
> The following API documents refer to the QueryScorer.getMaxWeight method:
> http://lucene.apache.org/core/4_1_0/highlighter/org/apache/lucene/search/highlight/package-summary.html
> "The QueryScorer.getMaxWeight method is useful when passed to the GradientFormatter constructor
to define the top score which is associated with the top color."
> http://lucene.apache.org/core/4_1_0/highlighter/org/apache/lucene/search/highlight/GradientFormatter.html
> "See QueryScorer.getMaxWeight which can be used to calibrate scoring scale"
> However, the QueryScorer class does not declare a getMaxWeight method in lucene 4.1,
according to its document:
> http://lucene.apache.org/core/4_1_0/highlighter/org/apache/lucene/search/highlight/QueryScorer.html
> Instead, the class declares a getMaxTermWeight method. Is that the correct method in
the preceding two documents? If it is, please revise the two documents. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message