yugushihuang opened a new issue, #12617: URL: https://github.com/apache/lucene/issues/12617
### Description When we build TermStates we pass a flag needStats to determine if we want to front loading all term statistics, however, we did not have easy access to know if this flag has been set to true or not. This will just be a simple PR that add an api to check if the term is not null. -- 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.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