How to tag and exclude filters?

Hi all

I have come from a Solr background and am looking for a way to tag and
exclude filters using Elasticsearch:
http://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters

I have read the documentation, and what I am looking for seems to be the
opposite of facet_filter.

What is the best way to achieve this please?

Many thanks
Greg

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

This is "multiselect" faceting and you can do it in ES using a combination
of filters (
http://www.elasticsearch.org/guide/reference/api/search/filter.html) and
facet filters.

On Saturday, March 23, 2013, Greg wrote:

Hi all

I have come from a Solr background and am looking for a way to tag and
exclude filters using Elasticsearch:

http://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters

I have read the documentation, and what I am looking for seems to be the
opposite of facet_filter.

What is the best way to achieve this please?

Many thanks
Greg

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com <javascript:_e({},
'cvml', 'elasticsearch%2Bunsubscribe@googlegroups.com');>.
For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks,
Matt Weber

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Thanks for your help. The multi-select faceting is now working correctly.
However, I am still having a problem with "excluding" a filter from a facet.

For example:

How can I exclude the price filter from the calculation of the price_ranges
facet? In other words, the price_ranges facet should take into account all
of the filters except for price.

Any advice much appreciated.

Regards
Greg

On Sunday, 24 March 2013 05:57:53 UTC, Matt Weber wrote:

This is "multiselect" faceting and you can do it in ES using a combination
of filters (
http://www.elasticsearch.org/guide/reference/api/search/filter.html) and
facet filters.

On Saturday, March 23, 2013, Greg wrote:

Hi all

I have come from a Solr background and am looking for a way to tag and
exclude filters using Elasticsearch:

http://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters

I have read the documentation, and what I am looking for seems to be the
opposite of facet_filter.

What is the best way to achieve this please?

Many thanks
Greg

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
Thanks,
Matt Weber

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.