neoremind commented on PR #17022: URL: https://github.com/apache/lucene/pull/17022#issuecomment-7270766873
I'm not sure numTerms is clearer than length. It reads a bit like a synonym of `uniqueTermCount` which already exists. My read is, essentially, it counts term occurrences, not distinct terms. Look at IndexingChain->TermsHashPerField#add, it handles new and already-seen terms separately, but the caller increments length once per token, numTerms is a bit vague capuring the naunces. -- 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]
