Hi,

I am using Solr 1.2.0 with a custom compound word analyzer, which inserts the 
decompositions into the token stream. Because I assume that when the user 
queries for a compound word, he is interested only in whole-word matches, I 
have it enabled only in my index analyzer chain.

However, due to a bug in the analyzer (entirely my fault), I came to realize 
that when highlighting is enabled, the highlighter uses the index analyzer 
chain to find the matches, instead of the query analyzer chain.

I find this curious, and I was wondering whether this is intentional, and if 
so, what is the rationale for this?

Best regards
- Christian

Reply via email to