Could you create a full script which would help to understand what you exactly did?
See http://www.elasticsearch.org/help/ -- David Pilato | Technical Advocate | Elasticsearch.com @dadoonet | @elasticsearchfr Le 18 juillet 2014 à 14:48:18, Giuseppe Longo ([email protected]) a écrit: 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. -- 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/etPan.53c91835.109cf92e.38f%40MacBook-Air-de-David.local. For more options, visit https://groups.google.com/d/optout.
