mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-19 17:01:13 +00:00
fix unit tests
This commit is contained in:
@@ -5,6 +5,9 @@ exports[`getCommonQueryOptions builds the correct default options objects 1`] =
|
|||||||
"disableNonStreamingOrderByQuery": true,
|
"disableNonStreamingOrderByQuery": true,
|
||||||
"enableScanInQuery": true,
|
"enableScanInQuery": true,
|
||||||
"forceQueryPlan": true,
|
"forceQueryPlan": true,
|
||||||
|
"initialHeaders": {
|
||||||
|
"x-ms-cosmos-throughput-bucket": "1",
|
||||||
|
},
|
||||||
"maxDegreeOfParallelism": 0,
|
"maxDegreeOfParallelism": 0,
|
||||||
"maxItemCount": 100,
|
"maxItemCount": 100,
|
||||||
"populateQueryMetrics": true,
|
"populateQueryMetrics": true,
|
||||||
@@ -16,6 +19,9 @@ exports[`getCommonQueryOptions reads from localStorage 1`] = `
|
|||||||
"disableNonStreamingOrderByQuery": true,
|
"disableNonStreamingOrderByQuery": true,
|
||||||
"enableScanInQuery": true,
|
"enableScanInQuery": true,
|
||||||
"forceQueryPlan": true,
|
"forceQueryPlan": true,
|
||||||
|
"initialHeaders": {
|
||||||
|
"x-ms-cosmos-throughput-bucket": "1",
|
||||||
|
},
|
||||||
"maxDegreeOfParallelism": 17,
|
"maxDegreeOfParallelism": 17,
|
||||||
"maxItemCount": 37,
|
"maxItemCount": 37,
|
||||||
"populateQueryMetrics": true,
|
"populateQueryMetrics": true,
|
||||||
|
|||||||
@@ -1290,6 +1290,8 @@ export interface SqlContainerResource {
|
|||||||
|
|
||||||
/* The vector embedding policy for the container. */
|
/* The vector embedding policy for the container. */
|
||||||
vectorEmbeddingPolicy?: VectorEmbeddingPolicy;
|
vectorEmbeddingPolicy?: VectorEmbeddingPolicy;
|
||||||
|
|
||||||
|
fullTextPolicy?: FullTextPolicy;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Cosmos DB indexing policy */
|
/* Cosmos DB indexing policy */
|
||||||
@@ -1368,6 +1370,28 @@ export interface VectorEmbedding {
|
|||||||
dimensions: number;
|
dimensions: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface FullTextPolicy {
|
||||||
|
/**
|
||||||
|
* The default language for the full text .
|
||||||
|
*/
|
||||||
|
defaultLanguage: string;
|
||||||
|
/**
|
||||||
|
* The paths to be indexed for full text search.
|
||||||
|
*/
|
||||||
|
fullTextPaths: FullTextPath[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface FullTextPath {
|
||||||
|
/**
|
||||||
|
* The path to be indexed for full text search.
|
||||||
|
*/
|
||||||
|
path: string;
|
||||||
|
/**
|
||||||
|
* The language for the full text path.
|
||||||
|
*/
|
||||||
|
language: string;
|
||||||
|
}
|
||||||
|
|
||||||
/* List of composite path */
|
/* List of composite path */
|
||||||
export type CompositePathList = CompositePath[];
|
export type CompositePathList = CompositePath[];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user