What is wrong with the below Filtered Query?

Using filter to 1st filter source = xyz and then score documents based on
name = abc

curl -XGET 'http://:9200//_search?pretty' -d '{
"filtered" : {
"query": { "term": { "name : "abc" }},
"filter": { "terms" : { "source" : ["xyz"] }}
}}'

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/30432a9d-070d-43da-928b-682dea75eda6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Can you elaborate more on what you mean by "wrong"? Performance problem?
Syntax error? (I do see a missing double quote at the end of "name").

On Wednesday, November 19, 2014 2:51:47 PM UTC-8, Ap wrote:

Using filter to 1st filter source = xyz and then score documents based on
name = abc

curl -XGET 'http://:9200//_search?pretty' -d '{
"filtered" : {
"query": { "term": { "name : "abc" }},
"filter": { "terms" : { "source" : ["xyz"] }}
}}'

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/eaa726e2-9ad9-4fa0-a4ea-42887d9b5bbf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.