I have data where phone number is in parts. Therefore I created as an array(object). But I want to search on the complete phone number now.
"Phone":{
"type" : "object",
"properties" : {
"first" : {
"type" : "text"
},
"second": {
"type" : "text"
}
}
}
Now I want search something like give me all phone numbers containing 987.
Pardon me if the question is very trivial, I'm new to this field and couldn't find any resource answering to the question.