You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Uwe Schindler (JIRA)" <ji...@apache.org> on 2013/05/10 01:05:22 UTC
[jira] [Updated] (LUCENE-4722) Can we move SortField.Type.SCORE/DOC
to singleton SortField instances instead...?
[ https://issues.apache.org/jira/browse/LUCENE-4722?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler updated LUCENE-4722:
----------------------------------
Fix Version/s: (was: 4.3)
4.4
> 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.4
>
>
> 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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org