Skip to main content

SearchIndexOptions

Options for the search index.

Properties

caseSensitive?

optional caseSensitive: boolean

Whether or not the search index should ignore case. By default this is false.


exclusions?

optional exclusions: string[]

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?

optional fields: string[]

Optional list of fields to index. By default this is empty, meaning all fields (minus any exclusions) will be indexed.


limit?

optional limit: number

Optional limit for the number of result a search should return. Defaults to 10.