[Top] [All Lists]

Re: Matching query terms

Subject: Re: Matching query terms
From: "Wouter Heijke"
Date: Mon, 23 Mar 2009 13:32:00 +0100 CET
i came across that one, only the java doc says that it is expensive so I
was hoping for a less expensive solution...


> searcher.explain definitely seems to do the trick, going through the
> sub-queries.
> paul
> Le 23-mars-09 à 13:12, Wouter Heijke a écrit :
>> I want to know for each term in a query if it matched the result or
>> not.
>> What is the best way to implement this?
>> Highlighter seems to be able to do the trick only that I don't need to
>> 'highlight' any text. After knowing if terms in the query matched I
>> want
>> do do something else based on this.

To unsubscribe, e-mail: java-user-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>