Hi,
following the documentation here
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-id-field.html
I've declared path mapping between _id and a field named "table_id",
but when doing query the result doesn't contain the table_id field.
Looking at the example in the doc, it contains the post_id field.
This is the mapping:
{
"test" : {
"mappings" : {
"table" : {
"_id" : {
"path" : "table_id"
},
"properties" : {
"name" : {
"type" : "string",
"store" : true
},
"table_id" : {
"type" : "long",
"store" : true
}
}
}
}
}
am I missing anything?
Thanks
--
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/66e68abe-7c84-41d9-9eee-54a7ea67450e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.