Michael McCandless created LUCENE-4722:
------------------------------------------

             Summary: Can we move SortField.Type.SCORE/DOC to singleton 
SortField instances instead...?
                 Key: LUCENE-4722
                 URL: https://issues.apache.org/jira/browse/LUCENE-4722
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: Michael McCandless
             Fix For: 4.2, 5.0


It's ... weird that you can do eg new SortField("myfield", 
SortField.Type.SCORE).

We already have dedicated SortField.FIELD_SCORE and FIELD_DOC ... so I think 
apps should use those and never make a new SortField for them?

--
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