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
On the language options section, both stemmer, filter, matcher said we could pass a Function into it, but what does it looks like? Since I haven't used this feature, I was confused about how to write type annotation for it.
The document said that stemmer could be a custom object, filter and matcher could be a custom array, but this is not consistent with previous type definition,
Hi, I'm the author of #266 ,
On the language options section, both
stemmer
,filter
,matcher
said we could pass aFunction
into it, but what does it looks like? Since I haven't used this feature, I was confused about how to write type annotation for it.The document said that
stemmer
could be acustom object
,filter
andmatcher
could bea custom array
, but this is not consistent with previous type definition,flexsearch/index.d.ts
Lines 120 to 122 in 5dfb3de
and even not consistent with the following document:
are they changed on 0.7.0?
registerCharset
andregisterLanguage
is not clear enough, they are Charset Options, Language Options or something else?I've noticed that there are something called 'tokenize' from:
flexsearch/src/index.js
Line 82 in 04c7332
but this is not showed up on the Charset Options section, this confused me a lot.
Thanks for your time!
The text was updated successfully, but these errors were encountered: