mikemccand commented on PR #13014: URL: https://github.com/apache/lucene/pull/13014#issuecomment-1910518411
Thanks for finding/fixing this @gf2121! > because it could call `sort` more than once on a `BytesRefHash` instance Hmm -- that sounds buggy (on `TermsQuery` part)? Shouldn't callers be prevented from calling `.sort()` more than once (I think it is a destructive operation?). Or at least let's fix `TermsQuery` to not do this? -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org