Skip to content

Commit 195d26d

Browse files
authored
Backport 2345 to 8.11 (#2346)
* Add sparse vector property (#2345) * Add SparseVectorProperty to Property union * make contrib * Add output/openapi/elasticsearch-serverless-openapi.json to .gitattributes (cherry picked from commit 45873c6) * Remove openapi output from 8.11 gitattributes
1 parent d38ed5d commit 195d26d

File tree

3 files changed

+41
-4
lines changed

3 files changed

+41
-4
lines changed

output/schema/schema.json

Lines changed: 34 additions & 3 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: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_types/mapping/Property.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ import {
4848
ScaledFloatNumberProperty,
4949
SearchAsYouTypeProperty,
5050
ShortNumberProperty,
51+
SparseVectorProperty,
5152
TextProperty,
5253
UnsignedLongNumberProperty,
5354
VersionProperty,
@@ -117,6 +118,7 @@ export type Property =
117118
// complex
118119
| AggregateMetricDoubleProperty
119120
| DenseVectorProperty
121+
| SparseVectorProperty
120122
| FlattenedProperty
121123
| NestedProperty
122124
| ObjectProperty

0 commit comments

Comments
 (0)