Skip to content

Commit

Permalink
Add sparse vector property (#2345)
Browse files Browse the repository at this point in the history
* Add SparseVectorProperty to Property union

* make contrib

* Add output/openapi/elasticsearch-serverless-openapi.json to .gitattributes
  • Loading branch information
Anaethelion authored Nov 14, 2023
1 parent 4cb8d4d commit 45873c6
Show file tree
Hide file tree
Showing 5 changed files with 65 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
output/dangling-types/dangling.csv linguist-generated=true
output/schema/schema.json linguist-generated=true
output/openapi/elasticsearch-serverless-openapi.json linguist-generated=true
output/schema/import-type-graph.json linguist-generated=true
output/schema/import-namespace-graph-compact.json linguist-generated=true
output/schema/import-namespace-graph-expanded.json linguist-generated=true
Expand Down
24 changes: 24 additions & 0 deletions output/openapi/elasticsearch-serverless-openapi.json

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

35 changes: 33 additions & 2 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 45873c6

Please sign in to comment.