Actually, Document is having below two fields:
receiver (With value as AN)
2.receiver_company(With value as AN RailXXX)
When i search with receiver_company, i could see the receiver value as AN in the output. Here is the query:
{
“from”: 0,
“size”: 1,
“query”: {
“bool”: {
“must”: [
{
“match”: {
“receiver_company”: {
“query”: “AN RailXXX”,
“type”: “boolean”
}
}
}
]
}
}
}
but, i could not able to search with the field as receiver and the value as AN. Here is the query:
{
“from”: 0,
“size”: 1,
“query”: {
“bool”: {
“must”: [
{
“match”: {
“receiver”: {
“query”: “AN”,
“type”: “boolean”
}
}
}
]
}
}
}
So we created one analyzer which will disable the stop words and applied on the index. After that, we have added some new documents, which contains stop words. I have executed the second query, we only see new documents. What is the process to see the old documents, which had stop words.