lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan McV <>
Subject Query Match Count
Date Sun, 08 Aug 2010 04:44:39 GMT
Hello All,

Is there a way to count the number of times a query matched in a particular

For example, say we created a document that had the string "cheese cheese
cheese cheese" in the field that is being searched.
I would like to know that the query "cheese" matched four times in that
particular document. Is there a way to do this?

BTW, I am new to Lucene, so if I have any misconceptions that are apparent
please feel free to correct me.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message