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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]