Re: AW: AW: Highlighter and Phrase Queries

2008-11-10 Thread Mark Miller
- Von: Mark Miller [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. November 2008 15:38 An: java-user@lucene.apache.org Betreff: Re: AW: Highlighter and Phrase Queries Check out the unit tests for the highlighter and there are a bunch of examples. Its pretty much the same as using the standard

AW: AW: Highlighter and Phrase Queries

2008-11-10 Thread Sertic Mirko, Bedag
Ok, i will do. I guess it will also work with BooleanQueries and combined Term/Wildcard/Phrase Queries? -Ursprüngliche Nachricht- Von: Mark Miller [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. November 2008 15:38 An: java-user@lucene.apache.org Betreff: Re: AW: Highlighter and Phrase

Re: AW: Highlighter and Phrase Queries

2008-11-10 Thread Mark Miller
Check out the unit tests for the highlighter and there are a bunch of examples. Its pretty much the same as using the standard scorer, except that it requires a cached token filter so that the tokenstream can be read more than once. Once you pass in the SpanScorer to the Highlighter though,

AW: Highlighter and Phrase Queries

2008-11-10 Thread Sertic Mirko, Bedag
Hi Thank you for your response. Are there examples available? Regards Mirko -Ursprüngliche Nachricht- Von: Mark Miller [mailto:[EMAIL PROTECTED] Gesendet: Montag, 10. November 2008 14:45 An: java-user@lucene.apache.org Betreff: Re: Highlighter and Phrase Queries Check out the SpanScore