-
-
Notifications
You must be signed in to change notification settings - Fork 493
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this correct behaviour ? #238
Comments
So I guess (Prefix Search) might have something to do with not being able to match any entries where search query does not appear in the start of words (prefix)... but still: is it possible to actually search in the way I described? |
So I think I answered my own question that this is the expected behaviour assuming prefix search, now the question is: is it possible to use other 'strategies' with FlexSearch as of now? I checked https://github.com/bvaughn/js-search and on the bottom it explains exactly all of this. Is there something similar planned (or already working) here? I looked in the docs but cannot find any info on that option still. Thank you again for the library and looking forward to the answer |
I'm not sure if my issue is the same, but lets say I have the phrase "home page", I want "ho" to match this phrase, is there a way to do it? Right now only "home" works. I tried changing resolution and depth but did not work well. I think the documents on resolution and depth are quire lacking as well. |
I had the same problem, you need to set the
I agree that the docs could be a little clearer. Also, maybe having |
To add to this stream, I was looking to match "Rules of thumb" and "Ruling of King" with the query "rule". Lunr.js successfully showed both. In flexsearch, setting language with complete options to "us" and tokenizer to "full" matches "Rules of thumb". Any combination of setting I am missing or a stemmer function someone can point to? |
This is fixed in v0.7.23 |
is this expected?
I want to match entries 0 and 1 on this search query. I thought
tokenize: 'full'
would enable this but no luck. What am I missing?Also is this a small typo here: https://github.com/nextapps-de/flexsearch#tokenizer
should it not be "in reverse direction" ?
thank you for your help, I'm just starting with this library, learning it.
david
The text was updated successfully, but these errors were encountered: