We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
IndexOptions
The new type definitions are incredible. However it is missing some described, but not explicitly documented Index Options.
From Memory Allocation section: minlength: number, fastupdate: boolean
minlength: number, fastupdate: boolean
From Right-To-Left Support section: rtl: boolean
rtl: boolean
The text was updated successfully, but these errors were encountered:
I've also noticed that DocumentOptions interface has id as required field, however it can be left empty to default to "id".
DocumentOptions
id
"id"
Sorry, something went wrong.
Until this is resolved you can patch the IndexOptions type definition and include the missing properties that you want to use.
In my case I wanted to use the minlength property.
minlength
import FlexSearch from 'flexsearch' declare module 'flexsearch' { interface IndexOptions<T, Store extends StoreOption = false> { minlength?: number; } }
No branches or pull requests
The new type definitions are incredible. However it is missing some described, but not explicitly documented Index Options.
From Memory Allocation section:
minlength: number, fastupdate: boolean
From Right-To-Left Support section:
rtl: boolean
The text was updated successfully, but these errors were encountered: