Hello! I have a marketplace and I would like to sort the search results mixing products advertisers.
Can someone help me? I'm making a filtered query like this: "query": { "filtered": { "query": { "bool": { "must": [ { "match": { ... } } }, { "match": { ... } } ], "should": [ { "match": { ... } }, { "multi_match": { "query": "", "type": "best_fields", "fields": [ .... ], "tie_breaker": 0.3, "fuzziness": 1 } } ] } }, "filter": { "bool": { "must": [ { "nested": { ... } } }, { "not": { "filter": { "term": { ... } } } }, { "not": { "filter": { "term": { ... } } } } ] } } } } The advertisers are mapped into product as objects. Thanks! -- 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/CAAUnKK5XuWz9tAyUXV6WSPzgrzGRM8BGEYvNLCCZe3500Px%2BEg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.