martijnvg commented on PR #15436:
URL: https://github.com/apache/lucene/pull/15436#issuecomment-3767004723

   > I think maybe the answer here is to skip segment re-sorting if the Sort 
defined on the query is the same as the index sort? Because in that case early 
termination is always going to be fast.
   
   Right, that sounds like a good idea. I think we can just compare the sort 
provided via `IndexSearcher` against the index sort from 
`LeafReader#getMetadata()`?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to