Re: Bool and And filter, which is faster?

2014-11-21 Thread Fei Xie
Thanks! Really appreciate your explanation. On Friday, November 21, 2014 1:21:56 AM UTC-8, Adrien Grand wrote: > > Unfortunately, it depends on many factors, but basically elasticsearch 1.x > is going to have faster bool filter if your sub filters are dense and can > be efficiently loaded into b

Re: Bool and And filter, which is faster?

2014-11-21 Thread Adrien Grand
Unfortunately, it depends on many factors, but basically elasticsearch 1.x is going to have faster bool filter if your sub filters are dense and can be efficiently loaded into bitsets (eg. range, term, terms filters), and the `and` filter is going to be faster if your sub filters are sparse, or if

Bool and And filter, which is faster?

2014-11-20 Thread Fei Xie
In this article http://www.elasticsearch.org/blog/all-about-elasticsearch-filter-bitsets/, it's saying bool is faster than add/or filters. But at that time it's elasticsearch 0.9. Is this still the truth? Thanks! -- You received this message because you are subscribed to the Google Groups