Optional
analyzer?: stringName of the default Analyzer to apply to the values of indexed fields.
Default: "identity"
Optional
cache?: boolean(Enterprise Edition only.) If set to true
, then field normalization
values will always be cached in memory.
Default: false
Optional
cleanupWait at least this many commits between removing unused files in the ArangoSearch data directory.
Default: 2
Optional
commitWait at least this many milliseconds between committing View data store changes and making documents visible to queries.
Default: 1000
Optional
consolidationWait at least this many milliseconds between applying
consolidationPolicy
to consolidate View data store and possibly release
space on the filesystem.
Default: 1000
Optional
consolidationThe consolidation policy to apply for selecting which segments should be merged.
Default: { type: "tier" }
Optional
features?: AnalyzerFeature[]List of Analyzer features to enable for the default Analyzer.
Defaults to the Analyzer's features.
An array of attribute paths or objects specifying options for the fields.
Optional
inIf set to true
, the index will be created in the background to reduce
the write-lock duration for the collection during index creation.
Default: false
Optional
includeIf set to true
, all document attributes are indexed, excluding any
sub-attributes configured in the fields
array. The analyzer
and
features
properties apply to the sub-attributes. This option only
applies when using the index in a SearchAlias View.
Default: false
Optional
name?: stringA unique name for this index.
Optional
optimizeAn array of strings defining sort expressions to optimize.
Optional
parallelism?: numberThe number of threads to use for indexing the fields.
Default: 2
Optional
primary(Enterprise Edition only.) If set to true
, then the primary key column
will always be cached in memory.
Default: false
Optional
primaryPrimary sort order to optimize AQL queries using a matching sort order.
Optional
cache?: boolean(Enterprise Edition only.) If set to true
, then primary sort columns
will always be cached in memory.
Default: false
Optional
compression?: CompressionHow the primary sort data should be compressed.
Default: "lz4"
An array of fields to sort the index by.
Optional
searchIf set to true
array values will by default be indexed using the same
behavior as ArangoSearch Views. This option only applies when using the
index in a SearchAlias View.
Default: false
Optional
storedAn array of attribute paths that will be stored in the index but can not be used for index lookups or sorting but can avoid full document lookups.
Optional
trackIf set to true
, the position of values in array values are tracked and
need to be specified in queries. Otherwise all values in an array are
treated as equivalent. This option only applies when using the index in a
SearchAlias View.
Default: false
Type of this index.
Optional
writeMaximum number of concurrent active writers (segments) that perform a transaction.
Default: 0
(disabled)
Optional
writeMaximum number of writers (segments) cached in the pool.
Default: 64
Optional
writeMaximum memory byte size per writer (segment) before a writer (segment) flush is triggered.
Default: 33554432
(32 MiB)
Generated using TypeDoc
Options for creating an inverted index.