how solr search works with starts with+

2019-08-04 23:26发布

问题:

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 :

标签: search solr