lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anson Lau" <a...@fulfil-net.com>
Subject a list of matching search term
Date Tue, 01 Jun 2004 07:20:29 GMT
Hi All,

Eg. Lets say someone do a search on the terms 'apple orange banana'.

In the search results, is it possible to find out for each hit, which of
those terms did match?

Ie. The document with the highest score has all three words so the matching
terms are all of those words.

A lesser document may only have 'apple' and 'orange' inside it.  So the
matching terms will be 'apple' and 'orange'.


Thanks,

Anson


---------------------------------------------------------------------
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