Skip to main content

Home > @jsplumbtoolkit/search > jsPlumbToolkitSearchIndexOptions

jsPlumbToolkitSearchIndexOptions interface

Options for the search index.


export interface jsPlumbToolkitSearchIndexOptions 


caseSensitive?boolean(Optional) Whether or not the search index should ignore case. By default this is false.
exclusions?Array<string>(Optional) Optional list of field names to omit from the documents stored for each node. This means that any field in this list will not be indexed.
fields?Array<string>(Optional) Optional list of fields to index. By default this is empty, meaning all fields (minus any exclusions) will be indexed.
limit?number(Optional) Optional limit for the number of result a search should return. Defaults to 10.