lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <>
Subject Re: Only term frequencies
Date Thu, 06 Apr 2017 15:22:53 GMT
See "termfreq" in the function query section of the reference guide.


On Thu, Apr 6, 2017 at 1:02 AM, Manjula Wijewickrema
<> wrote:
> Hi,
> I have a document collection with hundreds of documents. I need to do know
> the term frequency for a given query term in each document. I know that
> 'hit.score' will give me the Lucene score for each document (and it
> includes term frequency as well). But I need to call only term frequencies
> in each document. How can I do this?
> I highly appreciate your kind response.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message