Elasticsearch multi query two value for each column filter -


i have query

get _search { "size":6, "query":{     "filtered":{         "query":{             "query_string":{                 "query":"some keyword",                 "fields":["title","content"]}                    },     "filter":{         "match":{             "channel.sitename":"photo video"}}                 }         }, "sort":[     {"_score":{"order":"asc"},     "date":{"order":"desc"}}     ], "aggs":{"sitenames":{"terms":{"field":"channel.sitename"}}} } 

and works,

but abstract value query

i want 3 values each sitename = photo , video


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

Making Empty C++ Project: General exception (Exception from HRESULT:0x80131500) Visual Studio Community 2015 -

How to fix java warning for "The value of the local variable is not used " -