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
Is it possible to return from useFlexSearch some search results that contain a specific string?
For example, if I have an input field on my page and the user enters "lorem" into it, I want FlexSearch to search for all elements that contain this string.
The text was updated successfully, but these errors were encountered:
Hi @marco910
You have to define this option in your flexsearch instance, in my case, I used the gatsby-plugin-local-search plugin for GatsbyJS, in this plugin, the options are in the gatsby-config.js under the engineOptions option.
Either way, you have to add tokenizer option and use "strict"
Hello,
Is it possible to return from
useFlexSearch
some search results that contain a specific string?For example, if I have an input field on my page and the user enters "lorem" into it, I want FlexSearch to search for all elements that contain this string.
The text was updated successfully, but these errors were encountered: