lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aionius <aion...@gmail.com>
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
"hyperspace" 
was found on each of those pages. 

Is this possible in Lucene? 

Any help would be appreciated.


-- 
View this message in context: http://old.nabble.com/Counting-occurrence-of-text-on-a-lucene-index-tp26230903p26230903.html
Sent from the Lucene - Java Developer mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message