Skip to content

Commit 238822b

Browse files
committed
Allow multi-fields in semantic_text property
1 parent 48e4926 commit 238822b

File tree

5 files changed

+56
-10
lines changed

5 files changed

+56
-10
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 35 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/mapping/core.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,12 @@ export class SemanticTextProperty {
265265
* they will not be applied to existing documents until they are reindexed.
266266
*/
267267
chunking_settings?: ChunkingSettings
268+
/**
269+
* Multi-fields allow the same string value to be indexed in multiple ways for different purposes, such as one
270+
* field for search and a multi-field for sorting and aggregations, or the same string value analyzed by different analyzers.
271+
* @doc_id multi-fields
272+
*/
273+
fields?: Dictionary<PropertyName, Property>
268274
}
269275

270276
export class SearchAsYouTypeProperty extends CorePropertyBase {

0 commit comments

Comments
 (0)