lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Organisciak <>
Subject Total Freq for Bigrams, Trigrams, etc.
Date Tue, 02 Dec 2014 20:38:54 GMT
It is possible to get a total corpus frequency for bigram queries or
higher? i.e. How many times does the query occur in the corpus.

I'm looking to implement a count of occurrences per million terms. I know
for a single term I can use  `TermsEnum.totalTermFreq()`, is there any
comparable way to do so for a bigram or other simple query?

Thank you,


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message