lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill Taylor <>
Subject Re: Storing no. of occurances of a token
Date Wed, 13 Sep 2006 13:45:31 GMT

On Sep 13, 2006, at 3:39 AM, Paul Elschot wrote:

> On Wednesday 13 September 2006 09:30, Venkateshprasanna wrote:
>> Is it possible for me to store the number of occurances of a token in 
>> a
>> particular document or a collection of documents?
> When the token is indexed as a term, an IndexReader provides
> access to the total number of documents containing the term,
> and to the number of times the term occurs in each document.

I found out how to determine the number of documents in which a term 
appeared by looking at the Luke code, but how does one determine the 
number of times it occurs in each document?

> The total number of term occurrences over all indexed documents
> is not present a Lucene index.

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

View raw message