mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-14 09:51:13 +00:00
Minor: fix indexType definition in searchIndex spec (#18912)
* Minor: fix indexType definition in searchIndex spec * Minor: fix indexType definition in searchIndex spec
This commit is contained in:
parent
e44ca06173
commit
0629750e0a
@ -36,6 +36,11 @@
|
|||||||
"description": "Contains key/value pair of searchIndex settings.",
|
"description": "Contains key/value pair of searchIndex settings.",
|
||||||
"$ref": "../../entity/data/searchIndex.json#/definitions/searchIndexSettings"
|
"$ref": "../../entity/data/searchIndex.json#/definitions/searchIndexSettings"
|
||||||
},
|
},
|
||||||
|
"indexType": {
|
||||||
|
"description": "Whether the entity is index or index template.",
|
||||||
|
"$ref": "../../entity/data/searchIndex.json#/definitions/indexType",
|
||||||
|
"default": "Index"
|
||||||
|
},
|
||||||
"owners": {
|
"owners": {
|
||||||
"description": "Owners of this SearchIndex",
|
"description": "Owners of this SearchIndex",
|
||||||
"$ref": "../../type/entityReferenceList.json",
|
"$ref": "../../type/entityReferenceList.json",
|
||||||
@ -74,11 +79,6 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
"maxLength": 32
|
"maxLength": 32
|
||||||
},
|
|
||||||
"indexType": {
|
|
||||||
"description": "Whether the entity is index or index template.",
|
|
||||||
"$ref": "../../entity/data/searchIndex.json#/properties/indexType",
|
|
||||||
"default": "Index"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["name", "service", "fields"],
|
"required": ["name", "service", "fields"],
|
||||||
|
|||||||
@ -35,6 +35,12 @@
|
|||||||
},
|
},
|
||||||
"additionalProperties": false
|
"additionalProperties": false
|
||||||
},
|
},
|
||||||
|
"indexType": {
|
||||||
|
"description": "Whether the entity is index or index template.",
|
||||||
|
"type": "string",
|
||||||
|
"enum": ["Index", "IndexTemplate"],
|
||||||
|
"default": "Index"
|
||||||
|
},
|
||||||
"dataType": {
|
"dataType": {
|
||||||
"javaType": "org.openmetadata.schema.type.SearchIndexDataType",
|
"javaType": "org.openmetadata.schema.type.SearchIndexDataType",
|
||||||
"description": "This enum defines the type of data stored in a searchIndex.",
|
"description": "This enum defines the type of data stored in a searchIndex.",
|
||||||
@ -200,11 +206,17 @@
|
|||||||
"description": "Contains key/value pair of searchIndex settings.",
|
"description": "Contains key/value pair of searchIndex settings.",
|
||||||
"$ref": "#/definitions/searchIndexSettings"
|
"$ref": "#/definitions/searchIndexSettings"
|
||||||
},
|
},
|
||||||
|
"indexType": {
|
||||||
|
"description": "Whether the entity is index or index template.",
|
||||||
|
"$ref": "#/definitions/indexType",
|
||||||
|
"default": "Index"
|
||||||
|
},
|
||||||
"sampleData": {
|
"sampleData": {
|
||||||
"description": "Sample data for a searchIndex.",
|
"description": "Sample data for a searchIndex.",
|
||||||
"$ref": "#/definitions/searchIndexSampleData",
|
"$ref": "#/definitions/searchIndexSampleData",
|
||||||
"default": null
|
"default": null
|
||||||
},
|
},
|
||||||
|
|
||||||
"owners": {
|
"owners": {
|
||||||
"description": "Owners of this searchIndex.",
|
"description": "Owners of this searchIndex.",
|
||||||
"$ref": "../../type/entityReferenceList.json"
|
"$ref": "../../type/entityReferenceList.json"
|
||||||
@ -262,13 +274,6 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"minLength": 1,
|
"minLength": 1,
|
||||||
"maxLength": 32
|
"maxLength": 32
|
||||||
},
|
|
||||||
"indexType": {
|
|
||||||
"description": "Whether the entity is index or index template.",
|
|
||||||
"type": "string",
|
|
||||||
"javaType": "org.openmetadata.schema.entity.type.SearchIndexType",
|
|
||||||
"enum": ["Index", "IndexTemplate"],
|
|
||||||
"default": "Index"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": [
|
"required": [
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user