# Elasticsearch 7.5 unable to retrieve complete result set

**URL:** <https://discuss.elastic.co/t/elasticsearch-7-5-unable-to-retrieve-complete-result-set/221819>\
**Category:** Elasticsearch\
**Created:** [March 3, 2020, 7:13am UTC](https://discuss.elastic.co/t/elasticsearch-7-5-unable-to-retrieve-complete-result-set/221819 "2020-03-03T07:13:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vismay\_Shah](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vismay_shah/32/46711_2.png) [@Vismay\_Shah](https://discuss.elastic.co/u/Vismay_Shah)\
**Post date:** [March 3, 2020, 7:13am UTC](https://discuss.elastic.co/t/elasticsearch-7-5-unable-to-retrieve-complete-result-set/221819/1 "2020-03-03T07:13:32Z")

</div>

Hello,

I have imported 0.7 million records in elasticsearch using logstash , find below the mapping details. \<  
{  
"mappings":{  
"properties":{  
"date\_time": {  
"type": "date",  
"format": "yyyyMMddHHmmss",  
"index": false  
},  
"terminal\_id": {  
"type": "keyword",  
"index": false  
},  
"host\_date\_time": {  
"type": "date",  
"format": "yyyyMMddHHmmss",  
"index": false  
},  
"job\_number": {  
"type": "keyword",  
"index": true  
}  
}  
/\>

When I try to search records based on job\_number it results in incorrect resultset i.e. sometime it returns duplicate value or sometime it only return partial results.

Query which I'm using  
\<  
{  
"query": {  
"term": {  
"job\_number": "706491"  
}  
}  
}  
/\>

Ideally the above search result should return 2 results but inactual it only returns 1.

---

<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:** [March 31, 2020, 7:13am UTC](https://discuss.elastic.co/t/elasticsearch-7-5-unable-to-retrieve-complete-result-set/221819/2 "2020-03-31T07:13:34Z")

</div>

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