From 8fd03c3980780d975ed1a447a96e9aa6e62d6e70 Mon Sep 17 00:00:00 2001 From: Claas Augner <495429+caugner@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:04:31 +0100 Subject: [PATCH] fix(search): remove "not" from stopwords (#10644) * fix(search): remove "not" from stopwords * chore(search): update stopword exclusion refs --- deployer/src/deployer/search/models.py | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/deployer/src/deployer/search/models.py b/deployer/src/deployer/search/models.py index 34b0a22b23e6..69e0a4e8087a 100644 --- a/deployer/src/deployer/search/models.py +++ b/deployer/src/deployer/search/models.py @@ -71,21 +71,29 @@ # # "at" # https://developer.mozilla.org/en-US/docs/Web/CSS/At-rule - # http://localhost:3000/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/at - # http://localhost:3000/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at + # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/at + # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/at + # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/at # # "is" + # https://developer.mozilla.org/en-US/docs/Web/CSS/:is # https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/is - # http://localhost:3000/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is + # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is + # https://developer.mozilla.org/en-US/docs/WebAssembly/JavaScript_interface/Exception/is + # + # "not" + # https://developer.mozilla.org/en-US/docs/Web/CSS/:not + # https://developer.mozilla.org/en-US/docs/Web/XPath/Functions/not # # "of" # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for...of # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/of + # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DisplayNames/of # https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/TypedArray/of # # "to" - # https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/To # https://developer.mozilla.org/en-US/docs/Web/API/CSSNumericValue/to + # https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/To # # If we discover that there are other words that are too important to our # context, we can simply pluck them out of the list below. @@ -101,7 +109,6 @@ "into", "it", "no", - "not", "on", "or", "such",