Solr搜索如何开始于+

时间:2019-05-03 05:46:25

标签: search solr

solr搜索如何以'+'符号开始,以'+32498516搜索电话号码,其中电话号码保存在数据库中,例如:+ 32498516141,+ 32498516345

我的关注在这里: 开始于:

+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

在两种情况下,结果中候选人的数量均相同:

0 个答案:

没有答案