fix unit tests

This commit is contained in:
Sung-Hyun Kang
2025-02-03 11:23:49 -06:00
parent ac53e1b3b5
commit 20eeed98e4
2 changed files with 30 additions and 0 deletions

View File

@@ -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,

View File

@@ -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[];