lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
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.

Best,
Erick

On Thu, Apr 6, 2017 at 1:02 AM, Manjula Wijewickrema
<manjula53@gmail.com> 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: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message