{"action":"created","issue":{"url":"https://api.github.com/repos/Vycka/ElasticSearch.Client/issues/2","labels_url":"https://api.github.com/repos/Vycka/ElasticSearch.Client/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Vycka/ElasticSearch.Client/issues/2/comments","events_url":"https://api.github.com/repos/Vycka/ElasticSearch.Client/issues/2/events","html_url":"https://github.com/Vycka/ElasticSearch.Client/issues/2","id":96302127,"number":2,"title":"Hey Vycka, as I said before great Lib!. But a question appeared: I use the TermFilter in a FixedTimeRange Query. The TermFilter has a string[] as a parameter and I wanted to query with different string values to get a Aggregate for each string Valuer. BUT only the last one is used in the ExecuteAggregate() query? Can you help me?","user":{"login":"skind","id":109730,"avatar_url":"https://avatars.githubusercontent.com/u/109730?v=3","gravatar_id":"","url":"https://api.github.com/users/skind","html_url":"https://github.com/skind","followers_url":"https://api.github.com/users/skind/followers","following_url":"https://api.github.com/users/skind/following{/other_user}","gists_url":"https://api.github.com/users/skind/gists{/gist_id}","starred_url":"https://api.github.com/users/skind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skind/subscriptions","organizations_url":"https://api.github.com/users/skind/orgs","repos_url":"https://api.github.com/users/skind/repos","events_url":"https://api.github.com/users/skind/events{/privacy}","received_events_url":"https://api.github.com/users/skind/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-07-21T12:14:19Z","updated_at":"2015-09-01T15:21:07Z","closed_at":"2015-09-01T15:21:07Z","body":"Yes, want to get the amount of each sold Car-'Type's by Country in a fixed time range in one Query:\r\n\r\nQueryBuilder qB = new QueryBuilder();\r\nqB.Filtered.Filter.Add( FilterType.Must, new FixedTimeRange(\"Sold_Date\", fromDate, toDate));\r\nqB.Filtered.Filter.Add( FilterType.Must, new TermFilter(\"COUNTRY\", new string [] {\"GERMANY\", \"FRANCE\", \"ITALY\"}));\r\nqB.Aggregates.Add(\"carTerm\", new TermsAggregate(\"Type\", 300));\r\nDateHistogramAggregate aggregate = new DateHistogramAggregate(\"Sold_Date\", \"1d\");\r\nqB.Aggregates.Add(\"aggDH\", aggregate);\r\nClient.ExecuteAggregate(qB);\r\n\r\nI hope this helps,\r\nskind\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Vycka/ElasticSearch.Client/issues/comments/136758286","html_url":"https://github.com/Vycka/ElasticSearch.Client/issues/2#issuecomment-136758286","issue_url":"https://api.github.com/repos/Vycka/ElasticSearch.Client/issues/2","id":136758286,"user":{"login":"Vycka","id":1021963,"avatar_url":"https://avatars.githubusercontent.com/u/1021963?v=3","gravatar_id":"","url":"https://api.github.com/users/Vycka","html_url":"https://github.com/Vycka","followers_url":"https://api.github.com/users/Vycka/followers","following_url":"https://api.github.com/users/Vycka/following{/other_user}","gists_url":"https://api.github.com/users/Vycka/gists{/gist_id}","starred_url":"https://api.github.com/users/Vycka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vycka/subscriptions","organizations_url":"https://api.github.com/users/Vycka/orgs","repos_url":"https://api.github.com/users/Vycka/repos","events_url":"https://api.github.com/users/Vycka/events{/privacy}","received_events_url":"https://api.github.com/users/Vycka/received_events","type":"User","site_admin":false},"created_at":"2015-09-01T15:21:07Z","updated_at":"2015-09-01T15:21:07Z","body":"Closing this for now, assuming, that the problem is solved"}}