multiple post filter

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

multiple post filter

menschguenther
according to this document: https://www.elastic.co/guide/en/elasticsearch/reference/1.5/search-request-post-filter.html

is it possible to filter for red AND green gucci shirts?

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/
---
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/15b54f2f-3bc7-4ff7-9e64-002100d4eadf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: multiple post filter

vineeth mohan-2
Hi , 

There is an bool filter that you can use for the same.
Put in multiple filters under the must clause and it should work just fine.

Thanks
           Vineeth Mohan,
           Elasticsearch consultant,


On Mon, Jun 1, 2015 at 8:22 PM, <[hidden email]> wrote:
according to this document: https://www.elastic.co/guide/en/elasticsearch/reference/1.5/search-request-post-filter.html

is it possible to filter for red AND green gucci shirts?

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/
---
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/15b54f2f-3bc7-4ff7-9e64-002100d4eadf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

--
Please update your bookmarks! We have moved to https://discuss.elastic.co/
---
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5kozHMOeNbk31uUjpMA7aPm8gAPA6ZGB%3DhFmqxwGxOdKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.