lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aionius <>
Subject Counting occurrence of text on a lucene index
Date Fri, 06 Nov 2009 21:35:23 GMT

Good day to all.

I'm trying Lucene and so far I've managed to create an index, query and get
the result. 
I just have some few questions. How can I get the number of occurrences of
the query string
on my index? For example, I'm searching for the word "hyperspace" on my
indices, Lucene 
found it on pages 5, 6, and 8. Now I want to know how many times the word
was found on each of those pages. 

Is this possible in Lucene? 

Any help would be appreciated.

View this message in context:
Sent from the Lucene - Java Developer mailing list archive at

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

View raw message