Hi all, I'm trying to query for a particular subset of fields, one of which is a geo_shape. All of the other fields are returned as expected, *aside from the geo shape*. Here is a trimmed-down version of my mapping:
{ "house": { "properties": { "id": {"type": "string"}, "location": { "properties": { "geo": {"type": "geo_shape", "store": true}, "address": {"type": "string"} } } } } } And here are some sample queries I've tried: { "fields": ["id", "location.address", "location.geo"], "query": {"match_all": {}} } { "fields": ["id", "location.address", "location.geo.*coordinates*"], "query": {"match_all": {}} } { "fields": ["id", "location.address", "*_source*.location.geo"], "query": {"match_all": {}} } { "fields": ["id", "location.address", "*_all*.location.geo"], "query": {"match_all": {}} } The search results always come back with only id and location.address. Here's a sample document that was returned by a match_all query: { "id": "a04db707a0b0c8778abb4a25d92bd1a53801b994", "location": { "geo": { "type": "point", "coordinates": [-100,40] }, "address": "123 Fake St." } } Any thoughts on how to get a geo_shape returned? Thanks in advance! Daniel -- 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/97480273-fa66-4763-819f-50355bc74edb%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.