gf2121 opened a new pull request, #13014: URL: https://github.com/apache/lucene/pull/13014
In #12784 we cache buckets into extra slots in `BytesRefHash` to speed up `BytesRefHash#sort`. This causes an [AssertError](https://lists.apache.org/thread/lxk2lm88twfzdl549974vov1984kj995) for [`TermsQuery`](https://github.com/apache/lucene/blob/c746bea233fd14fe81d9805633fcce0f7b9681b6/lucene/join/src/java/org/apache/lucene/search/join/TermsQuery.java#L68) because it could call `sort` more than once on a `BytesRefHash` instance. Not sure if any other users were relying on this but it would be great to keep consistent with before. -- 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