In the example here http://www.elastic.co/guide/en/elasticsearch/reference/0.90/query-dsl-terms-filter.html#_terms_lookup_twitter_example, it is indicated that the id field can only be for a single document. Is there a way to do:
curl -XGET localhost:9200/tweets/_search -d '{ "query" : { "filtered" : { "filter" : { "terms" : { "user" : { "index" : "users", "type" : "user", "id" : ["2", "3", "4"], "path" : "followers" }, "_cache_key" : "user_2_friends" } } } } }' Is the only way to get results for this to do a separate terms filter for each id? -- 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/d8032d4a-fdb7-48c9-9828-64253c5d4b90%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.