Hi, This is very likely because of https://github.com/elasticsearch/elasticsearch/pull/6393
See http://www.elasticsearch.org/blog/elasticsearch-1-2-1-released/ for more information, we are currently working on a tool that would help relocate documents to the right shard. On Thu, Jun 5, 2014 at 1:54 PM, Luke Wilson-Mawer <[email protected] > wrote: > Hi, > > I'm seeing weird behaviours with ids on elasticsearch 1.2.0 (recently > upgraded from 1.0.1). > > A search retrieves my document, showing the correct value for _id: > > [terminal] curl 'myServer:9200/global/_search?q=someField:something > > {"took":79,"timed_out":false,"_shards":{"total":12,"successful":12,"failed":0},"hits":{"total":1,"max_score":17.715034,"hits":[{"_index":"global","_type":"user","_id":"7a113e4f-44de-3b2b-a3f1-fb881da1b00a",... > > But a direct lookup on id doesn't: > [terminal] curl > 'myServer:9200/global/user/7a113e4f-44de-3b2b-a3f1-fb881da1b00a' > > {"_index":"global","_type":"user","_id":"7a113e4f-44de-3b2b-a3f1-fb881da1b00a","found":false} > > Any ideas? I'm hoping I won't have to reindex... > > Kind regards, > > Luke > > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elasticsearch/e0c68f79-12fc-42e9-9a26-102c3b75f42e%40googlegroups.com > <https://groups.google.com/d/msgid/elasticsearch/e0c68f79-12fc-42e9-9a26-102c3b75f42e%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Adrien Grand -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j6JRYTe01iXb4Lwdurxgmfp6QTXfmEBbA%2Bmci8cQMGZ-A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
