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://<localhost>:9200/<index>/_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 [email protected].
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.