Re: Having problems with hit count from OR filter

2014-10-27 Thread Adrien Grand
Hi Lenin, This looks like a bug indeed... Did you manage to nail down this issue? Could you run the same terms aggregation on the or query to see the distribution of terms? On Fri, Oct 24, 2014 at 4:05 AM, Lenin lsubraman...@maverixbio.com wrote: I have the following aggregation which show all

Re: Having problems with hit count from OR filter

2014-10-27 Thread Lenin
Hi Adrien, Thanks for getting back. I was able indeed fix the issue, it was a data problem in my end. But I ran into another issue with OR filter while i was able to figure the above one. I have posted it as github. https://github.com/elasticsearch/elasticsearch/issues/8246 I have a testdata

Having problems with hit count from OR filter

2014-10-23 Thread Lenin
I have the following aggregation which show all the count by values for a particular field values. http://localhost:8200/index1/collection1/_search?search_type=count { aggs : { effects : { terms : { field : type } } } } Output is