Closed justinfagnani closed 1 year ago
This implements full-text search by:
customElement
array-contains-any
I'm using https://github.com/NaturalNode/natural for stemming. It looks well maintained and thorough compared to other libraries.
The fields currently indexed are:
-
button
sl-button
Builds on https://github.com/webcomponents/webcomponents.org/pull/1364. We need to fix https://github.com/webcomponents/webcomponents.org/issues/1351 to ensure that queries are confined to a single namespace.
This implements full-text search by:
customElement
collections and filtering with anarray-contains-any
operatorI'm using https://github.com/NaturalNode/natural for stemming. It looks well maintained and thorough compared to other libraries.
The fields currently indexed are:
-
, using segments more than 3 characters long (to getbutton
fromsl-button
, etc).Builds on https://github.com/webcomponents/webcomponents.org/pull/1364. We need to fix https://github.com/webcomponents/webcomponents.org/issues/1351 to ensure that queries are confined to a single namespace.