# Issue with Elastic search data

**URL:** <https://discuss.elastic.co/t/issue-with-elastic-search-data/98555>\
**Category:** Elasticsearch\
**Created:** [August 28, 2017, 11:28am UTC](https://discuss.elastic.co/t/issue-with-elastic-search-data/98555 "2017-08-28T11:28:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ramchandram](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@Ramchandram](https://discuss.elastic.co/u/Ramchandram)\
**Post date:** [August 28, 2017, 11:28am UTC](https://discuss.elastic.co/t/issue-with-elastic-search-data/98555/1 "2017-08-28T11:28:57Z")

</div>

Hi, I am just new to elastic search. Recently, I have tried executing the below query  
{  
"from": 0,  
"size": 1,  
"query": {  
"bool": {  
"must": [  
{  
"match": {  
"receiver": {  
"query": "AN",  
"type": "boolean"  
}  
}  
}  
]  
}  
}  
}

When I run this query, not showing the hits. I am sure the document is exists in Elastic search.

Elastic search version is : 1.3.2  
Note : if i replace with "AN" with other valid value, it shows the hits. Any one can help me here please. Thank you.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [August 28, 2017, 10:00pm UTC](https://discuss.elastic.co/t/issue-with-elastic-search-data/98555/2 "2017-08-28T22:00:09Z")

</div>

How do you know there is data that matches then?

> [@chandu](#):
>
> Elastic search version is : 1.3.2

You should really upgrade as a matter of urgency.

---

<div class="post-metadata">

**Author:** ![Ramchandram](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@Ramchandram](https://discuss.elastic.co/u/Ramchandram)\
**Post date:** [August 29, 2017, 11:00am UTC](https://discuss.elastic.co/t/issue-with-elastic-search-data/98555/3 "2017-08-29T11:00:01Z")

</div>

Thank you for your reply Warkolm.

Actually, Document is having below two fields:

1. 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”  
}  
}  
}  
]  
}  
}  
}

---

<div class="post-metadata">

**Author:** ![Mark\_Harwood](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mark_harwood/32/10538_2.png) [@Mark\_Harwood](https://discuss.elastic.co/u/Mark_Harwood)\
**Post date:** [August 29, 2017, 11:12am UTC](https://discuss.elastic.co/t/issue-with-elastic-search-data/98555/4 "2017-08-29T11:12:20Z")

</div>

See [https://www.elastic.co/guide/en/elasticsearch/guide/current/stopwords.html](https://www.elastic.co/guide/en/elasticsearch/guide/current/stopwords.html)

---

<div class="post-metadata">

**Author:** ![Ramchandram](https://avatars.discourse-cdn.com/v4/letter/r/b3f665/32.png) [@Ramchandram](https://discuss.elastic.co/u/Ramchandram)\
**Post date:** [August 30, 2017, 1:56pm UTC](https://discuss.elastic.co/t/issue-with-elastic-search-data/98555/5 "2017-08-30T13:56:54Z")

</div>

Thank you Mark.

But, What is process to make AN as searchable? I am using elastic version 1.3.2

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 27, 2017, 1:57pm UTC](https://discuss.elastic.co/t/issue-with-elastic-search-data/98555/6 "2017-09-27T13:57:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
