Thanks Mark, I got the latest Contrib bits for Highlighter.net (Jan 28/2008 Version 2.3.2) but it looks similar to the older 2.0.0
There is a QueryScroer only. Any ideas? (Really important to me :) Ian On Sat, Feb 14, 2009 at 11:56 PM, Mark Miller <markrmil...@gmail.com> wrote: > Sorry, I wasn't specific enough. I meant the SpanScorer in the contrib > highlighter package - they are very different. > > I assume the latest Highlighter package has been ported to Lucene .NET, but > if not I know of a guy that ported the SpanScorer stuff > to C# a while back. I might be able to get my hands on that still, though > it may be dated now. First check the highlighter contrib > and see if its there though. > > - Mark > > > Ian Vink wrote: > >> I use the Lucene.NET implementation. (2.3) >> There is a Lucene.Net.Search.Spans.SpanScorer class, but it's not public I >> assume I'd have to use it as a base class for my own. >> >> Do you have a simple example on how, in Java, to use the SpanScorer to get >> a >> highlighter to return only fragments that are part of the phrase in the >> Query? >> >> Ian >> >> >> >> On Mon, Dec 8, 2008 at 8:28 AM, Mark Miller <markrmil...@gmail.com> >> wrote: >> >> >> >>> Ian Vink wrote: >>> >>> >>> >>>> Is there a way to get phrases counted in the list of fragments that come >>>> back from Highlighter.GetBestFragments() in general. >>>> It seems to only take words into account. >>>> >>>> Ian >>>> >>>> >>>> >>>> >>>> >>> Not sure I fully understand, but have you tried the SpanScorer? It allows >>> the Highlighter to work with phrase/span queries. >>> >>> - Mark >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org >>> For additional commands, e-mail: java-user-h...@lucene.apache.org >>> >>> >>> >>> >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > >