You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should provide a way to configure per-instance and/or per-index and/or per field list of stopwords, instead of the very primitive hard-coded list we have today.
There is a default stopword list that is identical to the current one.
Custom stopwords are defined per index.
On index creation, the user can specify STOPWORDS {num} {sw} ... or STOPWORDS NONE which causes the index to not have any stopwords. Currently we only apply ascii Latin lowercasing, which is the same treatment we provide for the query. When the query normalizing will change, this will change as well.
These will apply during indexing and querying, unless NOSTOPWORDS is specified in the query.
Internally we'll convert the lookup of stopwords from a linear search to triemap. This will make big lists and bigger documents run faster.
During indexing and querying, we will evaluate either the index's stopword list, or the default one.
Activity
dvirsky commentedon Jun 14, 2017
The current design is as following:
There is a default stopword list that is identical to the current one.
Custom stopwords are defined per index.
On index creation, the user can specify
STOPWORDS {num} {sw} ...orSTOPWORDS NONEwhich causes the index to not have any stopwords. Currently we only apply ascii Latin lowercasing, which is the same treatment we provide for the query. When the query normalizing will change, this will change as well.These will apply during indexing and querying, unless NOSTOPWORDS is specified in the query.
Internally we'll convert the lookup of stopwords from a linear search to triemap. This will make big lists and bigger documents run faster.
During indexing and querying, we will evaluate either the index's stopword list, or the default one.
dvirsky commentedon Jun 18, 2017
Done in current master, to be released in 0.18. No ALTER support yet, the list is fixed once the index is created.
[add] added redisearch_temporary_index to examples list (RediSearch#71)
MOD-13249: Add Block Traits And Generic Reader And Generic Index (#71)
[MOD-15685] Refuse a legacy index spec RESTORE outside an RDB load
[MOD-15685] Fix crash when a legacy index spec is restored on a runni…
[8.8-rse] [MOD-15685] Fix crash when a legacy index spec is restored …
Bf batch iterator (RediSearch#71)