- Notifications
You must be signed in to change notification settings - Fork 801
Closed
Labels
good first issueGood for new contributorsGood for new contributors
Description
I'm using elasticsearch-dsl-py version 7.2.1 and if I do the following query:
search = Search(using=self.client, index="my index") search.query({ "bool": { "should": [ { "match_bool_prefix": { "all_text": { "query": "my search que", "fuzziness": 1, "operator": "and" } } } ] } })
I get the following error:
UnknownDslObject('DSL class `{}` does not exist in {}.'.format(name, cls._type_name))\nelasticsearch_dsl.exceptions.UnknownDslObject: DSL class `match_bool_prefix` does not exist in query."}
but match_bool_prefix
is a valid query in elastic search 7.2
https://www.elastic.co/guide/en/elasticsearch/reference/7.2/query-dsl-match-bool-prefix-query.html
Metadata
Metadata
Assignees
Labels
good first issueGood for new contributorsGood for new contributors