ElasticSearch faceted search for a multilingual field -
i have elasticsearch dsl query below,
query = { "query": {"query_string": {"query": "%s" % q}}, "facets": {"destination": { "terms": {"field": "destination"}}}}
where destination indexed multilingual field below,
destination': {u'fr': u'portland', u'en': u'portland'}
so facets result comes empty because of multingual issue. ideas?
query = { "query": {"query_string": {"query": "%s" % q}}, "facets": {"destination": { "terms": {"field": "destination.en"}}}}
worked me