Can you share the code that you used to trigger this issue?

On Mon, Apr 28, 2014 at 4:39 PM, Yz <[email protected]> wrote:

> Through my experiment, it seems not possible to use string as primary key
> in Elasticsearch.
> If type String is used , then the _id will be something like this:
> "_id":"[B@fe583b"
> which uses the object address in jvm instead of the real value.
> So, is there any way to generate a composite _id from two integer value?
>
> --
> 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/f073e04b-f2a1-4e5a-a7e0-ff93727f6e9f%40googlegroups.com<https://groups.google.com/d/msgid/elasticsearch/f073e04b-f2a1-4e5a-a7e0-ff93727f6e9f%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/CAL6Z4j6%3D%2BZ0sTOUZpaaW6stOESDn67WSAskNXd88wiFgfp7RTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to