Please, help me with the bool filter in my query. I need a products which contain markdowned SKUs which have stock more than 0. I wrote the query, but it returns me the markdowned products only (including those, which skus have stock = 0). Here's the query. https://gist.github.com/ArFeRR/12610c52a57dce9b0728 My the 'skus' is mapped as a 'type: object' in my 'product' index. Please, help, guys. Here's my product index mapping. (One product has many SKUs). https://gist.github.com/ArFeRR/772a75775dd972e72778 So, I need to get only those products, which are markdowned and which markdowned SKUs have stock more than 0. I hope i wrote everything neccesary. Please, help!
-- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/02498b46-4338-4363-a6b6-80fb446fa625%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.