lucenenet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Björn Kremer <...@patorg.de>
Subject Why does the FastVectorHighlighter crop words?
Date Thu, 01 Nov 2012 11:39:19 GMT
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/mixed (inline, None, 0 bytes)
View raw message