Hi, Following facets query code is working fine in 0.90.3 but it's throwing exception in 1.0.1.
curl -XGET 'http://elasticsearch-0903.xxxxx.net:9200/index123-*/_search?pretty' -d '{ { "facets": { "terms": { "terms": { "field": "events.actingUserName", "size": 10, "order": "count", "exclude": [] }, "facet_filter": { "fquery": { "query": { "filtered": { "query": { "bool": { "should": [ { "query_string": { "query": "*" } } ] } }, "filter": { "bool": { "must": [ { "match_all": {} }, { "fquery": { "query": { "field": { "events.actingUserName": { "query": "\"JohnDoe\"" } } }, "_cache": true } }, { "range": { "id.time": { "from": 1389396651238, "to": 1397172651239 } } }, { "bool": { "must": [ { "match_all": {} } ] } } ] } } } } } } } }, "size": 0 }' Exception is as follows: "error": "SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures ..... Parse Failure [Failed to parse source .... May I know if anything has changed for facets in 1.0.1 ? 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/72fdcb40-a8de-48b3-9294-aecf8d0af4ac%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
