how solr search works with starts with+

僤鯓⒐⒋嵵緔 提交于 2019-12-13 18:09:15

问题


How solr search works with starts with '+' symbol, search phone number with '+32498516 where phone number saved in database like: +32498516141,+32498516345

My Concern here : Start with:

+32498516

q=cellPhone%3A%28%28%2B32498516*%29%29&start=0&rows=1048577&fl=firstName,lastName,indexType,userExtKey,resumeId,externalId,shareProfile,candidateId,publicIntranetNR,userId,id,score&fq=indexType%3ACANDIDATE+AND+%28shareProfile%3Atrue+OR+country%3AUS%29

32498516
q=cellPhone%3A%28%2832498516*%29%29&start=0&rows=1048577&fl=firstName,lastName,indexType,userExtKey,resumeId,externalId,shareProfile,candidateId,publicIntranetNR,userId,id,score&fq=indexType%3ACANDIDATE+AND+%28shareProfile%3Atrue+OR+country%3AUS%29

In Both cases getting same number of candidate in result :

来源:https://stackoverflow.com/questions/55963900/how-solr-search-works-with-starts-with

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!