Type Alias: IndexDefinition
IndexDefinition =
object
The definition of a single index.
Properties
allowEmpty?
readonlyoptionalallowEmpty:boolean
If true, indexing empty values will not emit a warning. Defaults to false.
jsonPointer
readonlyjsonPointer:string
A JSON Pointer pointing at the sub value inside each value to index over.
For example, one might index over users' ages like so:
{prefix: '/user/', jsonPointer: '/age'}
prefix?
readonlyoptionalprefix:string
The prefix, if any, to limit the index over. If not provided the values of all keys are indexed.