GET candidates1/candidate/_search
{
"fields": ["contactInfo.emails.main"],
"query": {
"bool": {
"must": [
{
"match": {
"contactInfo.emails.main": "com"
}
}
]
}
}
}
GET candidates1/candidate/_search
{
"size": 5,
"fields": [
"contactInfo.emails.main"
],
"query": {
"match": {
"contactInfo.emails.main": "com"
}
}
}
안녕, 내가 [ '[email protected]', 'arelysf456 @ gmai1 같은 결과를 얻고있다 위의 쿼리를 사용하고 있습니다 .com ','[email protected] ']와 같은 이메일을받지 못했습니다. ['[email protected] ','[email protected] ','[email protected] ']고무줄 검색 이메일 검색 불일치 사용하여 COM
그러나 "gmail.com"과 일치하는 쿼리를 사용할 때 gmail.com을 사용하는 결과가 표시됩니다.
제 질문은 첫 번째 쿼리에서 "com"을 사용하고있을 때 gmail.com에 "com"이있는 것으로 예상되는 결과입니다. 그러나 그것은 일어나지 않습니다.
참고 : 우리는 거의 2 백만 개의 emailid를 가지고 있으며 그 중 대부분은 gmail.com, yahoo.com 또는 hotmail이지만 다른 유형은 거의 없습니다.