Re: Get by _id doesn't work but search does.

2014-06-06 Thread joergpra...@gmail.com
Look here for the tool and how to use it

http://www.elasticsearch.org/blog/tool-help-routing-issues-elasticsearch-1-2-0/

Jörg


On Fri, Jun 6, 2014 at 11:24 AM, Luke Wilson-Mawer <
lukewilsonma...@gmail.com> wrote:

> Great, thanks Adrien. I will eagerly await the tool.
>
> Kind regards,
>
> Luke
>
>
> On Thu, Jun 5, 2014 at 1:34 PM, Adrien Grand <
> adrien.gr...@elasticsearch.com> wrote:
>
>> 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 <
>> lukewilsonma...@gmail.com> 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 elasticsearch+unsubscr...@googlegroups.com.
>>>
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/elasticsearch/e0c68f79-12fc-42e9-9a26-102c3b75f42e%40googlegroups.com
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Adrien Grand
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "elasticsearch" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/elasticsearch/B2dlshf_dQI/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> elasticsearch+unsubscr...@googlegroups.com.
>> 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.
>>
>
>  --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/CAKmH%2BjqgLZ6-qBHPvKbWLAbBiP_jqjt8QJ7kPWhSATKch0d4Bw%40mail.gmail.com
> 
> .
>
> For more options, visit 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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKdsXoGHObFxwXcQx7c66cN1a7S%2BeOj152ETQPV6%2B%2Bii6cgkhA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get by _id doesn't work but search does.

2014-06-06 Thread Luke Wilson-Mawer
Great, thanks Adrien. I will eagerly await the tool.

Kind regards,

Luke


On Thu, Jun 5, 2014 at 1:34 PM, Adrien Grand  wrote:

> 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 <
> lukewilsonma...@gmail.com> 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 elasticsearch+unsubscr...@googlegroups.com.
>>
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/elasticsearch/e0c68f79-12fc-42e9-9a26-102c3b75f42e%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Adrien Grand
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "elasticsearch" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/elasticsearch/B2dlshf_dQI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> elasticsearch+unsubscr...@googlegroups.com.
> 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.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/CAKmH%2BjqgLZ6-qBHPvKbWLAbBiP_jqjt8QJ7kPWhSATKch0d4Bw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get by _id doesn't work but search does.

2014-06-05 Thread Adrien Grand
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  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 elasticsearch+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/elasticsearch/e0c68f79-12fc-42e9-9a26-102c3b75f42e%40googlegroups.com
> 
> .
> 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 elasticsearch+unsubscr...@googlegroups.com.
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.


Get by _id doesn't work but search does.

2014-06-05 Thread Luke Wilson-Mawer
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 elasticsearch+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/e0c68f79-12fc-42e9-9a26-102c3b75f42e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.