[ https://issues.apache.org/jira/browse/LUCENE-3219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052390#comment-13052390 ]
Uwe Schindler commented on LUCENE-3219: --------------------------------------- At the end of the day, I am sure I will vote to leave it as it is in 3.x! SortField is heavy-used in Lucene client code and the backwards breaks without very sophisticated backwards layers are horrible to handle. It can be done, but I dont think its worth the work just for code beauty. > Change SortField types to an Enum > --------------------------------- > > Key: LUCENE-3219 > URL: https://issues.apache.org/jira/browse/LUCENE-3219 > Project: Lucene - Java > Issue Type: Improvement > Components: core/search > Reporter: Chris Male > Assignee: Chris Male > Priority: Minor > Attachments: LUCENE-3219.patch, LUCENE-3219.patch, LUCENE-3219.patch, > LUCENE-3219.patch > > > When updating my SOLR-2533 patch, one issue was that the int value I had > given my new type had been used by another change in the mean time. Since we > don't use these fields in a bitset kind of way, we can convert them to an > enum. -- This message is automatically generated by JIRA. 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