arangojs 10.2.2 → 10.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +46 -0
- package/cjs/connection.js +1 -1
- package/cjs/databases.d.ts.map +1 -1
- package/cjs/databases.js +11 -1
- package/cjs/databases.js.map +1 -1
- package/cjs/indexes.d.ts +26 -0
- package/cjs/indexes.d.ts.map +1 -1
- package/cjs/indexes.js.map +1 -1
- package/cjs/queries.d.ts +71 -1
- package/cjs/queries.d.ts.map +1 -1
- package/cjs/queries.js.map +1 -1
- package/databases.d.ts.map +1 -1
- package/esm/connection.js +1 -1
- package/esm/databases.d.ts.map +1 -1
- package/esm/databases.js +11 -1
- package/esm/databases.js.map +1 -1
- package/esm/indexes.d.ts +26 -0
- package/esm/indexes.d.ts.map +1 -1
- package/esm/indexes.js.map +1 -1
- package/esm/queries.d.ts +71 -1
- package/esm/queries.d.ts.map +1 -1
- package/esm/queries.js.map +1 -1
- package/indexes.d.ts +26 -0
- package/indexes.d.ts.map +1 -1
- package/package.json +1 -1
- package/queries.d.ts +71 -1
- package/queries.d.ts.map +1 -1
package/esm/indexes.d.ts
CHANGED
|
@@ -532,6 +532,13 @@ export type EnsureVectorIndexOptions = EnsureIndexOptionsType<"vector", [
|
|
|
532
532
|
* Introduced in: ArangoDB 3.12.7
|
|
533
533
|
*/
|
|
534
534
|
storedValues?: string[];
|
|
535
|
+
/**
|
|
536
|
+
* Whether to create a sparse index that excludes documents with the
|
|
537
|
+
* attribute for indexing missing or set to `null`.
|
|
538
|
+
*
|
|
539
|
+
* Default: `false`
|
|
540
|
+
*/
|
|
541
|
+
sparse?: boolean;
|
|
535
542
|
/**
|
|
536
543
|
* Vector index parameters, following Faiss configuration.
|
|
537
544
|
*/
|
|
@@ -802,6 +809,12 @@ export type HiddenIndexDescription = (IndexDescription | InternalIndexDescriptio
|
|
|
802
809
|
*/
|
|
803
810
|
progress?: number;
|
|
804
811
|
};
|
|
812
|
+
/**
|
|
813
|
+
* Training lifecycle state reported for a vector index.
|
|
814
|
+
*
|
|
815
|
+
* Introduced in: ArangoDB 3.12.9
|
|
816
|
+
*/
|
|
817
|
+
export type VectorIndexTrainingState = "unusable" | "training" | "ingesting" | "ready";
|
|
805
818
|
/**
|
|
806
819
|
* An object representing a vector index.
|
|
807
820
|
*/
|
|
@@ -817,6 +830,19 @@ export type VectorIndexDescription = IndexDescriptionType<"vector", [
|
|
|
817
830
|
* Introduced in: ArangoDB 3.12.7
|
|
818
831
|
*/
|
|
819
832
|
storedValues?: string[];
|
|
833
|
+
/**
|
|
834
|
+
* Current training state of the vector index.
|
|
835
|
+
*
|
|
836
|
+
* Introduced in: ArangoDB 3.12.9. Omitted on older server versions.
|
|
837
|
+
*/
|
|
838
|
+
trainingState?: VectorIndexTrainingState;
|
|
839
|
+
/**
|
|
840
|
+
* Optional detail when training fails or the index is unusable
|
|
841
|
+
* (for example, insufficient training data).
|
|
842
|
+
*
|
|
843
|
+
* Introduced in: ArangoDB 3.12.9. Only present when there is a problem with the index.
|
|
844
|
+
*/
|
|
845
|
+
errorMessage?: string;
|
|
820
846
|
params: {
|
|
821
847
|
metric: "cosine" | "l2" | "innerProduct";
|
|
822
848
|
dimension: number;
|
package/esm/indexes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexes.d.ts","sourceRoot":"","sources":["../../src/indexes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,KAAK,MAAM,YAAY,CAAC;AAGpC;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,gBAAgB,CAAC,MAAM,CAAC,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG,wBAAwB,CAAC,MAAM,CAAC,CAAC;AAIjE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAI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C;CACd,CAAC;AAEF;;GAEG;AACH,wBAAgB,YAAY,CAC1B,QAAQ,EAAE,aAAa,EACvB,cAAc,EAAE,MAAM,GACrB,MAAM,CAmBR"}
|
package/esm/indexes.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexes.js","sourceRoot":"","sources":["../../src/indexes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAu8BH;;GAEG;AACH,MAAM,UAAU,YAAY,CAC1B,QAAuB,EACvB,cAAsB;IAEtB,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QACjC,IAAI,QAAQ,CAAC,EAAE,EAAE,CAAC;YAChB,OAAO,YAAY,CAAC,QAAQ,CAAC,EAAE,EAAE,cAAc,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,IAAI,KAAK,CACb,iEAAiE,CAClE,CAAC;IACJ,CAAC;IACD,IAAI,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QAC3B,MAAM,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACnC,IAAI,IAAI,KAAK,cAAc,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CACb,aAAa,QAAQ,qCAAqC,cAAc,GAAG,CAC5E,CAAC;QACJ,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,OAAO,GAAG,cAAc,IAAI,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;AACjD,CAAC;AACD,YAAY","sourcesContent":["/**\r\n * ```ts\r\n * import type {\r\n * FulltextIndex,\r\n * GeoIndex,\r\n * MdiIndex,\r\n * PersistentIndex,\r\n * PrimaryIndex,\r\n * TtlIndex,\r\n * } from \"arangojs/indexes\";\r\n * ```\r\n *\r\n * The \"indexes\" module provides index-related types for TypeScript.\r\n *\r\n * @packageDocumentation\r\n */\r\n\r\nimport * as analyzers from \"./analyzers.js\";\r\nimport * as views from \"./views.js\";\r\n\r\n//#region Shared types\r\n/**\r\n * Type of an index.\r\n */\r\nexport type IndexType = IndexDescription[\"type\"];\r\n\r\n/**\r\n * Type of an internal index.\r\n */\r\nexport type InternalIndexType = InternalIndexDescription[\"type\"];\r\n//#endregion\r\n\r\n//#region Index operation options\r\n/**\r\n * Options for listing indexes.\r\n */\r\nexport type ListIndexesOptions = {\r\n /**\r\n * If set to `true`, includes additional information about each index.\r\n *\r\n * Default: `false`\r\n */\r\n withStats?: boolean;\r\n /**\r\n * If set to `true`, includes internal indexes as well as indexes that are\r\n * not yet fully built but are in the building phase.\r\n *\r\n * You should cast the resulting indexes to `HiddenIndex` to ensure internal\r\n * and incomplete indexes are accurately represented.\r\n *\r\n * Default: `false`.\r\n */\r\n withHidden?: boolean;\r\n};\r\n\r\n/**\r\n * Options for creating an index.\r\n */\r\nexport type EnsureIndexOptions =\r\n | EnsurePersistentIndexOptions\r\n | EnsureGeoIndexOptions\r\n | EnsureTtlIndexOptions\r\n | EnsureMdiIndexOptions\r\n | EnsureMdiPrefixedIndexOptions\r\n | EnsureInvertedIndexOptions\r\n | EnsureVectorIndexOptions;\r\n\r\n/**\r\n * Shared attributes of all index creation options.\r\n */\r\nexport type EnsureIndexOptionsType<\r\n Type extends IndexType,\r\n Fields extends any[],\r\n Extra extends {} = {},\r\n> = {\r\n /**\r\n * A unique name for this index.\r\n */\r\n name?: string;\r\n /**\r\n * Type of this index.\r\n */\r\n type: Type;\r\n /**\r\n * An array of attribute paths.\r\n */\r\n fields: Fields;\r\n /**\r\n * If set to `true`, the index will be created in the background to reduce\r\n * the write-lock duration for the collection during index creation.\r\n *\r\n * Default: `false`\r\n */\r\n inBackground?: boolean;\r\n} & Extra;\r\n\r\n/**\r\n * Options for creating a persistent index.\r\n */\r\nexport type EnsurePersistentIndexOptions = EnsureIndexOptionsType<\r\n \"persistent\",\r\n string[],\r\n {\r\n /**\r\n * If set to `true`, a unique index will be created.\r\n *\r\n * Default: `false`\r\n */\r\n unique?: boolean;\r\n /**\r\n * If set to `true`, the index will omit documents that do not contain at\r\n * least one of the attribute paths in `fields` and these documents will be\r\n * ignored for uniqueness checks.\r\n *\r\n * Default: `false`\r\n */\r\n sparse?: boolean;\r\n /**\r\n * If set to `false`, inserting duplicate index values from the same\r\n * document will lead to a unique constraint error if this is a unique index.\r\n *\r\n * Default: `true`\r\n */\r\n deduplicate?: boolean;\r\n /**\r\n * If set to `false`, index selectivity estimates will be disabled for this\r\n * index.\r\n *\r\n * Default: `true`\r\n */\r\n estimates?: boolean;\r\n /**\r\n * If set to `true`, an in-memory hash cache will be put in front of the\r\n * persistent index.\r\n *\r\n * Default: `false`\r\n */\r\n cacheEnabled?: boolean;\r\n /**\r\n * An array of attribute paths that will be stored in the index but can not\r\n * be used for index lookups or sorting but can avoid full document lookups.\r\n */\r\n storedValues?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * Options for creating a geo index.\r\n */\r\nexport type EnsureGeoIndexOptions = EnsureIndexOptionsType<\r\n \"geo\",\r\n [string, string] | [string],\r\n {\r\n /**\r\n * If set to `true`, `fields` must be an array containing a single attribute\r\n * path and the attribute value must be an array with two values, the first\r\n * of which will be interpreted as the longitude and the second of which\r\n * will be interpreted as the latitude of the document.\r\n *\r\n * If set to `false`, `fields` can be either an array containing two\r\n * attribute paths, the first of which will be interpreted as the latitude\r\n * and the second as the longitude, or a single attribute path for an array\r\n * containing two values, the first of which will be interpreted as the\r\n * latitude, the second as the longitude.\r\n *\r\n * Default: `false`\r\n */\r\n geoJson?: boolean;\r\n /**\r\n * If set to `true`, the index will use pre-3.10 rules for parsing\r\n * GeoJSON polygons. This option is always implicitly `true` when using\r\n * ArangoDB 3.9 or lower.\r\n */\r\n legacyPolygons?: boolean;\r\n }\r\n>;\r\n\r\n/**\r\n * Options for creating a TTL index.\r\n */\r\nexport type EnsureTtlIndexOptions = EnsureIndexOptionsType<\r\n \"ttl\",\r\n [string],\r\n {\r\n /**\r\n * Duration in seconds after the attribute value at which the document will\r\n * be considered as expired.\r\n */\r\n expireAfter: number;\r\n }\r\n>;\r\n\r\n/**\r\n * Options for creating a MDI index.\r\n */\r\nexport type EnsureMdiIndexOptions = EnsureIndexOptionsType<\r\n \"mdi\",\r\n string[],\r\n {\r\n /**\r\n * Data type of the dimension attributes.\r\n */\r\n fieldValueTypes: \"double\";\r\n /**\r\n * If set to `true`, a unique index will be created.\r\n *\r\n * Default: `false`\r\n */\r\n unique?: boolean;\r\n /**\r\n * If set to `true`, the index will omit documents that do not contain at\r\n * least one of the attribute paths in `fields` and these documents will be\r\n * ignored for uniqueness checks.\r\n *\r\n * Default: `false`\r\n */\r\n sparse?: boolean;\r\n /**\r\n * If set to `false`, index selectivity estimates will be disabled for this\r\n * index.\r\n *\r\n * Default: `true`\r\n */\r\n estimates?: boolean;\r\n /**\r\n * An array of attribute paths that will be stored in the index but can not\r\n * be used for index lookups or sorting but can avoid full document lookups.\r\n */\r\n storedValues?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * Options for creating a prefixed MDI index.\r\n */\r\nexport type EnsureMdiPrefixedIndexOptions = EnsureIndexOptionsType<\r\n \"mdi-prefixed\",\r\n string[],\r\n {\r\n /**\r\n * An array of attribute names used as a search prefix.\r\n */\r\n prefixFields: string[];\r\n /**\r\n * Data type of the dimension attributes.\r\n */\r\n fieldValueTypes: \"double\";\r\n /**\r\n * If set to `true`, a unique index will be created.\r\n *\r\n * Default: `false`\r\n */\r\n unique?: boolean;\r\n /**\r\n * If set to `true`, the index will omit documents that do not contain at\r\n * least one of the attribute paths in `fields` and these documents will be\r\n * ignored for uniqueness checks.\r\n *\r\n * Default: `false`\r\n */\r\n sparse?: boolean;\r\n /**\r\n * If set to `false`, index selectivity estimates will be disabled for this\r\n * index.\r\n *\r\n * Default: `true`\r\n */\r\n estimates?: boolean;\r\n /**\r\n * An array of attribute paths that will be stored in the index but can not\r\n * be used for index lookups or sorting but can avoid full document lookups.\r\n */\r\n storedValues?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * Options for creating an inverted index.\r\n */\r\nexport type EnsureInvertedIndexOptions = EnsureIndexOptionsType<\r\n \"inverted\",\r\n (string | InvertedIndexFieldOptions)[],\r\n {\r\n /**\r\n * If set to `true` array values will by default be indexed using the same\r\n * behavior as ArangoSearch Views. This option only applies when using the\r\n * index in a SearchAlias View.\r\n *\r\n * Default: `false`\r\n */\r\n searchField?: boolean;\r\n /**\r\n * An array of attribute paths that will be stored in the index but can not\r\n * be used for index lookups or sorting but can avoid full document lookups.\r\n */\r\n storedValues?: InvertedIndexStoredValueOptions[];\r\n /**\r\n * Primary sort order to optimize AQL queries using a matching sort order.\r\n */\r\n primarySort?: InvertedIndexPrimarySortOptions;\r\n /**\r\n * (Enterprise Edition only.) If set to `true`, then the primary key column\r\n * will always be cached in memory.\r\n *\r\n * Default: `false`\r\n */\r\n primaryKeyCache?: boolean;\r\n /**\r\n * Name of the default Analyzer to apply to the values of indexed fields.\r\n *\r\n * Default: `\"identity\"`\r\n */\r\n analyzer?: string;\r\n /**\r\n * List of Analyzer features to enable for the default Analyzer.\r\n *\r\n * Defaults to the Analyzer's features.\r\n */\r\n features?: analyzers.AnalyzerFeature[];\r\n /**\r\n * If set to `true`, all document attributes are indexed, excluding any\r\n * sub-attributes configured in the `fields` array. The `analyzer` and\r\n * `features` properties apply to the sub-attributes. This option only\r\n * applies when using the index in a SearchAlias View.\r\n *\r\n * Default: `false`\r\n */\r\n includeAllFields?: boolean;\r\n /**\r\n * If set to `true`, the position of values in array values are tracked and\r\n * need to be specified in queries. Otherwise all values in an array are\r\n * treated as equivalent. This option only applies when using the index in a\r\n * SearchAlias View.\r\n *\r\n * Default: `false`\r\n */\r\n trackListPositions?: boolean;\r\n /**\r\n * The number of threads to use for indexing the fields.\r\n *\r\n * Default: `2`\r\n */\r\n parallelism?: number;\r\n /**\r\n * Wait at least this many commits between removing unused files in the\r\n * ArangoSearch data directory.\r\n *\r\n * Default: `2`\r\n */\r\n cleanupIntervalStep?: number;\r\n /**\r\n * Wait at least this many milliseconds between committing View data store\r\n * changes and making documents visible to queries.\r\n *\r\n * Default: `1000`\r\n */\r\n commitIntervalMsec?: number;\r\n /**\r\n * Wait at least this many milliseconds between applying\r\n * `consolidationPolicy` to consolidate View data store and possibly release\r\n * space on the filesystem.\r\n *\r\n * Default: `1000`\r\n */\r\n consolidationIntervalMsec?: number;\r\n /**\r\n * The consolidation policy to apply for selecting which segments should be\r\n * merged.\r\n *\r\n * Default: `{ type: \"tier\" }`\r\n */\r\n consolidationPolicy?: views.TierConsolidationPolicy;\r\n /**\r\n * Maximum number of writers (segments) cached in the pool.\r\n *\r\n * Default: `64`\r\n */\r\n writeBufferIdle?: number;\r\n /**\r\n * Maximum number of concurrent active writers (segments) that perform a\r\n * transaction.\r\n *\r\n * Default: `0` (disabled)\r\n */\r\n writeBufferActive?: number;\r\n /**\r\n * Maximum memory byte size per writer (segment) before a writer (segment)\r\n * flush is triggered.\r\n *\r\n * Default: `33554432` (32 MiB)\r\n */\r\n writeBufferSizeMax?: number;\r\n /**\r\n * (Enterprise Edition only.) If set to `true`, then field normalization\r\n * values will always be cached in memory.\r\n *\r\n * Default: `false`\r\n */\r\n cache?: boolean;\r\n /**\r\n * An array of strings defining sort expressions to optimize.\r\n */\r\n optimizeTopK?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * Options for an attribute path in an inverted index.\r\n */\r\nexport type InvertedIndexFieldOptions = {\r\n /**\r\n * An attribute path.\r\n */\r\n name: string;\r\n /**\r\n * Name of the Analyzer to apply to the values of this field.\r\n *\r\n * Defaults to the `analyzer` specified on the index itself.\r\n */\r\n analyzer?: string;\r\n /**\r\n * List of Analyzer features to enable for this field's Analyzer.\r\n *\r\n * Defaults to the features of the Analyzer.\r\n */\r\n features?: analyzers.AnalyzerFeature[];\r\n /**\r\n * If set to `true`, all document attributes are indexed, excluding any\r\n * sub-attributes configured in the `fields` array. The `analyzer` and\r\n * `features` properties apply to the sub-attributes. This option only\r\n * applies when using the index in a SearchAlias View.\r\n *\r\n * Defaults to the value of `includeAllFields` specified on the index itself.\r\n */\r\n includeAllFields?: boolean;\r\n /**\r\n * If set to `true` array values will be indexed using the same behavior as\r\n * ArangoSearch Views. This option only applies when using the index in a\r\n * SearchAlias View.\r\n *\r\n * Defaults to the value of `searchField` specified on the index itself.\r\n */\r\n searchField?: boolean;\r\n /**\r\n * If set to `true`, the position of values in array values are tracked and\r\n * need to be specified in queries. Otherwise all values in an array are\r\n * treated as equivalent. This option only applies when using the index in a\r\n * SearchAlias View.\r\n *\r\n * Defaults to the value of `trackListPositions` specified on the index\r\n * itself.\r\n */\r\n trackListPositions?: boolean;\r\n /**\r\n * (Enterprise Edition only.) Sub-objects to index to allow querying for\r\n * co-occurring values.\r\n */\r\n nested?: (string | InvertedIndexNestedFieldOptions)[];\r\n /**\r\n * (Enterprise Edition only.) If set to `true`, then field normalization\r\n * values will always be cached in memory.\r\n *\r\n * Defaults to the value of `cache` specified on the index itself.\r\n */\r\n cache?: boolean;\r\n};\r\n\r\n/**\r\n * Options for defining a primary sort field on an inverted index.\r\n */\r\nexport type InvertedIndexPrimarySortOptions = {\r\n /**\r\n * An array of fields to sort the index by.\r\n */\r\n fields: InvertedIndexPrimarySortFieldOptions[];\r\n /**\r\n * How the primary sort data should be compressed.\r\n *\r\n * Default: `\"lz4\"`\r\n */\r\n compression?: views.Compression;\r\n /**\r\n * (Enterprise Edition only.) If set to `true`, then primary sort columns\r\n * will always be cached in memory.\r\n *\r\n * Default: `false`\r\n */\r\n cache?: boolean;\r\n};\r\n\r\n/**\r\n * Options for defining a primary sort field on an inverted index.\r\n */\r\nexport type InvertedIndexPrimarySortFieldOptions = {\r\n /**\r\n * The attribute path to sort by.\r\n */\r\n field: string;\r\n /**\r\n * The sorting direction.\r\n */\r\n direction: views.Direction;\r\n};\r\n\r\n/**\r\n * (Enterprise Edition only.) Options for a nested field in an inverted index.\r\n */\r\nexport type InvertedIndexNestedFieldOptions = {\r\n /**\r\n * An attribute path.\r\n */\r\n name: string;\r\n /**\r\n * Name of the Analyzer to apply to the values of this field.\r\n *\r\n * Defaults to the `analyzer` specified on the parent options or on the index\r\n * itself.\r\n */\r\n analyzer?: string;\r\n /**\r\n * List of Analyzer features to enable for this field's Analyzer.\r\n *\r\n * Defaults to the features of the Analyzer.\r\n */\r\n features?: analyzers.AnalyzerFeature[];\r\n /**\r\n * If set to `true` array values will be indexed using the same behavior as\r\n * ArangoSearch Views. This option only applies when using the index in a\r\n * SearchAlias View.\r\n *\r\n * Defaults to the value of `searchField` specified on the index itself.\r\n */\r\n searchField?: boolean;\r\n /**\r\n * Sub-objects to index to allow querying for co-occurring values.\r\n */\r\n nested?: (string | InvertedIndexNestedFieldOptions)[];\r\n};\r\n\r\n/**\r\n * Options for defining a stored value on an inverted index.\r\n */\r\nexport type InvertedIndexStoredValueOptions = {\r\n /**\r\n * The attribute paths to store.\r\n */\r\n fields: string[];\r\n /**\r\n * How the attribute values should be compressed.\r\n *\r\n * Default: `\"lz4\"`\r\n */\r\n compression?: views.Compression;\r\n /**\r\n * (Enterprise Edition only.) If set to `true`, then stored values will\r\n * always be cached in memory.\r\n *\r\n * Default: `false`\r\n */\r\n cache?: boolean;\r\n};\r\n\r\n/**\r\n * Options for creating a vector index.\r\n */\r\nexport type EnsureVectorIndexOptions = EnsureIndexOptionsType<\r\n \"vector\",\r\n [string],\r\n {\r\n /**\r\n * The number of threads to use for indexing. Default is 2.\r\n */\r\n parallelism?: number;\r\n\r\n /**\r\n * An array of attribute paths that will be stored in the index for\r\n * efficient filtering. Unlike with other index types, this is not for\r\n * covering projections with the index but for adding attributes that\r\n * you filter on. This lets you make the lookup in the vector index\r\n * more efficient because it avoids materializing documents twice,\r\n * once for the filtering and once for the matches.\r\n *\r\n * The maximum number of attributes that you can use in storedValues is 32.\r\n *\r\n * Introduced in: ArangoDB 3.12.7\r\n */\r\n storedValues?: string[];\r\n\r\n /**\r\n * Vector index parameters, following Faiss configuration.\r\n */\r\n params: {\r\n /**\r\n * Whether to use cosine, l2 (Euclidean), or innerProduct distance.\r\n * innerProduct was introduced in ArangoDB 3.12.6.\r\n */\r\n metric: \"cosine\" | \"l2\" | \"innerProduct\";\r\n\r\n /**\r\n * Vector dimension. Must match the length of vectors in documents.\r\n */\r\n dimension: number;\r\n\r\n /**\r\n * Number of Voronoi cells (centroids) for IVF. Affects accuracy and index build time.\r\n */\r\n nLists: number;\r\n\r\n /**\r\n * How many neighboring centroids to probe by default. Higher = slower, better recall.\r\n */\r\n defaultNProbe?: number;\r\n\r\n /**\r\n * Training iterations for index build. Default is 25.\r\n */\r\n trainingIterations?: number;\r\n\r\n /**\r\n * Advanced Faiss index factory string.\r\n * If not specified, defaults to IVF<nLists>,Flat.\r\n */\r\n factory?: string;\r\n };\r\n }\r\n>;\r\n//#endregion\r\n\r\n//#region IndexDescription\r\n/**\r\n * An object representing an index.\r\n */\r\nexport type IndexDescription =\r\n | FulltextIndexDescription\r\n | GeoIndexDescription\r\n | PersistentIndexDescription\r\n | TtlIndexDescription\r\n | MdiIndexDescription\r\n | MdiPrefixedIndexDescription\r\n | InvertedIndexDescription\r\n | SystemIndexDescription\r\n | VectorIndexDescription;\r\n\r\n/**\r\n * An object representing a system index.\r\n */\r\nexport type SystemIndexDescription =\r\n | PrimaryIndexDescription\r\n | EdgeIndexDescription;\r\n\r\n/**\r\n * Shared attributes of all index types.\r\n */\r\nexport type IndexDescriptionType<\r\n Type extends string,\r\n Fields extends any[],\r\n Extra extends {} = {},\r\n> = {\r\n /**\r\n * A unique name for this index.\r\n */\r\n name: string;\r\n /**\r\n * A unique identifier for this index.\r\n */\r\n id: string;\r\n /**\r\n * Type of this index.\r\n */\r\n type: Type;\r\n /**\r\n * An array of attribute paths.\r\n */\r\n fields: Fields;\r\n /**\r\n * Whether documents not containing at least one of the attribute paths\r\n * are omitted by this index.\r\n */\r\n sparse: boolean;\r\n /**\r\n * Whether this index enforces uniqueness for values of its attribute paths.\r\n */\r\n unique: boolean;\r\n /**\r\n * Additional stats about this index.\r\n */\r\n figures?: Record<string, any>;\r\n} & Extra;\r\n\r\n/**\r\n * An object representing a persistent index.\r\n */\r\nexport type PersistentIndexDescription = IndexDescriptionType<\r\n \"persistent\",\r\n string[],\r\n {\r\n cacheEnabled: boolean;\r\n deduplicate: boolean;\r\n estimates: boolean;\r\n selectivityEstimate: number;\r\n storedValues?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a primary index.\r\n */\r\nexport type PrimaryIndexDescription = IndexDescriptionType<\r\n \"primary\",\r\n [\"_key\"],\r\n {\r\n selectivityEstimate: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing an edge index.\r\n */\r\nexport type EdgeIndexDescription = IndexDescriptionType<\r\n \"edge\",\r\n [\"_from\", \"_to\"],\r\n {\r\n selectivityEstimate: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a fulltext index.\r\n *\r\n * @deprecated The `fulltext` index type was deprecated in ArangoDB 3.10. Use\r\n * {@link views.View}s instead.\r\n */\r\nexport type FulltextIndexDescription = IndexDescriptionType<\r\n \"fulltext\",\r\n [string],\r\n {\r\n minLength: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing an edge index.\r\n */\r\nexport type EdgeIndex = IndexDescriptionType<\r\n \"edge\",\r\n [\"_from\", \"_to\"],\r\n {\r\n selectivityEstimate: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a fulltext index.\r\n *\r\n * @deprecated The `fulltext` index type was deprecated in ArangoDB 3.10. Use\r\n * {@link views.View} instead.\r\n */\r\nexport type FulltextIndex = IndexDescriptionType<\r\n \"fulltext\",\r\n [string],\r\n {\r\n minLength: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a geo index.\r\n */\r\nexport type GeoIndexDescription = IndexDescriptionType<\r\n \"geo\",\r\n [string] | [string, string],\r\n {\r\n geoJson: boolean;\r\n legacyPolygons: boolean;\r\n bestIndexedLevel: number;\r\n worstIndexedLevel: number;\r\n maxNumCoverCells: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a TTL index.\r\n */\r\nexport type TtlIndexDescription = IndexDescriptionType<\r\n \"ttl\",\r\n [string],\r\n {\r\n expireAfter: number;\r\n estimates: boolean;\r\n selectivityEstimate: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a MDI index.\r\n */\r\nexport type MdiIndexDescription = IndexDescriptionType<\r\n \"mdi\",\r\n string[],\r\n {\r\n fieldValueTypes: \"double\";\r\n estimates: boolean;\r\n selectivityEstimate: number;\r\n storedValues?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a prefixed MDI index.\r\n */\r\nexport type MdiPrefixedIndexDescription = IndexDescriptionType<\r\n \"mdi-prefixed\",\r\n string[],\r\n {\r\n fieldValueTypes: \"double\";\r\n estimates: boolean;\r\n selectivityEstimate: number;\r\n storedValues?: string[];\r\n prefixFields: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing an inverted index.\r\n */\r\nexport type InvertedIndexDescription = IndexDescriptionType<\r\n \"inverted\",\r\n InvertedIndexField[],\r\n {\r\n searchField: boolean;\r\n cache?: boolean;\r\n storedValues: {\r\n fields: string[];\r\n compression: views.Compression;\r\n cache?: boolean;\r\n }[];\r\n primarySort: {\r\n fields: {\r\n field: string;\r\n direction: views.Direction;\r\n }[];\r\n compression: views.Compression;\r\n cache?: boolean;\r\n };\r\n primaryKeyCache?: boolean;\r\n analyzer: string;\r\n features: analyzers.AnalyzerFeature[];\r\n includeAllFields: boolean;\r\n trackListPositions: boolean;\r\n parallelism: number;\r\n cleanupIntervalStep: number;\r\n commitIntervalMsec: number;\r\n consolidationIntervalMsec: number;\r\n consolidationPolicy: Required<views.TierConsolidationPolicy>;\r\n writeBufferIdle: number;\r\n writeBufferActive: number;\r\n writeBufferSizeMax: number;\r\n optimizeTopK: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a field in an inverted index.\r\n */\r\nexport type InvertedIndexField = {\r\n name: string;\r\n analyzer?: string;\r\n features?: analyzers.AnalyzerFeature[];\r\n includeAllFields?: boolean;\r\n searchField?: boolean;\r\n trackListPositions?: boolean;\r\n nested?: InvertedIndexNestedField[];\r\n cache?: boolean;\r\n};\r\n\r\n/**\r\n * (Enterprise Edition only.) An object representing a nested field in an\r\n * inverted index.\r\n */\r\nexport type InvertedIndexNestedField = {\r\n name: string;\r\n analyzer?: string;\r\n features?: analyzers.AnalyzerFeature[];\r\n searchField?: boolean;\r\n nested?: InvertedIndexNestedField[];\r\n};\r\n\r\n/**\r\n * An object representing an arangosearch index.\r\n */\r\nexport type ArangosearchIndexDescription = {\r\n id: string;\r\n type: \"arangosearch\";\r\n view: string;\r\n figures?: Record<string, any>;\r\n analyzers: string[];\r\n fields: Record<string, Record<string, any>>;\r\n includeAllFields: boolean;\r\n trackListPositions: boolean;\r\n storeValues: \"none\" | \"id\";\r\n};\r\n\r\n/**\r\n * An object representing an internal index.\r\n */\r\nexport type InternalIndexDescription = ArangosearchIndexDescription;\r\n\r\n/**\r\n * An object representing a potentially hidden index.\r\n *\r\n * This type can be used to cast the result of `collection.indexes` to better\r\n * reflect the actual data returned by the server when using the `withHidden`\r\n * option:\r\n *\r\n * ```ts\r\n * const indexes = await collection.indexes<HiddenIndex>({\r\n * withHidden: true\r\n * }));\r\n * // indexes may include internal indexes and indexes with a \"progress\"\r\n * // property\r\n * ```\r\n */\r\nexport type HiddenIndexDescription = (\r\n | IndexDescription\r\n | InternalIndexDescription\r\n) & {\r\n /**\r\n * Progress of this index if it is still being created.\r\n */\r\n progress?: number;\r\n};\r\n\r\n/**\r\n * An object representing a vector index.\r\n */\r\nexport type VectorIndexDescription = IndexDescriptionType<\r\n \"vector\",\r\n [string],\r\n {\r\n parallelism: number;\r\n inBackground: boolean;\r\n /**\r\n * An array of attribute paths that are stored in the index for\r\n * efficient filtering.\r\n *\r\n * Introduced in: ArangoDB 3.12.7\r\n */\r\n storedValues?: string[];\r\n params: {\r\n metric: \"cosine\" | \"l2\" | \"innerProduct\";\r\n dimension: number;\r\n nLists: number;\r\n defaultNProbe?: number;\r\n trainingIterations?: number;\r\n factory?: string;\r\n };\r\n }\r\n>;\r\n//#endregion\r\n\r\n//#region Index selectors\r\n/**\r\n * Index name, id or object with a `name` or `id` property.\r\n */\r\nexport type IndexSelector = ObjectWithIndexId | ObjectWithName | string;\r\n\r\n/**\r\n * An object with an `id` property.\r\n */\r\nexport type ObjectWithIndexId = {\r\n [key: string]: any;\r\n id: string;\r\n};\r\n\r\n/**\r\n * An object with a `name` property.\r\n */\r\nexport type ObjectWithName = {\r\n [key: string]: any;\r\n name: string;\r\n};\r\n\r\n/**\r\n * @internal\r\n */\r\nexport function _indexHandle(\r\n selector: IndexSelector,\r\n collectionName: string\r\n): string {\r\n if (typeof selector !== \"string\") {\r\n if (selector.id) {\r\n return _indexHandle(selector.id, collectionName);\r\n }\r\n throw new Error(\r\n \"Index handle must be a string or an object with an id attribute\"\r\n );\r\n }\r\n if (selector.includes(\"/\")) {\r\n const [head] = selector.split(\"/\");\r\n if (head !== collectionName) {\r\n throw new Error(\r\n `Index ID \"${selector}\" does not match collection name \"${collectionName}\"`\r\n );\r\n }\r\n return selector;\r\n }\r\n return `${collectionName}/${String(selector)}`;\r\n}\r\n//#endregion\r\n"]}
|
|
1
|
+
{"version":3,"file":"indexes.js","sourceRoot":"","sources":["../../src/indexes.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAu+BH;;GAEG;AACH,MAAM,UAAU,YAAY,CAC1B,QAAuB,EACvB,cAAsB;IAEtB,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QACjC,IAAI,QAAQ,CAAC,EAAE,EAAE,CAAC;YAChB,OAAO,YAAY,CAAC,QAAQ,CAAC,EAAE,EAAE,cAAc,CAAC,CAAC;QACnD,CAAC;QACD,MAAM,IAAI,KAAK,CACb,iEAAiE,CAClE,CAAC;IACJ,CAAC;IACD,IAAI,QAAQ,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;QAC3B,MAAM,CAAC,IAAI,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACnC,IAAI,IAAI,KAAK,cAAc,EAAE,CAAC;YAC5B,MAAM,IAAI,KAAK,CACb,aAAa,QAAQ,qCAAqC,cAAc,GAAG,CAC5E,CAAC;QACJ,CAAC;QACD,OAAO,QAAQ,CAAC;IAClB,CAAC;IACD,OAAO,GAAG,cAAc,IAAI,MAAM,CAAC,QAAQ,CAAC,EAAE,CAAC;AACjD,CAAC;AACD,YAAY","sourcesContent":["/**\r\n * ```ts\r\n * import type {\r\n * FulltextIndex,\r\n * GeoIndex,\r\n * MdiIndex,\r\n * PersistentIndex,\r\n * PrimaryIndex,\r\n * TtlIndex,\r\n * } from \"arangojs/indexes\";\r\n * ```\r\n *\r\n * The \"indexes\" module provides index-related types for TypeScript.\r\n *\r\n * @packageDocumentation\r\n */\r\n\r\nimport * as analyzers from \"./analyzers.js\";\r\nimport * as views from \"./views.js\";\r\n\r\n//#region Shared types\r\n/**\r\n * Type of an index.\r\n */\r\nexport type IndexType = IndexDescription[\"type\"];\r\n\r\n/**\r\n * Type of an internal index.\r\n */\r\nexport type InternalIndexType = InternalIndexDescription[\"type\"];\r\n//#endregion\r\n\r\n//#region Index operation options\r\n/**\r\n * Options for listing indexes.\r\n */\r\nexport type ListIndexesOptions = {\r\n /**\r\n * If set to `true`, includes additional information about each index.\r\n *\r\n * Default: `false`\r\n */\r\n withStats?: boolean;\r\n /**\r\n * If set to `true`, includes internal indexes as well as indexes that are\r\n * not yet fully built but are in the building phase.\r\n *\r\n * You should cast the resulting indexes to `HiddenIndex` to ensure internal\r\n * and incomplete indexes are accurately represented.\r\n *\r\n * Default: `false`.\r\n */\r\n withHidden?: boolean;\r\n};\r\n\r\n/**\r\n * Options for creating an index.\r\n */\r\nexport type EnsureIndexOptions =\r\n | EnsurePersistentIndexOptions\r\n | EnsureGeoIndexOptions\r\n | EnsureTtlIndexOptions\r\n | EnsureMdiIndexOptions\r\n | EnsureMdiPrefixedIndexOptions\r\n | EnsureInvertedIndexOptions\r\n | EnsureVectorIndexOptions;\r\n\r\n/**\r\n * Shared attributes of all index creation options.\r\n */\r\nexport type EnsureIndexOptionsType<\r\n Type extends IndexType,\r\n Fields extends any[],\r\n Extra extends {} = {},\r\n> = {\r\n /**\r\n * A unique name for this index.\r\n */\r\n name?: string;\r\n /**\r\n * Type of this index.\r\n */\r\n type: Type;\r\n /**\r\n * An array of attribute paths.\r\n */\r\n fields: Fields;\r\n /**\r\n * If set to `true`, the index will be created in the background to reduce\r\n * the write-lock duration for the collection during index creation.\r\n *\r\n * Default: `false`\r\n */\r\n inBackground?: boolean;\r\n} & Extra;\r\n\r\n/**\r\n * Options for creating a persistent index.\r\n */\r\nexport type EnsurePersistentIndexOptions = EnsureIndexOptionsType<\r\n \"persistent\",\r\n string[],\r\n {\r\n /**\r\n * If set to `true`, a unique index will be created.\r\n *\r\n * Default: `false`\r\n */\r\n unique?: boolean;\r\n /**\r\n * If set to `true`, the index will omit documents that do not contain at\r\n * least one of the attribute paths in `fields` and these documents will be\r\n * ignored for uniqueness checks.\r\n *\r\n * Default: `false`\r\n */\r\n sparse?: boolean;\r\n /**\r\n * If set to `false`, inserting duplicate index values from the same\r\n * document will lead to a unique constraint error if this is a unique index.\r\n *\r\n * Default: `true`\r\n */\r\n deduplicate?: boolean;\r\n /**\r\n * If set to `false`, index selectivity estimates will be disabled for this\r\n * index.\r\n *\r\n * Default: `true`\r\n */\r\n estimates?: boolean;\r\n /**\r\n * If set to `true`, an in-memory hash cache will be put in front of the\r\n * persistent index.\r\n *\r\n * Default: `false`\r\n */\r\n cacheEnabled?: boolean;\r\n /**\r\n * An array of attribute paths that will be stored in the index but can not\r\n * be used for index lookups or sorting but can avoid full document lookups.\r\n */\r\n storedValues?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * Options for creating a geo index.\r\n */\r\nexport type EnsureGeoIndexOptions = EnsureIndexOptionsType<\r\n \"geo\",\r\n [string, string] | [string],\r\n {\r\n /**\r\n * If set to `true`, `fields` must be an array containing a single attribute\r\n * path and the attribute value must be an array with two values, the first\r\n * of which will be interpreted as the longitude and the second of which\r\n * will be interpreted as the latitude of the document.\r\n *\r\n * If set to `false`, `fields` can be either an array containing two\r\n * attribute paths, the first of which will be interpreted as the latitude\r\n * and the second as the longitude, or a single attribute path for an array\r\n * containing two values, the first of which will be interpreted as the\r\n * latitude, the second as the longitude.\r\n *\r\n * Default: `false`\r\n */\r\n geoJson?: boolean;\r\n /**\r\n * If set to `true`, the index will use pre-3.10 rules for parsing\r\n * GeoJSON polygons. This option is always implicitly `true` when using\r\n * ArangoDB 3.9 or lower.\r\n */\r\n legacyPolygons?: boolean;\r\n }\r\n>;\r\n\r\n/**\r\n * Options for creating a TTL index.\r\n */\r\nexport type EnsureTtlIndexOptions = EnsureIndexOptionsType<\r\n \"ttl\",\r\n [string],\r\n {\r\n /**\r\n * Duration in seconds after the attribute value at which the document will\r\n * be considered as expired.\r\n */\r\n expireAfter: number;\r\n }\r\n>;\r\n\r\n/**\r\n * Options for creating a MDI index.\r\n */\r\nexport type EnsureMdiIndexOptions = EnsureIndexOptionsType<\r\n \"mdi\",\r\n string[],\r\n {\r\n /**\r\n * Data type of the dimension attributes.\r\n */\r\n fieldValueTypes: \"double\";\r\n /**\r\n * If set to `true`, a unique index will be created.\r\n *\r\n * Default: `false`\r\n */\r\n unique?: boolean;\r\n /**\r\n * If set to `true`, the index will omit documents that do not contain at\r\n * least one of the attribute paths in `fields` and these documents will be\r\n * ignored for uniqueness checks.\r\n *\r\n * Default: `false`\r\n */\r\n sparse?: boolean;\r\n /**\r\n * If set to `false`, index selectivity estimates will be disabled for this\r\n * index.\r\n *\r\n * Default: `true`\r\n */\r\n estimates?: boolean;\r\n /**\r\n * An array of attribute paths that will be stored in the index but can not\r\n * be used for index lookups or sorting but can avoid full document lookups.\r\n */\r\n storedValues?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * Options for creating a prefixed MDI index.\r\n */\r\nexport type EnsureMdiPrefixedIndexOptions = EnsureIndexOptionsType<\r\n \"mdi-prefixed\",\r\n string[],\r\n {\r\n /**\r\n * An array of attribute names used as a search prefix.\r\n */\r\n prefixFields: string[];\r\n /**\r\n * Data type of the dimension attributes.\r\n */\r\n fieldValueTypes: \"double\";\r\n /**\r\n * If set to `true`, a unique index will be created.\r\n *\r\n * Default: `false`\r\n */\r\n unique?: boolean;\r\n /**\r\n * If set to `true`, the index will omit documents that do not contain at\r\n * least one of the attribute paths in `fields` and these documents will be\r\n * ignored for uniqueness checks.\r\n *\r\n * Default: `false`\r\n */\r\n sparse?: boolean;\r\n /**\r\n * If set to `false`, index selectivity estimates will be disabled for this\r\n * index.\r\n *\r\n * Default: `true`\r\n */\r\n estimates?: boolean;\r\n /**\r\n * An array of attribute paths that will be stored in the index but can not\r\n * be used for index lookups or sorting but can avoid full document lookups.\r\n */\r\n storedValues?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * Options for creating an inverted index.\r\n */\r\nexport type EnsureInvertedIndexOptions = EnsureIndexOptionsType<\r\n \"inverted\",\r\n (string | InvertedIndexFieldOptions)[],\r\n {\r\n /**\r\n * If set to `true` array values will by default be indexed using the same\r\n * behavior as ArangoSearch Views. This option only applies when using the\r\n * index in a SearchAlias View.\r\n *\r\n * Default: `false`\r\n */\r\n searchField?: boolean;\r\n /**\r\n * An array of attribute paths that will be stored in the index but can not\r\n * be used for index lookups or sorting but can avoid full document lookups.\r\n */\r\n storedValues?: InvertedIndexStoredValueOptions[];\r\n /**\r\n * Primary sort order to optimize AQL queries using a matching sort order.\r\n */\r\n primarySort?: InvertedIndexPrimarySortOptions;\r\n /**\r\n * (Enterprise Edition only.) If set to `true`, then the primary key column\r\n * will always be cached in memory.\r\n *\r\n * Default: `false`\r\n */\r\n primaryKeyCache?: boolean;\r\n /**\r\n * Name of the default Analyzer to apply to the values of indexed fields.\r\n *\r\n * Default: `\"identity\"`\r\n */\r\n analyzer?: string;\r\n /**\r\n * List of Analyzer features to enable for the default Analyzer.\r\n *\r\n * Defaults to the Analyzer's features.\r\n */\r\n features?: analyzers.AnalyzerFeature[];\r\n /**\r\n * If set to `true`, all document attributes are indexed, excluding any\r\n * sub-attributes configured in the `fields` array. The `analyzer` and\r\n * `features` properties apply to the sub-attributes. This option only\r\n * applies when using the index in a SearchAlias View.\r\n *\r\n * Default: `false`\r\n */\r\n includeAllFields?: boolean;\r\n /**\r\n * If set to `true`, the position of values in array values are tracked and\r\n * need to be specified in queries. Otherwise all values in an array are\r\n * treated as equivalent. This option only applies when using the index in a\r\n * SearchAlias View.\r\n *\r\n * Default: `false`\r\n */\r\n trackListPositions?: boolean;\r\n /**\r\n * The number of threads to use for indexing the fields.\r\n *\r\n * Default: `2`\r\n */\r\n parallelism?: number;\r\n /**\r\n * Wait at least this many commits between removing unused files in the\r\n * ArangoSearch data directory.\r\n *\r\n * Default: `2`\r\n */\r\n cleanupIntervalStep?: number;\r\n /**\r\n * Wait at least this many milliseconds between committing View data store\r\n * changes and making documents visible to queries.\r\n *\r\n * Default: `1000`\r\n */\r\n commitIntervalMsec?: number;\r\n /**\r\n * Wait at least this many milliseconds between applying\r\n * `consolidationPolicy` to consolidate View data store and possibly release\r\n * space on the filesystem.\r\n *\r\n * Default: `1000`\r\n */\r\n consolidationIntervalMsec?: number;\r\n /**\r\n * The consolidation policy to apply for selecting which segments should be\r\n * merged.\r\n *\r\n * Default: `{ type: \"tier\" }`\r\n */\r\n consolidationPolicy?: views.TierConsolidationPolicy;\r\n /**\r\n * Maximum number of writers (segments) cached in the pool.\r\n *\r\n * Default: `64`\r\n */\r\n writeBufferIdle?: number;\r\n /**\r\n * Maximum number of concurrent active writers (segments) that perform a\r\n * transaction.\r\n *\r\n * Default: `0` (disabled)\r\n */\r\n writeBufferActive?: number;\r\n /**\r\n * Maximum memory byte size per writer (segment) before a writer (segment)\r\n * flush is triggered.\r\n *\r\n * Default: `33554432` (32 MiB)\r\n */\r\n writeBufferSizeMax?: number;\r\n /**\r\n * (Enterprise Edition only.) If set to `true`, then field normalization\r\n * values will always be cached in memory.\r\n *\r\n * Default: `false`\r\n */\r\n cache?: boolean;\r\n /**\r\n * An array of strings defining sort expressions to optimize.\r\n */\r\n optimizeTopK?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * Options for an attribute path in an inverted index.\r\n */\r\nexport type InvertedIndexFieldOptions = {\r\n /**\r\n * An attribute path.\r\n */\r\n name: string;\r\n /**\r\n * Name of the Analyzer to apply to the values of this field.\r\n *\r\n * Defaults to the `analyzer` specified on the index itself.\r\n */\r\n analyzer?: string;\r\n /**\r\n * List of Analyzer features to enable for this field's Analyzer.\r\n *\r\n * Defaults to the features of the Analyzer.\r\n */\r\n features?: analyzers.AnalyzerFeature[];\r\n /**\r\n * If set to `true`, all document attributes are indexed, excluding any\r\n * sub-attributes configured in the `fields` array. The `analyzer` and\r\n * `features` properties apply to the sub-attributes. This option only\r\n * applies when using the index in a SearchAlias View.\r\n *\r\n * Defaults to the value of `includeAllFields` specified on the index itself.\r\n */\r\n includeAllFields?: boolean;\r\n /**\r\n * If set to `true` array values will be indexed using the same behavior as\r\n * ArangoSearch Views. This option only applies when using the index in a\r\n * SearchAlias View.\r\n *\r\n * Defaults to the value of `searchField` specified on the index itself.\r\n */\r\n searchField?: boolean;\r\n /**\r\n * If set to `true`, the position of values in array values are tracked and\r\n * need to be specified in queries. Otherwise all values in an array are\r\n * treated as equivalent. This option only applies when using the index in a\r\n * SearchAlias View.\r\n *\r\n * Defaults to the value of `trackListPositions` specified on the index\r\n * itself.\r\n */\r\n trackListPositions?: boolean;\r\n /**\r\n * (Enterprise Edition only.) Sub-objects to index to allow querying for\r\n * co-occurring values.\r\n */\r\n nested?: (string | InvertedIndexNestedFieldOptions)[];\r\n /**\r\n * (Enterprise Edition only.) If set to `true`, then field normalization\r\n * values will always be cached in memory.\r\n *\r\n * Defaults to the value of `cache` specified on the index itself.\r\n */\r\n cache?: boolean;\r\n};\r\n\r\n/**\r\n * Options for defining a primary sort field on an inverted index.\r\n */\r\nexport type InvertedIndexPrimarySortOptions = {\r\n /**\r\n * An array of fields to sort the index by.\r\n */\r\n fields: InvertedIndexPrimarySortFieldOptions[];\r\n /**\r\n * How the primary sort data should be compressed.\r\n *\r\n * Default: `\"lz4\"`\r\n */\r\n compression?: views.Compression;\r\n /**\r\n * (Enterprise Edition only.) If set to `true`, then primary sort columns\r\n * will always be cached in memory.\r\n *\r\n * Default: `false`\r\n */\r\n cache?: boolean;\r\n};\r\n\r\n/**\r\n * Options for defining a primary sort field on an inverted index.\r\n */\r\nexport type InvertedIndexPrimarySortFieldOptions = {\r\n /**\r\n * The attribute path to sort by.\r\n */\r\n field: string;\r\n /**\r\n * The sorting direction.\r\n */\r\n direction: views.Direction;\r\n};\r\n\r\n/**\r\n * (Enterprise Edition only.) Options for a nested field in an inverted index.\r\n */\r\nexport type InvertedIndexNestedFieldOptions = {\r\n /**\r\n * An attribute path.\r\n */\r\n name: string;\r\n /**\r\n * Name of the Analyzer to apply to the values of this field.\r\n *\r\n * Defaults to the `analyzer` specified on the parent options or on the index\r\n * itself.\r\n */\r\n analyzer?: string;\r\n /**\r\n * List of Analyzer features to enable for this field's Analyzer.\r\n *\r\n * Defaults to the features of the Analyzer.\r\n */\r\n features?: analyzers.AnalyzerFeature[];\r\n /**\r\n * If set to `true` array values will be indexed using the same behavior as\r\n * ArangoSearch Views. This option only applies when using the index in a\r\n * SearchAlias View.\r\n *\r\n * Defaults to the value of `searchField` specified on the index itself.\r\n */\r\n searchField?: boolean;\r\n /**\r\n * Sub-objects to index to allow querying for co-occurring values.\r\n */\r\n nested?: (string | InvertedIndexNestedFieldOptions)[];\r\n};\r\n\r\n/**\r\n * Options for defining a stored value on an inverted index.\r\n */\r\nexport type InvertedIndexStoredValueOptions = {\r\n /**\r\n * The attribute paths to store.\r\n */\r\n fields: string[];\r\n /**\r\n * How the attribute values should be compressed.\r\n *\r\n * Default: `\"lz4\"`\r\n */\r\n compression?: views.Compression;\r\n /**\r\n * (Enterprise Edition only.) If set to `true`, then stored values will\r\n * always be cached in memory.\r\n *\r\n * Default: `false`\r\n */\r\n cache?: boolean;\r\n};\r\n\r\n/**\r\n * Options for creating a vector index.\r\n */\r\nexport type EnsureVectorIndexOptions = EnsureIndexOptionsType<\r\n \"vector\",\r\n [string],\r\n {\r\n /**\r\n * The number of threads to use for indexing. Default is 2.\r\n */\r\n parallelism?: number;\r\n\r\n /**\r\n * An array of attribute paths that will be stored in the index for\r\n * efficient filtering. Unlike with other index types, this is not for\r\n * covering projections with the index but for adding attributes that\r\n * you filter on. This lets you make the lookup in the vector index\r\n * more efficient because it avoids materializing documents twice,\r\n * once for the filtering and once for the matches.\r\n *\r\n * The maximum number of attributes that you can use in storedValues is 32.\r\n *\r\n * Introduced in: ArangoDB 3.12.7\r\n */\r\n storedValues?: string[];\r\n\r\n /**\r\n * Whether to create a sparse index that excludes documents with the\r\n * attribute for indexing missing or set to `null`.\r\n *\r\n * Default: `false`\r\n */\r\n sparse?: boolean;\r\n\r\n /**\r\n * Vector index parameters, following Faiss configuration.\r\n */\r\n params: {\r\n /**\r\n * Whether to use cosine, l2 (Euclidean), or innerProduct distance.\r\n * innerProduct was introduced in ArangoDB 3.12.6.\r\n */\r\n metric: \"cosine\" | \"l2\" | \"innerProduct\";\r\n\r\n /**\r\n * Vector dimension. Must match the length of vectors in documents.\r\n */\r\n dimension: number;\r\n\r\n /**\r\n * Number of Voronoi cells (centroids) for IVF. Affects accuracy and index build time.\r\n */\r\n nLists: number;\r\n\r\n /**\r\n * How many neighboring centroids to probe by default. Higher = slower, better recall.\r\n */\r\n defaultNProbe?: number;\r\n\r\n /**\r\n * Training iterations for index build. Default is 25.\r\n */\r\n trainingIterations?: number;\r\n\r\n /**\r\n * Advanced Faiss index factory string.\r\n * If not specified, defaults to IVF<nLists>,Flat.\r\n */\r\n factory?: string;\r\n };\r\n }\r\n>;\r\n//#endregion\r\n\r\n//#region IndexDescription\r\n/**\r\n * An object representing an index.\r\n */\r\nexport type IndexDescription =\r\n | FulltextIndexDescription\r\n | GeoIndexDescription\r\n | PersistentIndexDescription\r\n | TtlIndexDescription\r\n | MdiIndexDescription\r\n | MdiPrefixedIndexDescription\r\n | InvertedIndexDescription\r\n | SystemIndexDescription\r\n | VectorIndexDescription;\r\n\r\n/**\r\n * An object representing a system index.\r\n */\r\nexport type SystemIndexDescription =\r\n | PrimaryIndexDescription\r\n | EdgeIndexDescription;\r\n\r\n/**\r\n * Shared attributes of all index types.\r\n */\r\nexport type IndexDescriptionType<\r\n Type extends string,\r\n Fields extends any[],\r\n Extra extends {} = {},\r\n> = {\r\n /**\r\n * A unique name for this index.\r\n */\r\n name: string;\r\n /**\r\n * A unique identifier for this index.\r\n */\r\n id: string;\r\n /**\r\n * Type of this index.\r\n */\r\n type: Type;\r\n /**\r\n * An array of attribute paths.\r\n */\r\n fields: Fields;\r\n /**\r\n * Whether documents not containing at least one of the attribute paths\r\n * are omitted by this index.\r\n */\r\n sparse: boolean;\r\n /**\r\n * Whether this index enforces uniqueness for values of its attribute paths.\r\n */\r\n unique: boolean;\r\n /**\r\n * Additional stats about this index.\r\n */\r\n figures?: Record<string, any>;\r\n} & Extra;\r\n\r\n/**\r\n * An object representing a persistent index.\r\n */\r\nexport type PersistentIndexDescription = IndexDescriptionType<\r\n \"persistent\",\r\n string[],\r\n {\r\n cacheEnabled: boolean;\r\n deduplicate: boolean;\r\n estimates: boolean;\r\n selectivityEstimate: number;\r\n storedValues?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a primary index.\r\n */\r\nexport type PrimaryIndexDescription = IndexDescriptionType<\r\n \"primary\",\r\n [\"_key\"],\r\n {\r\n selectivityEstimate: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing an edge index.\r\n */\r\nexport type EdgeIndexDescription = IndexDescriptionType<\r\n \"edge\",\r\n [\"_from\", \"_to\"],\r\n {\r\n selectivityEstimate: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a fulltext index.\r\n *\r\n * @deprecated The `fulltext` index type was deprecated in ArangoDB 3.10. Use\r\n * {@link views.View}s instead.\r\n */\r\nexport type FulltextIndexDescription = IndexDescriptionType<\r\n \"fulltext\",\r\n [string],\r\n {\r\n minLength: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing an edge index.\r\n */\r\nexport type EdgeIndex = IndexDescriptionType<\r\n \"edge\",\r\n [\"_from\", \"_to\"],\r\n {\r\n selectivityEstimate: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a fulltext index.\r\n *\r\n * @deprecated The `fulltext` index type was deprecated in ArangoDB 3.10. Use\r\n * {@link views.View} instead.\r\n */\r\nexport type FulltextIndex = IndexDescriptionType<\r\n \"fulltext\",\r\n [string],\r\n {\r\n minLength: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a geo index.\r\n */\r\nexport type GeoIndexDescription = IndexDescriptionType<\r\n \"geo\",\r\n [string] | [string, string],\r\n {\r\n geoJson: boolean;\r\n legacyPolygons: boolean;\r\n bestIndexedLevel: number;\r\n worstIndexedLevel: number;\r\n maxNumCoverCells: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a TTL index.\r\n */\r\nexport type TtlIndexDescription = IndexDescriptionType<\r\n \"ttl\",\r\n [string],\r\n {\r\n expireAfter: number;\r\n estimates: boolean;\r\n selectivityEstimate: number;\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a MDI index.\r\n */\r\nexport type MdiIndexDescription = IndexDescriptionType<\r\n \"mdi\",\r\n string[],\r\n {\r\n fieldValueTypes: \"double\";\r\n estimates: boolean;\r\n selectivityEstimate: number;\r\n storedValues?: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a prefixed MDI index.\r\n */\r\nexport type MdiPrefixedIndexDescription = IndexDescriptionType<\r\n \"mdi-prefixed\",\r\n string[],\r\n {\r\n fieldValueTypes: \"double\";\r\n estimates: boolean;\r\n selectivityEstimate: number;\r\n storedValues?: string[];\r\n prefixFields: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing an inverted index.\r\n */\r\nexport type InvertedIndexDescription = IndexDescriptionType<\r\n \"inverted\",\r\n InvertedIndexField[],\r\n {\r\n searchField: boolean;\r\n cache?: boolean;\r\n storedValues: {\r\n fields: string[];\r\n compression: views.Compression;\r\n cache?: boolean;\r\n }[];\r\n primarySort: {\r\n fields: {\r\n field: string;\r\n direction: views.Direction;\r\n }[];\r\n compression: views.Compression;\r\n cache?: boolean;\r\n };\r\n primaryKeyCache?: boolean;\r\n analyzer: string;\r\n features: analyzers.AnalyzerFeature[];\r\n includeAllFields: boolean;\r\n trackListPositions: boolean;\r\n parallelism: number;\r\n cleanupIntervalStep: number;\r\n commitIntervalMsec: number;\r\n consolidationIntervalMsec: number;\r\n consolidationPolicy: Required<views.TierConsolidationPolicy>;\r\n writeBufferIdle: number;\r\n writeBufferActive: number;\r\n writeBufferSizeMax: number;\r\n optimizeTopK: string[];\r\n }\r\n>;\r\n\r\n/**\r\n * An object representing a field in an inverted index.\r\n */\r\nexport type InvertedIndexField = {\r\n name: string;\r\n analyzer?: string;\r\n features?: analyzers.AnalyzerFeature[];\r\n includeAllFields?: boolean;\r\n searchField?: boolean;\r\n trackListPositions?: boolean;\r\n nested?: InvertedIndexNestedField[];\r\n cache?: boolean;\r\n};\r\n\r\n/**\r\n * (Enterprise Edition only.) An object representing a nested field in an\r\n * inverted index.\r\n */\r\nexport type InvertedIndexNestedField = {\r\n name: string;\r\n analyzer?: string;\r\n features?: analyzers.AnalyzerFeature[];\r\n searchField?: boolean;\r\n nested?: InvertedIndexNestedField[];\r\n};\r\n\r\n/**\r\n * An object representing an arangosearch index.\r\n */\r\nexport type ArangosearchIndexDescription = {\r\n id: string;\r\n type: \"arangosearch\";\r\n view: string;\r\n figures?: Record<string, any>;\r\n analyzers: string[];\r\n fields: Record<string, Record<string, any>>;\r\n includeAllFields: boolean;\r\n trackListPositions: boolean;\r\n storeValues: \"none\" | \"id\";\r\n};\r\n\r\n/**\r\n * An object representing an internal index.\r\n */\r\nexport type InternalIndexDescription = ArangosearchIndexDescription;\r\n\r\n/**\r\n * An object representing a potentially hidden index.\r\n *\r\n * This type can be used to cast the result of `collection.indexes` to better\r\n * reflect the actual data returned by the server when using the `withHidden`\r\n * option:\r\n *\r\n * ```ts\r\n * const indexes = await collection.indexes<HiddenIndex>({\r\n * withHidden: true\r\n * }));\r\n * // indexes may include internal indexes and indexes with a \"progress\"\r\n * // property\r\n * ```\r\n */\r\nexport type HiddenIndexDescription = (\r\n | IndexDescription\r\n | InternalIndexDescription\r\n) & {\r\n /**\r\n * Progress of this index if it is still being created.\r\n */\r\n progress?: number;\r\n};\r\n\r\n/**\r\n * Training lifecycle state reported for a vector index.\r\n *\r\n * Introduced in: ArangoDB 3.12.9\r\n */\r\nexport type VectorIndexTrainingState =\r\n | \"unusable\"\r\n | \"training\"\r\n | \"ingesting\"\r\n | \"ready\";\r\n\r\n/**\r\n * An object representing a vector index.\r\n */\r\nexport type VectorIndexDescription = IndexDescriptionType<\r\n \"vector\",\r\n [string],\r\n {\r\n parallelism: number;\r\n inBackground: boolean;\r\n /**\r\n * An array of attribute paths that are stored in the index for\r\n * efficient filtering.\r\n *\r\n * Introduced in: ArangoDB 3.12.7\r\n */\r\n storedValues?: string[];\r\n /**\r\n * Current training state of the vector index.\r\n *\r\n * Introduced in: ArangoDB 3.12.9. Omitted on older server versions.\r\n */\r\n trainingState?: VectorIndexTrainingState;\r\n /**\r\n * Optional detail when training fails or the index is unusable\r\n * (for example, insufficient training data).\r\n *\r\n * Introduced in: ArangoDB 3.12.9. Only present when there is a problem with the index.\r\n */\r\n errorMessage?: string;\r\n params: {\r\n metric: \"cosine\" | \"l2\" | \"innerProduct\";\r\n dimension: number;\r\n nLists: number;\r\n defaultNProbe?: number;\r\n trainingIterations?: number;\r\n factory?: string;\r\n };\r\n }\r\n>;\r\n//#endregion\r\n\r\n//#region Index selectors\r\n/**\r\n * Index name, id or object with a `name` or `id` property.\r\n */\r\nexport type IndexSelector = ObjectWithIndexId | ObjectWithName | string;\r\n\r\n/**\r\n * An object with an `id` property.\r\n */\r\nexport type ObjectWithIndexId = {\r\n [key: string]: any;\r\n id: string;\r\n};\r\n\r\n/**\r\n * An object with a `name` property.\r\n */\r\nexport type ObjectWithName = {\r\n [key: string]: any;\r\n name: string;\r\n};\r\n\r\n/**\r\n * @internal\r\n */\r\nexport function _indexHandle(\r\n selector: IndexSelector,\r\n collectionName: string\r\n): string {\r\n if (typeof selector !== \"string\") {\r\n if (selector.id) {\r\n return _indexHandle(selector.id, collectionName);\r\n }\r\n throw new Error(\r\n \"Index handle must be a string or an object with an id attribute\"\r\n );\r\n }\r\n if (selector.includes(\"/\")) {\r\n const [head] = selector.split(\"/\");\r\n if (head !== collectionName) {\r\n throw new Error(\r\n `Index ID \"${selector}\" does not match collection name \"${collectionName}\"`\r\n );\r\n }\r\n return selector;\r\n }\r\n return `${collectionName}/${String(selector)}`;\r\n}\r\n//#endregion\r\n"]}
|
package/esm/queries.d.ts
CHANGED
|
@@ -119,7 +119,7 @@ export type QueryOptions = {
|
|
|
119
119
|
/**
|
|
120
120
|
* Limits the maximum number of warnings a query will return.
|
|
121
121
|
*/
|
|
122
|
-
|
|
122
|
+
maxWarningCount?: number;
|
|
123
123
|
/**
|
|
124
124
|
* If set to `true` and the query has a `LIMIT` clause, the total number of
|
|
125
125
|
* values matched before the last top-level `LIMIT` in the query was applied
|
|
@@ -144,8 +144,17 @@ export type QueryOptions = {
|
|
|
144
144
|
/**
|
|
145
145
|
* Limits the maximum number of plans that will be created by the AQL query
|
|
146
146
|
* optimizer.
|
|
147
|
+
*
|
|
148
|
+
* @deprecated Use `maxNumberOfPlans` instead. `maxPlans` will be removed in a
|
|
149
|
+
* future major version. Both are currently supported; when both are provided,
|
|
150
|
+
* `maxNumberOfPlans` takes precedence.
|
|
147
151
|
*/
|
|
148
152
|
maxPlans?: number;
|
|
153
|
+
/**
|
|
154
|
+
* Limits the maximum number of plans that will be created by the AQL query
|
|
155
|
+
* optimizer.
|
|
156
|
+
*/
|
|
157
|
+
maxNumberOfPlans?: number;
|
|
149
158
|
/**
|
|
150
159
|
* Controls after how many execution nodes in a query a stack split should be
|
|
151
160
|
* performed.
|
|
@@ -210,6 +219,48 @@ export type ExplainOptions = {
|
|
|
210
219
|
* Default: `false`
|
|
211
220
|
*/
|
|
212
221
|
allPlans?: boolean;
|
|
222
|
+
/**
|
|
223
|
+
* Whether to calculate the total number of documents matching the filter
|
|
224
|
+
* conditions as if the query's final top-level `LIMIT` operation were not
|
|
225
|
+
* applied. This option generally leads to different execution plans.
|
|
226
|
+
*
|
|
227
|
+
* Default: `false`
|
|
228
|
+
*/
|
|
229
|
+
fullCount?: boolean;
|
|
230
|
+
/**
|
|
231
|
+
* Whether to include additional query profiling information.
|
|
232
|
+
* If set to `2`, the response includes the time it took to process each
|
|
233
|
+
* optimizer rule under `stats.rules`.
|
|
234
|
+
*
|
|
235
|
+
* Default: `0`
|
|
236
|
+
*/
|
|
237
|
+
profile?: number;
|
|
238
|
+
/**
|
|
239
|
+
* The number of execution nodes in the query plan after that stack splitting
|
|
240
|
+
* is performed to avoid a potential stack overflow.
|
|
241
|
+
*
|
|
242
|
+
* This option is only useful for testing and debugging and normally does not
|
|
243
|
+
* need any adjustment.
|
|
244
|
+
*
|
|
245
|
+
* Default: Controlled by the `--query.max-nodes-per-callstack` startup option.
|
|
246
|
+
*/
|
|
247
|
+
maxNodesPerCallstack?: number;
|
|
248
|
+
/**
|
|
249
|
+
* Limits the number of warnings a query can return.
|
|
250
|
+
* You can increase or decrease the number with this option.
|
|
251
|
+
*
|
|
252
|
+
* Default: `10`
|
|
253
|
+
*/
|
|
254
|
+
maxWarningCount?: number;
|
|
255
|
+
/**
|
|
256
|
+
* If set to `true`, the query throws an exception and aborts instead of
|
|
257
|
+
* producing a warning. You should use this option during development to catch
|
|
258
|
+
* potential issues early. When the attribute is set to `false`, warnings are
|
|
259
|
+
* not propagated to exceptions and are returned with the query result.
|
|
260
|
+
*
|
|
261
|
+
* Default: Controlled by the `--query.fail-on-warning` startup option.
|
|
262
|
+
*/
|
|
263
|
+
failOnWarning?: boolean;
|
|
213
264
|
};
|
|
214
265
|
/**
|
|
215
266
|
* Options for query tracking.
|
|
@@ -234,6 +285,11 @@ export type QueryTrackingOptions = {
|
|
|
234
285
|
* considered slow.
|
|
235
286
|
*/
|
|
236
287
|
slowQueryThreshold?: number;
|
|
288
|
+
/**
|
|
289
|
+
* Threshold in seconds for treating a streaming query as slow
|
|
290
|
+
* (the `stream` option is `true` for the query).
|
|
291
|
+
*/
|
|
292
|
+
slowStreamingQueryThreshold?: number;
|
|
237
293
|
/**
|
|
238
294
|
* If set to `true`, bind parameters will be tracked along with queries.
|
|
239
295
|
*/
|
|
@@ -456,6 +512,11 @@ export type QueryTrackingInfo = {
|
|
|
456
512
|
* considered slow.
|
|
457
513
|
*/
|
|
458
514
|
slowQueryThreshold: number;
|
|
515
|
+
/**
|
|
516
|
+
* Threshold in seconds for treating a streaming query as slow
|
|
517
|
+
* (the `stream` option is `true` for the query).
|
|
518
|
+
*/
|
|
519
|
+
slowStreamingQueryThreshold: number;
|
|
459
520
|
/**
|
|
460
521
|
* Whether bind parameters are being tracked along with queries.
|
|
461
522
|
*/
|
|
@@ -580,6 +641,15 @@ export type QueryDescription = {
|
|
|
580
641
|
* Whether the query uses a streaming cursor.
|
|
581
642
|
*/
|
|
582
643
|
stream: boolean;
|
|
644
|
+
/**
|
|
645
|
+
* Whether the query writes data (`true`) or only reads (`false`).
|
|
646
|
+
*/
|
|
647
|
+
modificationQuery: boolean;
|
|
648
|
+
/**
|
|
649
|
+
* An error code (`errorNum`) that indicates why the query failed, or `0` on success.
|
|
650
|
+
* Only present in slow queries (finished queries), not in running queries.
|
|
651
|
+
*/
|
|
652
|
+
exitCode?: number;
|
|
583
653
|
};
|
|
584
654
|
/**
|
|
585
655
|
* Definition of an AQL User Function.
|
package/esm/queries.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/queries.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,8CAA8C;AAG9C;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;;;;;;;;;OAWG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB;;;;;;;OAOG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;;OAKG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;;;;;;OAOG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;OAMG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;;OAKG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;;;;OAQG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/queries.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,8CAA8C;AAG9C;;;;GAIG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;;;;;;;;;;OAWG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;;;OAOG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;;;OAKG;IACH,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;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,KAAK,EAAE,WAAW,GAAG,UAAU,GAAG,QAAQ,CAAC;IAC3C;;OAEG;IACH,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,iBAAiB,EAAE,OAAO,CAAC;IAC3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAIF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,eAAe,EAAE,OAAO,CAAC;CAC1B,CAAC"}
|
package/esm/queries.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../src/queries.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,8CAA8C;;AA8lB9C,YAAY","sourcesContent":["/**\r\n * ```ts\r\n * import type { QueryOptions } from \"arangojs/queries\";\r\n * ```\r\n *\r\n * The \"query\" module provides query related types for TypeScript.\r\n *\r\n * @packageDocumentation\r\n */\r\n/** @import databases from \"./databases.js\" */\r\n\r\n//#region Query operation options\r\n/**\r\n * Options for executing a query.\r\n *\r\n * See {@link databases.Database#query}.\r\n */\r\nexport type QueryOptions = {\r\n /**\r\n * If set to `true`, the query will be executed with support for dirty reads\r\n * enabled, permitting ArangoDB to return a potentially dirty or stale result\r\n * and arangojs will load balance the request without distinguishing between\r\n * leaders and followers.\r\n *\r\n * Note that dirty reads are only supported for read-only queries, not data\r\n * modification queries (e.g. using `INSERT`, `UPDATE`, `REPLACE` or\r\n * `REMOVE`) and only when using ArangoDB 3.4 or later.\r\n *\r\n * Default: `false`\r\n */\r\n allowDirtyRead?: boolean;\r\n /**\r\n * If set to `true`, cursor results will be stored by ArangoDB in such a way\r\n * that batch reads can be retried in the case of a communication error.\r\n *\r\n * Default: `false`\r\n */\r\n allowRetry?: boolean;\r\n /**\r\n * Maximum time in milliseconds arangojs will wait for a server response.\r\n * Exceeding this value will result in the request being cancelled.\r\n *\r\n * **Note**: Setting a timeout for the client does not guarantee the query\r\n * will be killed by ArangoDB if it is already being executed. See the\r\n * `maxRuntime` option for limiting the execution time within ArangoDB.\r\n */\r\n timeout?: number;\r\n /**\r\n * If set to a positive number, the query will automatically be retried at\r\n * most this many times if it results in a write-write conflict.\r\n *\r\n * Default: `0`\r\n */\r\n retryOnConflict?: number;\r\n /**\r\n * Unless set to `false`, the number of result values in the result set will\r\n * be returned in the `count` attribute. This may be disabled by default in\r\n * a future version of ArangoDB if calculating this value has a performance\r\n * impact for some queries.\r\n *\r\n * Default: `true`.\r\n */\r\n count?: boolean;\r\n /**\r\n * Number of result values to be transferred by the server in each\r\n * network roundtrip (or \"batch\").\r\n *\r\n * Must be greater than zero.\r\n */\r\n batchSize?: number;\r\n /**\r\n * If set to `false`, the AQL query results cache lookup will be skipped for\r\n * this query.\r\n *\r\n * Default: `true`\r\n */\r\n cache?: boolean;\r\n /**\r\n * Maximum memory size in bytes that the query is allowed to use.\r\n * Exceeding this value will result in the query failing with an error.\r\n *\r\n * If set to `0`, the memory limit is disabled.\r\n *\r\n * Default: `0`\r\n */\r\n memoryLimit?: number;\r\n /**\r\n * Maximum allowed execution time before the query will be killed in seconds.\r\n *\r\n * If set to `0`, the query will be allowed to run indefinitely.\r\n *\r\n * Default: `0`\r\n */\r\n maxRuntime?: number;\r\n /**\r\n * Time-to-live for the cursor in seconds. The cursor results may be\r\n * garbage collected by ArangoDB after this much time has passed.\r\n *\r\n * Default: `30`\r\n */\r\n ttl?: number;\r\n /**\r\n * If set to `true`, the query will throw an exception and abort if it would\r\n otherwise produce a warning.\r\n */\r\n failOnWarning?: boolean;\r\n /**\r\n * If set to `1` or `true`, additional query profiling information will be\r\n * returned in the `extra.profile` attribute if the query is not served from\r\n * the result cache.\r\n *\r\n * If set to `2`, the query will return execution stats per query plan node\r\n * in the `extra.stats.nodes` attribute. Additionally the query plan is\r\n * returned in `extra.plan`.\r\n */\r\n profile?: boolean | number;\r\n /**\r\n * If set to `true`, the query will be executed as a streaming query.\r\n */\r\n stream?: boolean;\r\n /**\r\n * Limits the maximum number of warnings a query will return.\r\n */\r\n maxWarningsCount?: number;\r\n /**\r\n * If set to `true` and the query has a `LIMIT` clause, the total number of\r\n * values matched before the last top-level `LIMIT` in the query was applied\r\n * will be returned in the `extra.stats.fullCount` attribute.\r\n */\r\n fullCount?: boolean;\r\n /**\r\n * If set to `false`, the query data will not be stored in the RocksDB block\r\n * cache. This can be used to avoid thrashing he block cache when reading a\r\n * lot of data.\r\n */\r\n fillBlockCache?: boolean;\r\n /**\r\n * An object with a `rules` property specifying a list of optimizer rules to\r\n * be included or excluded by the optimizer for this query. Prefix a rule\r\n * name with `+` to include it, or `-` to exclude it. The name `all` acts as\r\n * an alias matching all optimizer rules.\r\n */\r\n optimizer?: { rules: string[] };\r\n /**\r\n * Limits the maximum number of plans that will be created by the AQL query\r\n * optimizer.\r\n */\r\n maxPlans?: number;\r\n /**\r\n * Controls after how many execution nodes in a query a stack split should be\r\n * performed.\r\n *\r\n * Default: `250` (`200` on macOS)\r\n */\r\n maxNodesPerCallstack?: number;\r\n /**\r\n * Maximum size of transactions in bytes.\r\n */\r\n maxTransactionSize?: number;\r\n /**\r\n * Maximum number of operations after which an intermediate commit is\r\n * automatically performed.\r\n */\r\n intermediateCommitCount?: number;\r\n /**\r\n * Maximum total size of operations in bytes after which an intermediate\r\n * commit is automatically performed.\r\n */\r\n intermediateCommitSize?: number;\r\n /**\r\n * (Enterprise Edition cluster only.) If set to `true`, collections\r\n * inaccessible to current user will result in an access error instead\r\n * of being treated as empty.\r\n */\r\n skipInaccessibleCollections?: boolean;\r\n /**\r\n * (Enterprise Edition cluster only.) Limits the maximum time in seconds a\r\n * DBServer will wait to bring satellite collections involved in the query\r\n * into sync. Exceeding this value will result in the query being stopped.\r\n *\r\n * Default: `60`\r\n */\r\n satelliteSyncWait?: number;\r\n};\r\n\r\n/**\r\n * Options for explaining a query.\r\n *\r\n * See {@link databases.Database#explain}.\r\n */\r\nexport type ExplainOptions = {\r\n /**\r\n * An object with a `rules` property specifying a list of optimizer rules to\r\n * be included or excluded by the optimizer for this query. Prefix a rule\r\n * name with `+` to include it, or `-` to exclude it. The name `all` acts as\r\n * an alias matching all optimizer rules.\r\n */\r\n optimizer?: { rules: string[] };\r\n /**\r\n * Maximum number of plans that the optimizer is allowed to generate.\r\n * Setting this to a low value limits the amount of work the optimizer does.\r\n */\r\n maxNumberOfPlans?: number;\r\n /**\r\n * If set to true, all possible execution plans will be returned as the\r\n * `plans` property. Otherwise only the optimal execution plan will be\r\n * returned as the `plan` property.\r\n *\r\n * Default: `false`\r\n */\r\n allPlans?: boolean;\r\n};\r\n\r\n/**\r\n * Options for query tracking.\r\n *\r\n * See {@link databases.Database#queryTracking}.\r\n */\r\nexport type QueryTrackingOptions = {\r\n /**\r\n * If set to `false`, neither queries nor slow queries will be tracked.\r\n */\r\n enabled?: boolean;\r\n /**\r\n * Maximum query string length in bytes that will be kept in the list.\r\n */\r\n maxQueryStringLength?: number;\r\n /**\r\n * Maximum number of slow queries to be kept in the list.\r\n */\r\n maxSlowQueries?: number;\r\n /**\r\n * Threshold execution time in seconds for when a query will be\r\n * considered slow.\r\n */\r\n slowQueryThreshold?: number;\r\n /**\r\n * If set to `true`, bind parameters will be tracked along with queries.\r\n */\r\n trackBindVars?: boolean;\r\n /**\r\n * If set to `true` and `enabled` is also set to `true`, slow queries will be\r\n * tracked if their execution time exceeds `slowQueryThreshold`.\r\n */\r\n trackSlowQueries?: boolean;\r\n};\r\n\r\n/**\r\n * Options for adjusting the global properties for the AQL query results cache.\r\n */\r\nexport type QueryCachePropertiesOptions = {\r\n /**\r\n * If set to `true`, the query cache will include queries that involve\r\n * system collections.\r\n */\r\n includeSystem?: boolean;\r\n /**\r\n * Maximum individual size of query results that will be stored per\r\n * database-specific cache.\r\n */\r\n maxEntrySize?: number;\r\n /**\r\n * Maximum number of query results that will be stored per database-specific\r\n * cache.\r\n */\r\n maxResults?: number;\r\n /**\r\n * Maximum cumulated size of query results that will be stored per\r\n * database-specific cache.\r\n */\r\n maxResultsSize?: number;\r\n /**\r\n * Mode the AQL query cache should operate in.\r\n */\r\n mode?: \"off\" | \"on\" | \"demand\";\r\n};\r\n//#endregion\r\n\r\n//#region Query operation results\r\n/**\r\n * Result of explaining a query with a single plan.\r\n */\r\nexport type SingleExplainResult = {\r\n /**\r\n * Query plan.\r\n */\r\n plan: ExplainPlan;\r\n /**\r\n * Whether it would be possible to cache the query.\r\n */\r\n cacheable: boolean;\r\n /**\r\n * Warnings encountered while planning the query execution.\r\n */\r\n warnings: { code: number; message: string }[];\r\n /**\r\n * Optimizer statistics for the explained query.\r\n */\r\n stats: ExplainStats;\r\n};\r\n\r\n/**\r\n * Result of explaining a query with multiple plans.\r\n */\r\nexport type MultiExplainResult = {\r\n /**\r\n * Query plans.\r\n */\r\n plans: ExplainPlan[];\r\n /**\r\n * Whether it would be possible to cache the query.\r\n */\r\n cacheable: boolean;\r\n /**\r\n * Warnings encountered while planning the query execution.\r\n */\r\n warnings: { code: number; message: string }[];\r\n /**\r\n * Optimizer statistics for the explained query.\r\n */\r\n stats: ExplainStats;\r\n};\r\n\r\n/**\r\n * Plan explaining query execution.\r\n */\r\nexport type ExplainPlan = {\r\n /**\r\n * Execution nodes in this plan.\r\n */\r\n nodes: {\r\n [key: string]: any;\r\n type: string;\r\n id: number;\r\n dependencies: number[];\r\n estimatedCost: number;\r\n estimatedNrItems: number;\r\n }[];\r\n /**\r\n * Rules applied by the optimizer.\r\n */\r\n rules: string[];\r\n /**\r\n * Information about collections involved in the query.\r\n */\r\n collections: {\r\n name: string;\r\n type: \"read\" | \"write\";\r\n }[];\r\n /**\r\n * Variables used in the query.\r\n */\r\n variables: {\r\n id: number;\r\n name: string;\r\n }[];\r\n /**\r\n * Total estimated cost of the plan.\r\n */\r\n estimatedCost: number;\r\n /**\r\n * Estimated number of items returned by the query.\r\n */\r\n estimatedNrItems: number;\r\n /**\r\n * Whether the query is a data modification query.\r\n */\r\n isModificationQuery: boolean;\r\n};\r\n\r\n/**\r\n * Optimizer statistics for an explained query.\r\n */\r\nexport type ExplainStats = {\r\n /**\r\n * Total number of rules executed for this query.\r\n */\r\n rulesExecuted: number;\r\n /**\r\n * Number of rules skipped for this query.\r\n */\r\n rulesSkipped: number;\r\n /**\r\n * Total number of plans created.\r\n */\r\n plansCreated: number;\r\n /**\r\n * Maximum memory usage in bytes of the query during explain.\r\n */\r\n peakMemoryUsage: number;\r\n /**\r\n * Time in seconds needed to explain the query.\r\n */\r\n executionTime: number;\r\n};\r\n\r\n/**\r\n * Result of parsing a query.\r\n */\r\nexport type ParseResult = {\r\n /**\r\n * Whether the query was parsed.\r\n */\r\n parsed: boolean;\r\n /**\r\n * Names of all collections involved in the query.\r\n */\r\n collections: string[];\r\n /**\r\n * Names of all bind parameters used in the query.\r\n */\r\n bindVars: string[];\r\n /**\r\n * Abstract syntax tree (AST) of the query.\r\n */\r\n ast: AstNode[];\r\n};\r\n\r\n/**\r\n * Node in an AQL abstract syntax tree (AST).\r\n */\r\nexport type AstNode = {\r\n [key: string]: any;\r\n type: string;\r\n subNodes: AstNode[];\r\n};\r\n\r\n/**\r\n * Optimizer rule for AQL queries.\r\n */\r\nexport type QueryOptimizerRule = {\r\n name: string;\r\n flags: {\r\n hidden: boolean;\r\n clusterOnly: boolean;\r\n canBeDisabled: boolean;\r\n canCreateAdditionalPlans: boolean;\r\n disabledByDefault: boolean;\r\n enterpriseOnly: boolean;\r\n };\r\n};\r\n\r\n/**\r\n * Information about query tracking.\r\n */\r\nexport type QueryTrackingInfo = {\r\n /**\r\n * Whether query tracking is enabled.\r\n */\r\n enabled: boolean;\r\n /**\r\n * Maximum query string length in bytes that is kept in the list.\r\n */\r\n maxQueryStringLength: number;\r\n /**\r\n * Maximum number of slow queries that is kept in the list.\r\n */\r\n maxSlowQueries: number;\r\n /**\r\n * Threshold execution time in seconds for when a query is\r\n * considered slow.\r\n */\r\n slowQueryThreshold: number;\r\n /**\r\n * Whether bind parameters are being tracked along with queries.\r\n */\r\n trackBindVars: boolean;\r\n /**\r\n * Whether slow queries are being tracked.\r\n */\r\n trackSlowQueries: boolean;\r\n};\r\n\r\n/**\r\n * Entry in the AQL query results cache.\r\n */\r\nexport type QueryCacheEntry = {\r\n /**\r\n * Hash of the query results.\r\n */\r\n hash: string;\r\n /**\r\n * Query string.\r\n */\r\n query: string;\r\n /**\r\n * Bind parameters used in the query. Only shown if tracking for bind\r\n * variables was enabled at server start.\r\n */\r\n bindVars: Record<string, any>;\r\n /**\r\n * Size of the query results and bind parameters in bytes.\r\n */\r\n size: number;\r\n /**\r\n * Number of documents/rows in the query results.\r\n */\r\n results: number;\r\n /**\r\n * Date and time the query was started as an ISO 8601 timestamp.\r\n */\r\n started: string;\r\n /**\r\n * Number of times the result was served from the cache.\r\n */\r\n hits: number;\r\n /**\r\n * Running time of the query in seconds.\r\n */\r\n runTime: number;\r\n /**\r\n * Collections and views involved in the query.\r\n */\r\n dataSources: string[];\r\n};\r\n\r\n/**\r\n * Properties of the global AQL query results cache configuration.\r\n */\r\nexport type QueryCacheProperties = {\r\n /**\r\n * If set to `true`, the query cache will include queries that involve\r\n * system collections.\r\n */\r\n includeSystem: boolean;\r\n /**\r\n * Maximum individual size of query results that will be stored per\r\n * database-specific cache.\r\n */\r\n maxEntrySize: number;\r\n /**\r\n * Maximum number of query results that will be stored per database-specific\r\n * cache.\r\n */\r\n maxResults: number;\r\n /**\r\n * Maximum cumulated size of query results that will be stored per\r\n * database-specific cache.\r\n */\r\n maxResultsSize: number;\r\n /**\r\n * Mode the AQL query cache should operate in.\r\n */\r\n mode: \"off\" | \"on\" | \"demand\";\r\n};\r\n//#endregion\r\n\r\n//#region QueryDescription\r\n/**\r\n * Object describing a query.\r\n */\r\nexport type QueryDescription = {\r\n /**\r\n * Unique identifier for this query.\r\n */\r\n id: string;\r\n /**\r\n * Name of the database the query runs in.\r\n */\r\n database: string;\r\n /**\r\n * Name of the user that started the query.\r\n */\r\n user: string;\r\n /**\r\n * Query string (potentially truncated).\r\n */\r\n query: string;\r\n /**\r\n * Bind parameters used in the query.\r\n */\r\n bindVars: Record<string, any>;\r\n /**\r\n * Date and time the query was started.\r\n */\r\n started: string;\r\n /**\r\n * Query's running time in seconds.\r\n */\r\n runTime: number;\r\n /**\r\n * Maximum memory usage in bytes of the query.\r\n */\r\n peakMemoryUsage: number;\r\n /**\r\n * Query's current execution state.\r\n */\r\n state: \"executing\" | \"finished\" | \"killed\";\r\n /**\r\n * Whether the query uses a streaming cursor.\r\n */\r\n stream: boolean;\r\n};\r\n//#endregion\r\n\r\n//#region UserFunctionDescription\r\n/**\r\n * Definition of an AQL User Function.\r\n */\r\nexport type UserFunctionDescription = {\r\n /**\r\n * Name of the AQL User Function.\r\n */\r\n name: string;\r\n /**\r\n * Implementation of the AQL User Function.\r\n */\r\n code: string;\r\n /**\r\n * Whether the function is deterministic.\r\n *\r\n * See {@link databases.Database#createUserFunction}.\r\n */\r\n isDeterministic: boolean;\r\n};\r\n//#endregion\r\n"]}
|
|
1
|
+
{"version":3,"file":"queries.js","sourceRoot":"","sources":["../../src/queries.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AACH,8CAA8C;;AAoqB9C,YAAY","sourcesContent":["/**\r\n * ```ts\r\n * import type { QueryOptions } from \"arangojs/queries\";\r\n * ```\r\n *\r\n * The \"query\" module provides query related types for TypeScript.\r\n *\r\n * @packageDocumentation\r\n */\r\n/** @import databases from \"./databases.js\" */\r\n\r\n//#region Query operation options\r\n/**\r\n * Options for executing a query.\r\n *\r\n * See {@link databases.Database#query}.\r\n */\r\nexport type QueryOptions = {\r\n /**\r\n * If set to `true`, the query will be executed with support for dirty reads\r\n * enabled, permitting ArangoDB to return a potentially dirty or stale result\r\n * and arangojs will load balance the request without distinguishing between\r\n * leaders and followers.\r\n *\r\n * Note that dirty reads are only supported for read-only queries, not data\r\n * modification queries (e.g. using `INSERT`, `UPDATE`, `REPLACE` or\r\n * `REMOVE`) and only when using ArangoDB 3.4 or later.\r\n *\r\n * Default: `false`\r\n */\r\n allowDirtyRead?: boolean;\r\n /**\r\n * If set to `true`, cursor results will be stored by ArangoDB in such a way\r\n * that batch reads can be retried in the case of a communication error.\r\n *\r\n * Default: `false`\r\n */\r\n allowRetry?: boolean;\r\n /**\r\n * Maximum time in milliseconds arangojs will wait for a server response.\r\n * Exceeding this value will result in the request being cancelled.\r\n *\r\n * **Note**: Setting a timeout for the client does not guarantee the query\r\n * will be killed by ArangoDB if it is already being executed. See the\r\n * `maxRuntime` option for limiting the execution time within ArangoDB.\r\n */\r\n timeout?: number;\r\n /**\r\n * If set to a positive number, the query will automatically be retried at\r\n * most this many times if it results in a write-write conflict.\r\n *\r\n * Default: `0`\r\n */\r\n retryOnConflict?: number;\r\n /**\r\n * Unless set to `false`, the number of result values in the result set will\r\n * be returned in the `count` attribute. This may be disabled by default in\r\n * a future version of ArangoDB if calculating this value has a performance\r\n * impact for some queries.\r\n *\r\n * Default: `true`.\r\n */\r\n count?: boolean;\r\n /**\r\n * Number of result values to be transferred by the server in each\r\n * network roundtrip (or \"batch\").\r\n *\r\n * Must be greater than zero.\r\n */\r\n batchSize?: number;\r\n /**\r\n * If set to `false`, the AQL query results cache lookup will be skipped for\r\n * this query.\r\n *\r\n * Default: `true`\r\n */\r\n cache?: boolean;\r\n /**\r\n * Maximum memory size in bytes that the query is allowed to use.\r\n * Exceeding this value will result in the query failing with an error.\r\n *\r\n * If set to `0`, the memory limit is disabled.\r\n *\r\n * Default: `0`\r\n */\r\n memoryLimit?: number;\r\n /**\r\n * Maximum allowed execution time before the query will be killed in seconds.\r\n *\r\n * If set to `0`, the query will be allowed to run indefinitely.\r\n *\r\n * Default: `0`\r\n */\r\n maxRuntime?: number;\r\n /**\r\n * Time-to-live for the cursor in seconds. The cursor results may be\r\n * garbage collected by ArangoDB after this much time has passed.\r\n *\r\n * Default: `30`\r\n */\r\n ttl?: number;\r\n /**\r\n * If set to `true`, the query will throw an exception and abort if it would\r\n otherwise produce a warning.\r\n */\r\n failOnWarning?: boolean;\r\n /**\r\n * If set to `1` or `true`, additional query profiling information will be\r\n * returned in the `extra.profile` attribute if the query is not served from\r\n * the result cache.\r\n *\r\n * If set to `2`, the query will return execution stats per query plan node\r\n * in the `extra.stats.nodes` attribute. Additionally the query plan is\r\n * returned in `extra.plan`.\r\n */\r\n profile?: boolean | number;\r\n /**\r\n * If set to `true`, the query will be executed as a streaming query.\r\n */\r\n stream?: boolean;\r\n /**\r\n * Limits the maximum number of warnings a query will return.\r\n */\r\n maxWarningCount?: number;\r\n /**\r\n * If set to `true` and the query has a `LIMIT` clause, the total number of\r\n * values matched before the last top-level `LIMIT` in the query was applied\r\n * will be returned in the `extra.stats.fullCount` attribute.\r\n */\r\n fullCount?: boolean;\r\n /**\r\n * If set to `false`, the query data will not be stored in the RocksDB block\r\n * cache. This can be used to avoid thrashing he block cache when reading a\r\n * lot of data.\r\n */\r\n fillBlockCache?: boolean;\r\n /**\r\n * An object with a `rules` property specifying a list of optimizer rules to\r\n * be included or excluded by the optimizer for this query. Prefix a rule\r\n * name with `+` to include it, or `-` to exclude it. The name `all` acts as\r\n * an alias matching all optimizer rules.\r\n */\r\n optimizer?: { rules: string[] };\r\n /**\r\n * Limits the maximum number of plans that will be created by the AQL query\r\n * optimizer.\r\n *\r\n * @deprecated Use `maxNumberOfPlans` instead. `maxPlans` will be removed in a\r\n * future major version. Both are currently supported; when both are provided,\r\n * `maxNumberOfPlans` takes precedence.\r\n */\r\n maxPlans?: number;\r\n /**\r\n * Limits the maximum number of plans that will be created by the AQL query\r\n * optimizer.\r\n */\r\n maxNumberOfPlans?: number;\r\n /**\r\n * Controls after how many execution nodes in a query a stack split should be\r\n * performed.\r\n *\r\n * Default: `250` (`200` on macOS)\r\n */\r\n maxNodesPerCallstack?: number;\r\n /**\r\n * Maximum size of transactions in bytes.\r\n */\r\n maxTransactionSize?: number;\r\n /**\r\n * Maximum number of operations after which an intermediate commit is\r\n * automatically performed.\r\n */\r\n intermediateCommitCount?: number;\r\n /**\r\n * Maximum total size of operations in bytes after which an intermediate\r\n * commit is automatically performed.\r\n */\r\n intermediateCommitSize?: number;\r\n /**\r\n * (Enterprise Edition cluster only.) If set to `true`, collections\r\n * inaccessible to current user will result in an access error instead\r\n * of being treated as empty.\r\n */\r\n skipInaccessibleCollections?: boolean;\r\n /**\r\n * (Enterprise Edition cluster only.) Limits the maximum time in seconds a\r\n * DBServer will wait to bring satellite collections involved in the query\r\n * into sync. Exceeding this value will result in the query being stopped.\r\n *\r\n * Default: `60`\r\n */\r\n satelliteSyncWait?: number;\r\n};\r\n\r\n/**\r\n * Options for explaining a query.\r\n *\r\n * See {@link databases.Database#explain}.\r\n */\r\nexport type ExplainOptions = {\r\n /**\r\n * An object with a `rules` property specifying a list of optimizer rules to\r\n * be included or excluded by the optimizer for this query. Prefix a rule\r\n * name with `+` to include it, or `-` to exclude it. The name `all` acts as\r\n * an alias matching all optimizer rules.\r\n */\r\n optimizer?: { rules: string[] };\r\n /**\r\n * Maximum number of plans that the optimizer is allowed to generate.\r\n * Setting this to a low value limits the amount of work the optimizer does.\r\n */\r\n maxNumberOfPlans?: number;\r\n /**\r\n * If set to true, all possible execution plans will be returned as the\r\n * `plans` property. Otherwise only the optimal execution plan will be\r\n * returned as the `plan` property.\r\n *\r\n * Default: `false`\r\n */\r\n allPlans?: boolean;\r\n /**\r\n * Whether to calculate the total number of documents matching the filter\r\n * conditions as if the query's final top-level `LIMIT` operation were not\r\n * applied. This option generally leads to different execution plans.\r\n *\r\n * Default: `false`\r\n */\r\n fullCount?: boolean;\r\n /**\r\n * Whether to include additional query profiling information.\r\n * If set to `2`, the response includes the time it took to process each\r\n * optimizer rule under `stats.rules`.\r\n *\r\n * Default: `0`\r\n */\r\n profile?: number;\r\n /**\r\n * The number of execution nodes in the query plan after that stack splitting\r\n * is performed to avoid a potential stack overflow.\r\n *\r\n * This option is only useful for testing and debugging and normally does not\r\n * need any adjustment.\r\n *\r\n * Default: Controlled by the `--query.max-nodes-per-callstack` startup option.\r\n */\r\n maxNodesPerCallstack?: number;\r\n /**\r\n * Limits the number of warnings a query can return.\r\n * You can increase or decrease the number with this option.\r\n *\r\n * Default: `10`\r\n */\r\n maxWarningCount?: number;\r\n /**\r\n * If set to `true`, the query throws an exception and aborts instead of\r\n * producing a warning. You should use this option during development to catch\r\n * potential issues early. When the attribute is set to `false`, warnings are\r\n * not propagated to exceptions and are returned with the query result.\r\n *\r\n * Default: Controlled by the `--query.fail-on-warning` startup option.\r\n */\r\n failOnWarning?: boolean;\r\n};\r\n\r\n/**\r\n * Options for query tracking.\r\n *\r\n * See {@link databases.Database#queryTracking}.\r\n */\r\nexport type QueryTrackingOptions = {\r\n /**\r\n * If set to `false`, neither queries nor slow queries will be tracked.\r\n */\r\n enabled?: boolean;\r\n /**\r\n * Maximum query string length in bytes that will be kept in the list.\r\n */\r\n maxQueryStringLength?: number;\r\n /**\r\n * Maximum number of slow queries to be kept in the list.\r\n */\r\n maxSlowQueries?: number;\r\n /**\r\n * Threshold execution time in seconds for when a query will be\r\n * considered slow.\r\n */\r\n slowQueryThreshold?: number;\r\n /**\r\n * Threshold in seconds for treating a streaming query as slow\r\n * (the `stream` option is `true` for the query).\r\n */\r\n slowStreamingQueryThreshold?: number;\r\n /**\r\n * If set to `true`, bind parameters will be tracked along with queries.\r\n */\r\n trackBindVars?: boolean;\r\n /**\r\n * If set to `true` and `enabled` is also set to `true`, slow queries will be\r\n * tracked if their execution time exceeds `slowQueryThreshold`.\r\n */\r\n trackSlowQueries?: boolean;\r\n};\r\n\r\n/**\r\n * Options for adjusting the global properties for the AQL query results cache.\r\n */\r\nexport type QueryCachePropertiesOptions = {\r\n /**\r\n * If set to `true`, the query cache will include queries that involve\r\n * system collections.\r\n */\r\n includeSystem?: boolean;\r\n /**\r\n * Maximum individual size of query results that will be stored per\r\n * database-specific cache.\r\n */\r\n maxEntrySize?: number;\r\n /**\r\n * Maximum number of query results that will be stored per database-specific\r\n * cache.\r\n */\r\n maxResults?: number;\r\n /**\r\n * Maximum cumulated size of query results that will be stored per\r\n * database-specific cache.\r\n */\r\n maxResultsSize?: number;\r\n /**\r\n * Mode the AQL query cache should operate in.\r\n */\r\n mode?: \"off\" | \"on\" | \"demand\";\r\n};\r\n//#endregion\r\n\r\n//#region Query operation results\r\n/**\r\n * Result of explaining a query with a single plan.\r\n */\r\nexport type SingleExplainResult = {\r\n /**\r\n * Query plan.\r\n */\r\n plan: ExplainPlan;\r\n /**\r\n * Whether it would be possible to cache the query.\r\n */\r\n cacheable: boolean;\r\n /**\r\n * Warnings encountered while planning the query execution.\r\n */\r\n warnings: { code: number; message: string }[];\r\n /**\r\n * Optimizer statistics for the explained query.\r\n */\r\n stats: ExplainStats;\r\n};\r\n\r\n/**\r\n * Result of explaining a query with multiple plans.\r\n */\r\nexport type MultiExplainResult = {\r\n /**\r\n * Query plans.\r\n */\r\n plans: ExplainPlan[];\r\n /**\r\n * Whether it would be possible to cache the query.\r\n */\r\n cacheable: boolean;\r\n /**\r\n * Warnings encountered while planning the query execution.\r\n */\r\n warnings: { code: number; message: string }[];\r\n /**\r\n * Optimizer statistics for the explained query.\r\n */\r\n stats: ExplainStats;\r\n};\r\n\r\n/**\r\n * Plan explaining query execution.\r\n */\r\nexport type ExplainPlan = {\r\n /**\r\n * Execution nodes in this plan.\r\n */\r\n nodes: {\r\n [key: string]: any;\r\n type: string;\r\n id: number;\r\n dependencies: number[];\r\n estimatedCost: number;\r\n estimatedNrItems: number;\r\n }[];\r\n /**\r\n * Rules applied by the optimizer.\r\n */\r\n rules: string[];\r\n /**\r\n * Information about collections involved in the query.\r\n */\r\n collections: {\r\n name: string;\r\n type: \"read\" | \"write\";\r\n }[];\r\n /**\r\n * Variables used in the query.\r\n */\r\n variables: {\r\n id: number;\r\n name: string;\r\n }[];\r\n /**\r\n * Total estimated cost of the plan.\r\n */\r\n estimatedCost: number;\r\n /**\r\n * Estimated number of items returned by the query.\r\n */\r\n estimatedNrItems: number;\r\n /**\r\n * Whether the query is a data modification query.\r\n */\r\n isModificationQuery: boolean;\r\n};\r\n\r\n/**\r\n * Optimizer statistics for an explained query.\r\n */\r\nexport type ExplainStats = {\r\n /**\r\n * Total number of rules executed for this query.\r\n */\r\n rulesExecuted: number;\r\n /**\r\n * Number of rules skipped for this query.\r\n */\r\n rulesSkipped: number;\r\n /**\r\n * Total number of plans created.\r\n */\r\n plansCreated: number;\r\n /**\r\n * Maximum memory usage in bytes of the query during explain.\r\n */\r\n peakMemoryUsage: number;\r\n /**\r\n * Time in seconds needed to explain the query.\r\n */\r\n executionTime: number;\r\n};\r\n\r\n/**\r\n * Result of parsing a query.\r\n */\r\nexport type ParseResult = {\r\n /**\r\n * Whether the query was parsed.\r\n */\r\n parsed: boolean;\r\n /**\r\n * Names of all collections involved in the query.\r\n */\r\n collections: string[];\r\n /**\r\n * Names of all bind parameters used in the query.\r\n */\r\n bindVars: string[];\r\n /**\r\n * Abstract syntax tree (AST) of the query.\r\n */\r\n ast: AstNode[];\r\n};\r\n\r\n/**\r\n * Node in an AQL abstract syntax tree (AST).\r\n */\r\nexport type AstNode = {\r\n [key: string]: any;\r\n type: string;\r\n subNodes: AstNode[];\r\n};\r\n\r\n/**\r\n * Optimizer rule for AQL queries.\r\n */\r\nexport type QueryOptimizerRule = {\r\n name: string;\r\n flags: {\r\n hidden: boolean;\r\n clusterOnly: boolean;\r\n canBeDisabled: boolean;\r\n canCreateAdditionalPlans: boolean;\r\n disabledByDefault: boolean;\r\n enterpriseOnly: boolean;\r\n };\r\n};\r\n\r\n/**\r\n * Information about query tracking.\r\n */\r\nexport type QueryTrackingInfo = {\r\n /**\r\n * Whether query tracking is enabled.\r\n */\r\n enabled: boolean;\r\n /**\r\n * Maximum query string length in bytes that is kept in the list.\r\n */\r\n maxQueryStringLength: number;\r\n /**\r\n * Maximum number of slow queries that is kept in the list.\r\n */\r\n maxSlowQueries: number;\r\n /**\r\n * Threshold execution time in seconds for when a query is\r\n * considered slow.\r\n */\r\n slowQueryThreshold: number;\r\n /**\r\n * Threshold in seconds for treating a streaming query as slow\r\n * (the `stream` option is `true` for the query).\r\n */\r\n slowStreamingQueryThreshold: number;\r\n /**\r\n * Whether bind parameters are being tracked along with queries.\r\n */\r\n trackBindVars: boolean;\r\n /**\r\n * Whether slow queries are being tracked.\r\n */\r\n trackSlowQueries: boolean;\r\n};\r\n\r\n/**\r\n * Entry in the AQL query results cache.\r\n */\r\nexport type QueryCacheEntry = {\r\n /**\r\n * Hash of the query results.\r\n */\r\n hash: string;\r\n /**\r\n * Query string.\r\n */\r\n query: string;\r\n /**\r\n * Bind parameters used in the query. Only shown if tracking for bind\r\n * variables was enabled at server start.\r\n */\r\n bindVars: Record<string, any>;\r\n /**\r\n * Size of the query results and bind parameters in bytes.\r\n */\r\n size: number;\r\n /**\r\n * Number of documents/rows in the query results.\r\n */\r\n results: number;\r\n /**\r\n * Date and time the query was started as an ISO 8601 timestamp.\r\n */\r\n started: string;\r\n /**\r\n * Number of times the result was served from the cache.\r\n */\r\n hits: number;\r\n /**\r\n * Running time of the query in seconds.\r\n */\r\n runTime: number;\r\n /**\r\n * Collections and views involved in the query.\r\n */\r\n dataSources: string[];\r\n};\r\n\r\n/**\r\n * Properties of the global AQL query results cache configuration.\r\n */\r\nexport type QueryCacheProperties = {\r\n /**\r\n * If set to `true`, the query cache will include queries that involve\r\n * system collections.\r\n */\r\n includeSystem: boolean;\r\n /**\r\n * Maximum individual size of query results that will be stored per\r\n * database-specific cache.\r\n */\r\n maxEntrySize: number;\r\n /**\r\n * Maximum number of query results that will be stored per database-specific\r\n * cache.\r\n */\r\n maxResults: number;\r\n /**\r\n * Maximum cumulated size of query results that will be stored per\r\n * database-specific cache.\r\n */\r\n maxResultsSize: number;\r\n /**\r\n * Mode the AQL query cache should operate in.\r\n */\r\n mode: \"off\" | \"on\" | \"demand\";\r\n};\r\n//#endregion\r\n\r\n//#region QueryDescription\r\n/**\r\n * Object describing a query.\r\n */\r\nexport type QueryDescription = {\r\n /**\r\n * Unique identifier for this query.\r\n */\r\n id: string;\r\n /**\r\n * Name of the database the query runs in.\r\n */\r\n database: string;\r\n /**\r\n * Name of the user that started the query.\r\n */\r\n user: string;\r\n /**\r\n * Query string (potentially truncated).\r\n */\r\n query: string;\r\n /**\r\n * Bind parameters used in the query.\r\n */\r\n bindVars: Record<string, any>;\r\n /**\r\n * Date and time the query was started.\r\n */\r\n started: string;\r\n /**\r\n * Query's running time in seconds.\r\n */\r\n runTime: number;\r\n /**\r\n * Maximum memory usage in bytes of the query.\r\n */\r\n peakMemoryUsage: number;\r\n /**\r\n * Query's current execution state.\r\n */\r\n state: \"executing\" | \"finished\" | \"killed\";\r\n /**\r\n * Whether the query uses a streaming cursor.\r\n */\r\n stream: boolean;\r\n /**\r\n * Whether the query writes data (`true`) or only reads (`false`).\r\n */\r\n modificationQuery: boolean;\r\n /**\r\n * An error code (`errorNum`) that indicates why the query failed, or `0` on success.\r\n * Only present in slow queries (finished queries), not in running queries.\r\n */\r\n exitCode?: number;\r\n};\r\n//#endregion\r\n\r\n//#region UserFunctionDescription\r\n/**\r\n * Definition of an AQL User Function.\r\n */\r\nexport type UserFunctionDescription = {\r\n /**\r\n * Name of the AQL User Function.\r\n */\r\n name: string;\r\n /**\r\n * Implementation of the AQL User Function.\r\n */\r\n code: string;\r\n /**\r\n * Whether the function is deterministic.\r\n *\r\n * See {@link databases.Database#createUserFunction}.\r\n */\r\n isDeterministic: boolean;\r\n};\r\n//#endregion\r\n"]}
|
package/indexes.d.ts
CHANGED
|
@@ -532,6 +532,13 @@ export type EnsureVectorIndexOptions = EnsureIndexOptionsType<"vector", [
|
|
|
532
532
|
* Introduced in: ArangoDB 3.12.7
|
|
533
533
|
*/
|
|
534
534
|
storedValues?: string[];
|
|
535
|
+
/**
|
|
536
|
+
* Whether to create a sparse index that excludes documents with the
|
|
537
|
+
* attribute for indexing missing or set to `null`.
|
|
538
|
+
*
|
|
539
|
+
* Default: `false`
|
|
540
|
+
*/
|
|
541
|
+
sparse?: boolean;
|
|
535
542
|
/**
|
|
536
543
|
* Vector index parameters, following Faiss configuration.
|
|
537
544
|
*/
|
|
@@ -802,6 +809,12 @@ export type HiddenIndexDescription = (IndexDescription | InternalIndexDescriptio
|
|
|
802
809
|
*/
|
|
803
810
|
progress?: number;
|
|
804
811
|
};
|
|
812
|
+
/**
|
|
813
|
+
* Training lifecycle state reported for a vector index.
|
|
814
|
+
*
|
|
815
|
+
* Introduced in: ArangoDB 3.12.9
|
|
816
|
+
*/
|
|
817
|
+
export type VectorIndexTrainingState = "unusable" | "training" | "ingesting" | "ready";
|
|
805
818
|
/**
|
|
806
819
|
* An object representing a vector index.
|
|
807
820
|
*/
|
|
@@ -817,6 +830,19 @@ export type VectorIndexDescription = IndexDescriptionType<"vector", [
|
|
|
817
830
|
* Introduced in: ArangoDB 3.12.7
|
|
818
831
|
*/
|
|
819
832
|
storedValues?: string[];
|
|
833
|
+
/**
|
|
834
|
+
* Current training state of the vector index.
|
|
835
|
+
*
|
|
836
|
+
* Introduced in: ArangoDB 3.12.9. Omitted on older server versions.
|
|
837
|
+
*/
|
|
838
|
+
trainingState?: VectorIndexTrainingState;
|
|
839
|
+
/**
|
|
840
|
+
* Optional detail when training fails or the index is unusable
|
|
841
|
+
* (for example, insufficient training data).
|
|
842
|
+
*
|
|
843
|
+
* Introduced in: ArangoDB 3.12.9. Only present when there is a problem with the index.
|
|
844
|
+
*/
|
|
845
|
+
errorMessage?: string;
|
|
820
846
|
params: {
|
|
821
847
|
metric: "cosine" | "l2" | "innerProduct";
|
|
822
848
|
dimension: number;
|
package/indexes.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"indexes.d.ts","source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