mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-11-03 20:19:31 +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.",
 | 
			
		||||
      "$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": {
 | 
			
		||||
      "description": "Owners of this SearchIndex",
 | 
			
		||||
      "$ref": "../../type/entityReferenceList.json",
 | 
			
		||||
@ -74,11 +79,6 @@
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "minLength": 1,
 | 
			
		||||
      "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"],
 | 
			
		||||
 | 
			
		||||
@ -35,6 +35,12 @@
 | 
			
		||||
      },
 | 
			
		||||
      "additionalProperties": false
 | 
			
		||||
    },
 | 
			
		||||
    "indexType": {
 | 
			
		||||
      "description": "Whether the entity is index or index template.",
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "enum": ["Index", "IndexTemplate"],
 | 
			
		||||
      "default": "Index"
 | 
			
		||||
    },
 | 
			
		||||
    "dataType": {
 | 
			
		||||
      "javaType": "org.openmetadata.schema.type.SearchIndexDataType",
 | 
			
		||||
      "description": "This enum defines the type of data stored in a searchIndex.",
 | 
			
		||||
@ -200,11 +206,17 @@
 | 
			
		||||
      "description": "Contains key/value pair of searchIndex settings.",
 | 
			
		||||
      "$ref": "#/definitions/searchIndexSettings"
 | 
			
		||||
    },
 | 
			
		||||
    "indexType": {
 | 
			
		||||
      "description": "Whether the entity is index or index template.",
 | 
			
		||||
      "$ref": "#/definitions/indexType",
 | 
			
		||||
      "default": "Index"
 | 
			
		||||
    },
 | 
			
		||||
    "sampleData": {
 | 
			
		||||
      "description": "Sample data for a searchIndex.",
 | 
			
		||||
      "$ref": "#/definitions/searchIndexSampleData",
 | 
			
		||||
      "default": null
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "owners": {
 | 
			
		||||
      "description": "Owners of this searchIndex.",
 | 
			
		||||
      "$ref": "../../type/entityReferenceList.json"
 | 
			
		||||
@ -262,13 +274,6 @@
 | 
			
		||||
      "type": "string",
 | 
			
		||||
      "minLength": 1,
 | 
			
		||||
      "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": [
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user