Package version:

Interface IndexingPolicy

interface IndexingPolicy {
    automatic?: boolean;
    compositeIndexes?: CompositePath[][];
    excludedPaths?: IndexedPath[];
    fullTextIndexes?: FullTextIndex[];
    includedPaths?: IndexedPath[];
    indexingMode?: "consistent" | "lazy" | "none";
    spatialIndexes?: SpatialIndex[];
    vectorIndexes?: VectorIndex[];
}

Properties

automatic?: boolean
compositeIndexes?: CompositePath[][]

An array of CompositeIndexes representing composite indexes to be included.

excludedPaths?: IndexedPath[]

An array of IncludedPath represents the paths to be excluded for indexing.

fullTextIndexes?: FullTextIndex[]

An array of FullTextIndex representing full text indexes to be included.

includedPaths?: IndexedPath[]

An array of IncludedPath represents the paths to be included for indexing.

indexingMode?: "consistent" | "lazy" | "none"

The indexing mode (consistent or lazy) IndexingMode.

spatialIndexes?: SpatialIndex[]
vectorIndexes?: VectorIndex[]

An array of VectorIndex represents the vector index paths to be included for indexing.