filtrowanie aspektów w elasticsearch

Mam pytanie, jak poniżej,

    query = {

        "query": {"query_string": {"query": "%s" % q}},
        "filter":{"ids":{"values":list(ids)}},
        "facets": {"destination": {
            "terms": {"field": "destination.en"}},
        "hotel_class":{
            "terms":{"field":"hotel_class"}},
        "hotel_type":{
            "terms":{"field": "hotel_type"}},
        }}

Ale moje aspekty nie są filtrowane ze względu na mój filtr identyfikatorów. Dostaję wszystkie aspekty, ale chcę, aby były filtrowane według mojego filtru identyfikatorów powyżej. Czy masz jakies pomysły ?

questionAnswers(2)

yourAnswerToTheQuestion