The _id (metadata _id, that is) is a string value. The value of the _id string is whatever you set it to (or else a long string automatically generated by Elasticsearch when the document is created). You have complete freedom to set it to any string value you wish.
The _id metadata is the closest thing ES has to a unique constraint, and I use it quite effectively in this way. Brian -- 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/a311ee25-b4e9-4155-9543-55eb7a199bcd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
