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”
}
}
}
]
}
}
}
So, Why 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”
}
}
}
]
}
}
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.