lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sertic Mirko, Bedag" <Mirko.Ser...@bedag.ch>
Subject AW: Highlighter and Phrase Queries
Date Mon, 10 Nov 2008 14:33:21 GMT
Hi

Thank you for your response.
Are there examples available?

Regards
Mirko

-----Urspr√ľngliche Nachricht-----
Von: Mark Miller [mailto:markrmiller@gmail.com] 
Gesendet: Montag, 10. November 2008 14:45
An: java-user@lucene.apache.org
Betreff: Re: Highlighter and Phrase Queries

Check out the SpanScorer.

- Mark


On Nov 10, 2008, at 8:25 AM, "Sertic Mirko, Bedag" <Mirko.Sertic@bedag.ch 
 > wrote:

> Hi@all
>
>
>
> I am searching for a solution to make the Highlighter run property in
> combination with phrase queries.
>
>
>
> I want to highlight text with a phrase query like "windows  
> printserver",
> the following highlighted:
>
>
>
> "windows printservers" are good blah blah "windows" manages
> "printserver" blah blah, so the phrases
>
> and the single terms are highlighted, but I just want to highlight the
> phrases. How could this be done?
>
>
>
> Thanks in advance
>
>
>
> Mirko
>
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message