You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Ali Nabavi <al...@alijnabavi.info> on 2012/10/19 18:41:45 UTC
Highlighter isn't highlighting what is matched in query analyzer
Hi, all.
The content I'm trying to index contains dollar signs that should be
indexed and matched, e.g., "$1".
I've set up my schema to index the dollar sign, and am able to successfully
match it with the query analyzer; searching for "$1" matches "$1".
However, the highlighter doesn't seem to recognize the dollar sign. When I
submit a query for "$1", the results do contain highlighted results, but
the highlights appear like "$<em>1</em>"; the dollar sign is not
highlighted.
How can I ensure that the highlighter will highlight the entirety of what
is matched in the query analyzer tool?
-Ali