lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Muir (JIRA)" <j...@apache.org>
Subject [jira] [Created] (LUCENE-5500) SortingMergePolicy should error if the Sort refers to the score
Date Fri, 07 Mar 2014 14:42:42 GMT
Robert Muir created LUCENE-5500:
-----------------------------------

             Summary: SortingMergePolicy should error if the Sort refers to the score
                 Key: LUCENE-5500
                 URL: https://issues.apache.org/jira/browse/LUCENE-5500
             Project: Lucene - Core
          Issue Type: Bug
            Reporter: Robert Muir


It should throw an exception if Sort.needsScores() == true. This does not make sense at index-time.

I think there is no reason for this method to be package-private either (as its just useful
sugar, it loops over each SortField and checks needsScores).



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message