# Document found with \_search but not with GET

**URL:** <https://discuss.elastic.co/t/document-found-with--search-but-not-with-get/17719>\
**Category:** Elasticsearch\
**Created:** [May 26, 2014, 7:47am UTC](https://discuss.elastic.co/t/document-found-with--search-but-not-with-get/17719 "2014-05-26T07:47:41Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [June 3, 2014, 4:36pm UTC](https://discuss.elastic.co/t/document-found-with--search-but-not-with-get/17719/21 "2014-06-03T16:36:21Z")

</div>

Yeah. We just released 1.2.1 which fix that issue.

See [http://www.elasticsearch.org/blog/elasticsearch-1-2-1-released/](http://www.elasticsearch.org/blog/elasticsearch-1-2-1-released/)

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet | @elasticsearchfr

Le 3 juin 2014 à 16:31:56, Neil Andrassy ([neil.andrassy@thefilter.com](mailto:neil.andrassy@thefilter.com)) a écrit:

Looks like this might be a bug in 1.2 - [https://github.com/elasticsearch/elasticsearch/pull/6393](https://github.com/elasticsearch/elasticsearch/pull/6393)

On Monday, 26 May 2014 08:47:41 UTC+1, Pir Abdul Rasool Qureshi wrote:  
Hi

We have a single machine elastic search server (8 shards but all hosted at the same machine). Index contains 7 million documents. We do not specify any custom routing when indexing the documents. We are using Elastic search version 1.2.

The problem is that we are unable to retrieve many of our documents using GET  
, . However using search?\_id: we are able to retrieve all of those documents.

We are also successful in retrieving a document by specifying routing parameter (with different values (1,2,3,...) ) with GET.

With previous version, i.e. Elastic Search 1.0.3, we did not have that problem.

Any suggestions for resolution?

## Thanks in advance

You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/5f64de11-d918-4120-a899-0a5daf44df4e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5f64de11-d918-4120-a899-0a5daf44df4e%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/etPan.538df986.5ff87e05.28b%40MacBook-Air-de-David.local](https://groups.google.com/d/msgid/elasticsearch/etPan.538df986.5ff87e05.28b%40MacBook-Air-de-David.local).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Pir\_Abdul\_Rasool\_Qur](https://avatars.discourse-cdn.com/v4/letter/p/ac91a4/32.png) [@Pir\_Abdul\_Rasool\_Qur](https://discuss.elastic.co/u/Pir_Abdul_Rasool_Qur)\
**Post date:** [June 5, 2014, 8:28am UTC](https://discuss.elastic.co/t/document-found-with--search-but-not-with-get/17719/22 "2014-06-05T08:28:59Z")

</div>

Yes 1.2.1 fixed the issue.

Thanks.

On Tuesday, June 3, 2014 6:36:32 PM UTC+2, David Pilato wrote:

> Yeah. We just released 1.2.1 which fix that issue.
> 
> See [Elasticsearch Platform — Find real-time answers at scale | Elastic](http://www.elasticsearch.org/blog/elasticsearch-1-2-1-released/)
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr  
> [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr)
> 
> Le 3 juin 2014 à 16:31:56, Neil Andrassy ([neil.a...@thefilter.com](mailto:neil.a...@thefilter.com)  
> \<javascript:\>) a écrit:
> 
> Looks like this might be a bug in 1.2 -  
> [Restore shard routing. by jpountz · Pull Request #6393 · elastic/elasticsearch · GitHub](https://github.com/elasticsearch/elasticsearch/pull/6393)
> 
> On Monday, 26 May 2014 08:47:41 UTC+1, Pir Abdul Rasool Qureshi wrote:
> 
> > Hi
> > 
> > We have a single machine Elasticsearch server (8 shards but all hosted  
> > at the same machine). Index contains 7 million documents. We do not specify  
> > any custom routing when indexing the documents. We are using Elastic search  
> > version 1.2.
> > 
> > The problem is that we are unable to retrieve many of our documents using GET  
> > , . However using search?\_id: we are able to retrieve  
> > all of those documents.
> > 
> > We are also successful in retrieving a document by specifying routing  
> > parameter (with different values (1,2,3,...) ) with GET.
> > 
> > With previous version, i.e. Elastic Search 1.0.3, we did not have that  
> > problem.
> > 
> > Any suggestions for resolution?
> > 
> > Thanks in advance
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/5f64de11-d918-4120-a899-0a5daf44df4e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/5f64de11-d918-4120-a899-0a5daf44df4e%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/5f64de11-d918-4120-a899-0a5daf44df4e%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/5f64de11-d918-4120-a899-0a5daf44df4e%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/939e3376-6ad7-4bad-95fe-05bd44dcdc86%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/939e3376-6ad7-4bad-95fe-05bd44dcdc86%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [July 6, 2017, 1:24am UTC](https://discuss.elastic.co/t/document-found-with--search-but-not-with-get/17719/23 "2017-07-06T01:24:33Z")

</div>

Closed on July 6, 2017, 1:24am UTC



[Previous page](https://discuss.elastic.co/t/document-found-with--search-but-not-with-get/17719.md?page=1)
