From 349af54fb290884ead5c3cad7064d2479598510e Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Tue, 5 Mar 2024 12:23:26 +0100 Subject: [PATCH 1/2] fix(search): remove "not" from stopwords --- deployer/src/deployer/search/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deployer/src/deployer/search/models.py b/deployer/src/deployer/search/models.py index 34b0a22b23e6..44b3deeba4da 100644 --- a/deployer/src/deployer/search/models.py +++ b/deployer/src/deployer/search/models.py @@ -78,6 +78,10 @@ # 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 # + # "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 @@ -101,7 +105,6 @@ "into", "it", "no", - "not", "on", "or", "such", From 341cd95350fbcbf6e1458d4986f646c298fdcf6a Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Tue, 5 Mar 2024 12:25:29 +0100 Subject: [PATCH 2/2] chore(search): update stopword exclusion refs --- deployer/src/deployer/search/models.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/deployer/src/deployer/search/models.py b/deployer/src/deployer/search/models.py index 44b3deeba4da..69e0a4e8087a 100644 --- a/deployer/src/deployer/search/models.py +++ b/deployer/src/deployer/search/models.py @@ -71,12 +71,15 @@ # # "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 @@ -85,11 +88,12 @@ # "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.