Re: nested query in elastic search

2014-11-26 Thread Vijay Tiwary
Actually i want to aggreagate by "name" of keywords field. However I only want those keywords which are of type "general hashtag word". I am using this query { "from" : 0, "size" : 0, "query" : { "filtered" : { "query" : { "match_all" : { } }, "filter" : {

nested query in elastic search

2014-11-26 Thread Vijay Tiwary
I storing documents as shown below: "keywords": [ { "name": "#nfl", "type": "general hashtag word", "postag": "nnp" }, { "name": "#bill", "t