lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kent Gibson <kentgib...@yahoo.com>
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
document! 

thanks any help would be grand

kent


__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/

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


Mime
View raw message