Extracting span terms using WeightedSpanTermExtractor

2011-07-06 Thread Jahangir Anwari
I have a CustomHighlighter that extends the SolrHighlighter and overrides the doHighlighting() method. Then for each document I am trying to extract the span terms so that later I can use it to get the span Positions. I tried to get the weightedSpanTerms using WeightedSpanTermExtractor but was unsu

Re: Extracting span terms using WeightedSpanTermExtractor

2011-07-07 Thread Jahangir Anwari
default greater > than 0. > > - Mark Miller > lucidimagination.com > > > On Jul 6, 2011, at 5:34 PM, Jahangir Anwari wrote: > > > I have a CustomHighlighter that extends the SolrHighlighter and overrides > > the doHighlighting() method. Then for e

Re: Extracting span terms using WeightedSpanTermExtractor

2011-07-08 Thread Jahangir Anwari
nSpan() { return start; } } -Jahangir On Fri, Jul 8, 2011 at 2:47 AM, Mark Miller wrote: > > On Jul 7, 2011, at 5:14 PM, Jahangir Anwari wrote: > > > I did noticed a strange issue though. When the query is just a > > PhraseQuery(e.g. "everlasting glory"), getWei