Skip to content

Commit

Permalink
fix(search): remove "not" from stopwords (#10644)
Browse files Browse the repository at this point in the history
* fix(search): remove "not" from stopwords

* chore(search): update stopword exclusion refs
  • Loading branch information
caugner authored Mar 18, 2024
1 parent d22a72d commit 8fd03c3
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions deployer/src/deployer/search/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -101,7 +109,6 @@
"into",
"it",
"no",
"not",
"on",
"or",
"such",
Expand Down

0 comments on commit 8fd03c3

Please sign in to comment.