Change default query string operator to and
This commit is contained in:
@@ -146,7 +146,7 @@ class ElasticsearchBackend(StorageBackend):
|
|||||||
"fuzzy_max_expansions": 50,
|
"fuzzy_max_expansions": 50,
|
||||||
"fuzzy_prefix_length": 0,
|
"fuzzy_prefix_length": 0,
|
||||||
# "minimum_should_match": 1,
|
# "minimum_should_match": 1,
|
||||||
"default_operator": "or",
|
"default_operator": "and",
|
||||||
"analyzer": "standard",
|
"analyzer": "standard",
|
||||||
"lenient": True,
|
"lenient": True,
|
||||||
"boost": 1,
|
"boost": 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user