hourback
hourback

Reputation: 1170

Highlighter isn't highlighting what is matched in query analyzer

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?

Upvotes: 0

Views: 134

Answers (1)

hourback
hourback

Reputation: 1170

ACK! The problem was that after tuning one of my fields just right, I was still highlighting the old, un-tuned field. It appears that Solr is doing what I expect it to do now.

Upvotes: 0

Related Questions