David Smiley created LUCENE-4553:
------------------------------------

             Summary: Don't require users to call Sort.rewrite()
                 Key: LUCENE-4553
                 URL: https://issues.apache.org/jira/browse/LUCENE-4553
             Project: Lucene - Core
          Issue Type: Improvement
          Components: core/search
            Reporter: David Smiley
            Priority: Minor


I was looking at a call to Sort.rewrite() in some code that uses Lucene and it 
struck me as a little curious.  It appears similar in spirit to Query.rewrite() 
yet user code never calls Query.rewrite(), Lucene will call that one.  
Shouldn't Sort/SortField rewrite() work the same way?  There's nothing to 
remind you right now to call rewrite(), no javadoc mention even.

--
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to