Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
# we also index a keyword version of the field
name = Text(
fields={'keyword': es.Keyword()}
# and use it with facets like this
'city': TermsFacet(field=''),
# so now we can use the same field for free text search as well as filters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment