iprithv commented on PR #15991:
URL: https://github.com/apache/lucene/pull/15991#issuecomment-4412067232

   @iverase Agree the old shape might be hard to follow. I did a small 
refactor, I moved the logic that decides when a FILTER matches the primary sort 
field and we can restrict bulk scoring to a doc id range behind a tiny 
`PrimarySortAlignable` hook plus a helper for `TermQuery`, so the behaviour 
stays the same but the type checks aren’t scattered through 
`FilteredOnPrimaryIndexSortFieldQuery`. Thanks!


-- 
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