Skip to content

Commit

Permalink
Backport 2345 to 8.11 (#2346)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Anaethelion authored Nov 14, 2023
1 parent d38ed5d commit 195d26d
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 4 deletions.
37 changes: 34 additions & 3 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions specification/_types/mapping/Property.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import {
ScaledFloatNumberProperty,
SearchAsYouTypeProperty,
ShortNumberProperty,
SparseVectorProperty,
TextProperty,
UnsignedLongNumberProperty,
VersionProperty,
Expand Down Expand Up @@ -117,6 +118,7 @@ export type Property =
// complex
| AggregateMetricDoubleProperty
| DenseVectorProperty
| SparseVectorProperty
| FlattenedProperty
| NestedProperty
| ObjectProperty
Expand Down

0 comments on commit 195d26d

Please sign in to comment.