I'm trying to run a query that looks sort of like this: { "filter": { "term": { "b_id": "6" }, "constant_score": { "filter": { "exists": { "field": "rear_placement" } } } }, "fields": [ "rear_placement", "price", "controller", "name", "short_name", "nm" ], "sort": [ "rear_placement" ] }
When I add the "constant score" bit the "fields" do not return. Only _source. Removing the constant score exists bit, the six fields above return without issue. It isn't the end of the world for me to return the entire document in this case, I was just wondering what the deal is with this and if there is something I'm doing wrong. James -- 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/a06d4480-16bb-426e-b97a-467b2cd5bf9f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.