> I am currently using lucene 2.4, Time to upgrade?
> is there a way to count how many words from my query hits the post? > > Lets say my query is: > APPLE OR BANANA OR ORANGE > > > The post is: > I have a banana, i love to eat banana and apple > > This case, banana keyword is hit twice and apple is hit once, is there a way > to get the count? I don't think there is an easy way, but the highlighting stuff might be relevant. -- Ian. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org