gsmiller opened a new pull request, #12173: URL: https://github.com/apache/lucene/pull/12173
### Description `TermInSetQuery#getTermData` is effectively leaking our internal encoding of the query terms, which will prevent us from changing this in the future if we want to. Nothing in our code relies on this right now, and I think we ought to remove it. If users really need to get the terms, they can keep track of them (they provide them in the first place) in whatever encoding they like. If there's really a need to go beyond this, we could expose some sort of `Iterator<BytesRef>` method. But let's stop exposing the `PrefixCodedTerms` instance directly. **Note**: I will remove the method completely on `main` but mark deprecated on `9x` as this PR demonstrates. -- 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]
