简体   繁体   中英

Solr highlighting text in ™ while searching for “trade”

In my application, when I search for keyword "trade", Solr highlighting this text in HTML special char '™'.

Example: Text before highlight: Samsung Galaxy&trade; S4 Text after highlight: Samsung Galaxy&<em>trade</em>; S4

How to avoid this problem and also I don't' want to index this text in case of '™'.

Please suggest me.

Thank You.

您是否可以完全跳过索引“™”?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM