I'm trying to figure out a way to perform a facet_filter with the following
semantic:
product_type:(tshirts OR jean) AND color:(red OR blue)
The problem is that it seems that the default behavior is just a big OR
between terms (product_type:tshirts OR product_type:jean OR color:red OR
color:blue).
You can use a bool filter as the facet filter and have explicit AND/OR
(actually must/should) clauses.
--
Ivan
On Wed, Jul 3, 2013 at 8:10 AM, Jérémie BORDIER ahfeel@gmail.com wrote:
Hello Elasticers,
I'm trying to figure out a way to perform a facet_filter with the
following semantic:
product_type:(tshirts OR jean) AND color:(red OR blue)
The problem is that it seems that the default behavior is just a big OR
between terms (product_type:tshirts OR product_type:jean OR color:red OR
color:blue).
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.