From 86673e9f887e204ca939a952a15746105d8d6037 Mon Sep 17 00:00:00 2001 From: Yugi Date: Fri, 9 Feb 2024 22:40:15 -0500 Subject: [PATCH] do not stem suggestions --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 844a991..eaa8e57 100644 --- a/main.py +++ b/main.py @@ -32,7 +32,7 @@ def create_and_update_index(index_name, documents, fields_to_not_index): "type": "custom", "tokenizer": "standard", "char_filter": ["html_strip"], - "filter": ["lowercase", "stop", "shingle", "stemmer", "stop"], + "filter": ["lowercase", "stop", "shingle"], }, "synonym": { "type": "custom",