You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:47:32 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 ]
David Smiley updated LUCENE-4722:
---------------------------------
Fix Version/s: (was: 4.7)
4.8
> 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.8
>
>
> 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 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