summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-03 21:26:06 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-03 21:26:15 -0800
commit48c633d03073bc9f1c86e457c31dc760984139a7 (patch)
treee98fc58f2c1a6f35f68e644d681e002f6d0ed687 /python
parent8654b49e9fc25959a1978d0584cec71810ad5b50 (diff)
downloadfatcat-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.py1
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,