简体   繁体   中英

Searching apostrophe in solr search engine

What should I put in schema.xml Solr when I'm trying to query Oneall, it will get "Oneall Jr and O'neal Jr" Jr.But when I query O'neal it still get "Oneall Jr and O'neal Jr". Does anyone know how to solve this?

您的问题不是很清楚,但我建议您将其放在引号中,以便您的短语而不是术语匹配,例如“ Oneall”

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