lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Itamar Syn-Hershko <ita...@code972.com>
Subject Re: Why does the FastVectorHighlighter crop words?
Date Thu, 01 Nov 2012 11:56:14 GMT
What analyzer do you use on this field?


On Thu, Nov 1, 2012 at 1:39 PM, Björn Kremer <bkr@patorg.de> wrote:

> Hello,
>
> why does the FastVectorHighlighter crop the result words? At the moment it
> simply does a substring at a given start index. I think it's better to do a
> simple whitespace tokenization and take the next complete token instead of
> a cropped word.
>
> For example. If the real value is "Hans Müller" the FastVectorHighlighter
> may crop the word to "ns Müller". At the moment I'm using the attached code
> to solve my problem.
>
>
> Greetings
> Björn
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message