IndexField uses ConstantsTrait
JSON field names exchanged with the ArangoDB index API (`/_api/index`), on both the request side (body of `POST /_api/index`) and the response side (entries of `GET /_api/index?collection=…` and `GET /_api/index/{id}`).
Tags
Table of Contents
Constants
- ANALYZER : string = 'analyzer'
- Analyzer name applied at the top level of an inverted index (`inverted` only).
- ASC : string = 'asc'
- Ascending-direction flag the server stores for each `primarySort` field (`{ field, asc:bool }`, `inverted` only) — the response-side counterpart of the request-side {@see DIRECTION}.
- CACHE : string = 'cache'
- Whether inverted-index entries are cached in memory (`inverted` only).
- CACHE_ENABLED : string = 'cacheEnabled'
- Whether the persistent index should keep an in-memory cache of frequently accessed entries (`persistent` only).
- CLEANUP_INTERVAL_STEP : string = 'cleanupIntervalStep'
- Frequency at which obsolete segments are cleaned up (`inverted` only).
- COMMIT_INTERVAL_MSEC : string = 'commitIntervalMsec'
- Commit interval, in milliseconds, between two index updates (`inverted` only).
- CONSOLIDATION_INTERVAL_MSEC : string = 'consolidationIntervalMsec'
- Consolidation interval, in milliseconds, between two segment merges (`inverted` only).
- DEDUPLICATE : string = 'deduplicate'
- Whether duplicate documents matching a unique index should be silently deduplicated rather than rejected (`persistent` only).
- DIRECTION : string = 'direction'
- Sort direction declared for a `primarySort` field (`{ field, direction:"asc"|"desc" }`, `inverted` only) — the request-side counterpart of the response-side {@see ASC}.
- ESTIMATES : string = 'estimates'
- Whether the index should maintain selectivity estimates for the query optimizer.
- EXPIRE_AFTER : string = 'expireAfter'
- Document lifetime (in seconds) past which documents are deleted by the TTL background task. Required for `ttl` indexes.
- FEATURES : string = 'features'
- Per-field features kept by an inverted index — typically a subset of `frequency`, `position`, `offset`, `norm` (`inverted` only).
- FIELD_VALUE_TYPES : string = 'fieldValueTypes'
- Numeric type stored for each indexed value (`mdi` / `mdi-prefixed` only). Currently the only accepted value is `"double"`.
- FIELDS : string = 'fields'
- List of document attribute paths the index applies to.
- GEO_JSON : string = 'geoJson'
- Whether the geo index input is expressed as GeoJSON (`{ type: 'Point', coordinates: [lng, lat] }`) rather than as a `[latitude, longitude]` pair (`geo` only).
- ID : string = 'id'
- Server-side index handle. Present on every response entry.
- IN_BACKGROUND : string = 'inBackground'
- Whether to build the index in the background, without blocking concurrent writes to the collection.
- INCLUDE_ALL_FIELDS : string = 'includeAllFields'
- Whether the inverted index covers every attribute of the documents, regardless of `fields` (`inverted` only).
- INDEXES : string = 'indexes'
- Wrapper field carrying the listing of indexes in the response of `GET /_api/index?collection=…`.
- MIN_LENGTH : string = 'minLength'
- Minimum word length to index, in characters (`fulltext` only).
- NAME : string = 'name'
- Optional human-readable index name. Used by {@see \oihana\arango\clients\collection\Collection::dropIndex()} as an alternative to the numeric `id`.
- PARALLELISM : string = 'parallelism'
- Parallelism level — number of threads that may build / query the index in parallel (`inverted` / `vector` only).
- PARAMS : string = 'params'
- Type-specific structured options (currently used by `vector` to carry the Faiss configuration: `dimensions`, `metric`, `nLists`, `defaultNProbe`, `factory`, …).
- PREFIX_FIELDS : string = 'prefixFields'
- Prefix attributes for an `mdi-prefixed` index — must be supplied verbatim on every query that targets the index.
- PRIMARY_KEY_CACHE : string = 'primaryKeyCache'
- Whether the inverted index keeps a cache of primary-key values (`inverted` only).
- PRIMARY_SORT : string = 'primarySort'
- Primary sort definition of an inverted index (`inverted` only).
- SEARCH_FIELD : string = 'searchField'
- Whether the inverted index is a search-only field (no document lookup, `inverted` only).
- SPARSE : string = 'sparse'
- Whether to skip documents missing every indexed attribute (`persistent` only).
- STORED_VALUES : string = 'storedValues'
- Additional attribute paths kept alongside the index entries to answer covering queries without touching the document (`persistent`, `mdi`, `mdi-prefixed`, `inverted`, `vector`).
- TRACK_LIST_POSITIONS : string = 'trackListPositions'
- Whether the inverted index records the positions of each token within the source field (`inverted` only).
- TYPE : string = 'type'
- Index type marker — one of {@see IndexType}.
- UNIQUE : string = 'unique'
- Whether the index enforces uniqueness across indexed attribute tuples (`persistent` only).
Constants
ANALYZER
Analyzer name applied at the top level of an inverted index (`inverted` only).
public
string
ANALYZER
= 'analyzer'
ASC
Ascending-direction flag the server stores for each `primarySort` field (`{ field, asc:bool }`, `inverted` only) — the response-side counterpart of the request-side {@see DIRECTION}.
public
string
ASC
= 'asc'
CACHE
Whether inverted-index entries are cached in memory (`inverted` only).
public
string
CACHE
= 'cache'
CACHE_ENABLED
Whether the persistent index should keep an in-memory cache of frequently accessed entries (`persistent` only).
public
string
CACHE_ENABLED
= 'cacheEnabled'
CLEANUP_INTERVAL_STEP
Frequency at which obsolete segments are cleaned up (`inverted` only).
public
string
CLEANUP_INTERVAL_STEP
= 'cleanupIntervalStep'
COMMIT_INTERVAL_MSEC
Commit interval, in milliseconds, between two index updates (`inverted` only).
public
string
COMMIT_INTERVAL_MSEC
= 'commitIntervalMsec'
CONSOLIDATION_INTERVAL_MSEC
Consolidation interval, in milliseconds, between two segment merges (`inverted` only).
public
string
CONSOLIDATION_INTERVAL_MSEC
= 'consolidationIntervalMsec'
DEDUPLICATE
Whether duplicate documents matching a unique index should be silently deduplicated rather than rejected (`persistent` only).
public
string
DEDUPLICATE
= 'deduplicate'
DIRECTION
Sort direction declared for a `primarySort` field (`{ field, direction:"asc"|"desc" }`, `inverted` only) — the request-side counterpart of the response-side {@see ASC}.
public
string
DIRECTION
= 'direction'
ESTIMATES
Whether the index should maintain selectivity estimates for the query optimizer.
public
string
ESTIMATES
= 'estimates'
EXPIRE_AFTER
Document lifetime (in seconds) past which documents are deleted by the TTL background task. Required for `ttl` indexes.
public
string
EXPIRE_AFTER
= 'expireAfter'
FEATURES
Per-field features kept by an inverted index — typically a subset of `frequency`, `position`, `offset`, `norm` (`inverted` only).
public
string
FEATURES
= 'features'
FIELD_VALUE_TYPES
Numeric type stored for each indexed value (`mdi` / `mdi-prefixed` only). Currently the only accepted value is `"double"`.
public
string
FIELD_VALUE_TYPES
= 'fieldValueTypes'
FIELDS
List of document attribute paths the index applies to.
public
string
FIELDS
= 'fields'
GEO_JSON
Whether the geo index input is expressed as GeoJSON (`{ type: 'Point', coordinates: [lng, lat] }`) rather than as a `[latitude, longitude]` pair (`geo` only).
public
string
GEO_JSON
= 'geoJson'
ID
Server-side index handle. Present on every response entry.
public
string
ID
= 'id'
IN_BACKGROUND
Whether to build the index in the background, without blocking concurrent writes to the collection.
public
string
IN_BACKGROUND
= 'inBackground'
INCLUDE_ALL_FIELDS
Whether the inverted index covers every attribute of the documents, regardless of `fields` (`inverted` only).
public
string
INCLUDE_ALL_FIELDS
= 'includeAllFields'
INDEXES
Wrapper field carrying the listing of indexes in the response of `GET /_api/index?collection=…`.
public
string
INDEXES
= 'indexes'
MIN_LENGTH
Minimum word length to index, in characters (`fulltext` only).
public
string
MIN_LENGTH
= 'minLength'
NAME
Optional human-readable index name. Used by {@see \oihana\arango\clients\collection\Collection::dropIndex()} as an alternative to the numeric `id`.
public
string
NAME
= 'name'
PARALLELISM
Parallelism level — number of threads that may build / query the index in parallel (`inverted` / `vector` only).
public
string
PARALLELISM
= 'parallelism'
PARAMS
Type-specific structured options (currently used by `vector` to carry the Faiss configuration: `dimensions`, `metric`, `nLists`, `defaultNProbe`, `factory`, …).
public
string
PARAMS
= 'params'
PREFIX_FIELDS
Prefix attributes for an `mdi-prefixed` index — must be supplied verbatim on every query that targets the index.
public
string
PREFIX_FIELDS
= 'prefixFields'
PRIMARY_KEY_CACHE
Whether the inverted index keeps a cache of primary-key values (`inverted` only).
public
string
PRIMARY_KEY_CACHE
= 'primaryKeyCache'
PRIMARY_SORT
Primary sort definition of an inverted index (`inverted` only).
public
string
PRIMARY_SORT
= 'primarySort'
SEARCH_FIELD
Whether the inverted index is a search-only field (no document lookup, `inverted` only).
public
string
SEARCH_FIELD
= 'searchField'
SPARSE
Whether to skip documents missing every indexed attribute (`persistent` only).
public
string
SPARSE
= 'sparse'
STORED_VALUES
Additional attribute paths kept alongside the index entries to answer covering queries without touching the document (`persistent`, `mdi`, `mdi-prefixed`, `inverted`, `vector`).
public
string
STORED_VALUES
= 'storedValues'
TRACK_LIST_POSITIONS
Whether the inverted index records the positions of each token within the source field (`inverted` only).
public
string
TRACK_LIST_POSITIONS
= 'trackListPositions'
TYPE
Index type marker — one of {@see IndexType}.
public
string
TYPE
= 'type'
UNIQUE
Whether the index enforces uniqueness across indexed attribute tuples (`persistent` only).
public
string
UNIQUE
= 'unique'