diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-03 21:26:06 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-03 21:26:15 -0800 |
commit | 48c633d03073bc9f1c86e457c31dc760984139a7 (patch) | |
tree | e98fc58f2c1a6f35f68e644d681e002f6d0ed687 /python | |
parent | 8654b49e9fc25959a1978d0584cec71810ad5b50 (diff) | |
download | fatcat-48c633d03073bc9f1c86e457c31dc760984139a7.tar.gz fatcat-48c633d03073bc9f1c86e457c31dc760984139a7.zip |
remove textIcuSearch elastic filter
This was breaking, eg, DOI search with non-trivial characters.
Because we set the tokenizer on individual fields, shouldn't be
necessary on the whole query.
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_web/search.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/python/fatcat_web/search.py b/python/fatcat_web/search.py index 4d45dcf1..471e522a 100644 --- a/python/fatcat_web/search.py +++ b/python/fatcat_web/search.py @@ -22,7 +22,6 @@ def do_search(q, limit=50, fulltext_only=True): "query": { "query_string": { "query": q, - "analyzer": "textIcuSearch", "default_operator": "AND", "analyze_wildcard": True, "lenient": True, |