Skip to content

Commit 45873c6

Browse files
authored
Add sparse vector property (#2345)
* Add SparseVectorProperty to Property union * make contrib * Add output/openapi/elasticsearch-serverless-openapi.json to .gitattributes
1 parent 4cb8d4d commit 45873c6

File tree

5 files changed

+65
-3
lines changed

5 files changed

+65
-3
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
output/dangling-types/dangling.csv linguist-generated=true
22
output/schema/schema.json linguist-generated=true
3+
output/openapi/elasticsearch-serverless-openapi.json linguist-generated=true
34
output/schema/import-type-graph.json linguist-generated=true
45
output/schema/import-namespace-graph-compact.json linguist-generated=true
56
output/schema/import-namespace-graph-expanded.json linguist-generated=true

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 24 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: 33 additions & 2 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)