lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kent Gibson <>
Subject raw hit count
Date Sat, 29 Nov 2003 23:37:29 GMT
Dear All,

All I would like to know is how many times a query was
found in a particular document. I have no problems
getting the score from hits.score(). hits.length is
the number of times in total that the query was found,
however I want the the number of times the query was
found on a document by document basis. is this
possible? The only idea I have is to rerun the search,
but I can't even see how to run a search on only one

thanks any help would be grand


Do you Yahoo!?
Free Pop-Up Blocker - Get it now

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

View raw message