Re: Highlighter usage

2010-04-29 Thread Justin
10 4:21:35 PM Subject: Re: Highlighter usage That's the *StandartTokenizer*, which is not at all identical to StandardAnalyzer. From the Javadoc for StandardAnalyzer: Filters StandardTokenizer<http://lucene.apache.org/java/2_4_0/api/org/apache/lucene/analysis/standard/StandardTokenize

Re: Highlighter usage

2010-04-29 Thread Erick Erickson
oken() and stem or is there a better way to use > something like SnowballFilter? > > > > > - Original Message > From: Erick Erickson > To: java-user@lucene.apache.org > Sent: Thu, April 29, 2010 3:30:09 PM > Subject: Re: Highlighter usage > > What analyzer are

Re: Highlighter usage

2010-04-29 Thread Justin
em or is there a better way to use something like SnowballFilter? - Original Message From: Erick Erickson To: java-user@lucene.apache.org Sent: Thu, April 29, 2010 3:30:09 PM Subject: Re: Highlighter usage What analyzer are you using at index time? My guess is something

Re: Highlighter usage

2010-04-29 Thread Erick Erickson
What analyzer are you using at index time? My guess is something like WhitespaceAnalyzer that doesn't stem or change case. Try a different analyzer, SimpleAnalyzer comes to mind HTH Erick On Thu, Apr 29, 2010 at 4:21 PM, Justin wrote: > I'm trying to use Highlighter with QueryScorer aft

Highlighter usage

2010-04-29 Thread Justin
I'm trying to use Highlighter with QueryScorer after reading: https://issues.apache.org/jira/browse/LUCENE-1685 The problem is: I'm not getting a result unless my the query term is an exact match. Am I missing filters? Is there a more complete example of how this should work? String con