lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: How to retrieve the terms that matched
Date Wed, 14 Apr 2004 12:48:39 GMT
Have a look at the Highlighter code that lives in the Lucene sandbox.  
It is a new addition there, but has been available for some time from 
the creators website.  I'm not sure if this will give you the 
information you need directly, but it would be a start.

	Erik


On Apr 14, 2004, at 8:27 AM, David Thibau wrote:

> Perharps a silly question, but ...
>
> I do not find the way to retrieve the matched terms of a found 
> document.
> Indeed, We construct a Lucene query searching on different fields with 
> OR clause
> and we want to display to the user for each result the term(s) which 
> have
> matched.
> Is it possible with the Lucene API ?
>
> Thanks in advance
> David THIBAU
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-user-help@jakarta.apache.org


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