gsmiller commented on PR #12638: URL: https://github.com/apache/lucene/pull/12638#issuecomment-1753905354
I'd also be curious to better understand the need here. Is it really about making `#docFreq` and `#totalTermFreq` calls safer/easier for callers somehow? It looks like you'll get `IllegalStateException` if you call either of those after instantiating with `needsStats == false`. Is that the bit you're looking to solve here? -- 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