Hi,

Are you using any kind of NGram tokenizer?
At first I'd have said it is caused by stemming, but since it's not like the
stem and it's derived word are being highlighted, it's more like parts of it
are...

If you use NGram or EdgeNGram this will generate tokens for each part of the
word (the size of the token is configurable).

If you're not using that my second guess is that the term is being truncated
somehow.

If you could provide some more info about this case it would be better....

On Fri, Oct 21, 2011 at 4:49 AM, docmattman <mattpale...@live.com> wrote:

> I have highlighting on in query.  If I do a search for "Apple", it will
> highlight "Appl".  If I do a search for "deleted" it will highlight
> "delet",
> "agreed" will highlight "agre".  How can I get it to highlight the full
> term
> that I'm searching for and not leave off certain letters?
>
> I'm pretty new to Solr, so please let me know if there is any additional
> information needed to assist me with this problem.
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Highlighting-misses-some-characters-tp3439778p3439778.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Dirceu Vieira JĂșnior
-------------------------------------------------------------------
+47 9753 2473
dirceuvjr.blogspot.com
twitter.com/dirceuvjr

Reply via email to