mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-11-03 20:27:50 +00:00 
			
		
		
		
	feat(model): add searchable annotation for features in feature table (#4216)
This commit is contained in:
		
							parent
							
								
									0146d47487
								
							
						
					
					
						commit
						c2f3fe182f
					
				@ -25,6 +25,12 @@ record MLFeatureTableProperties includes CustomProperties {
 | 
			
		||||
      "entityTypes": [ "mlFeature" ]
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  @Searchable = {
 | 
			
		||||
    "/*": {
 | 
			
		||||
      "fieldName": "features",
 | 
			
		||||
      "fieldType": "URN"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  mlFeatures: optional array[Urn]
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
@ -36,5 +42,11 @@ record MLFeatureTableProperties includes CustomProperties {
 | 
			
		||||
      "entityTypes": [ "mlPrimaryKey" ]
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  @Searchable = {
 | 
			
		||||
    "/*": {
 | 
			
		||||
      "fieldName": "primaryKeys",
 | 
			
		||||
      "fieldType": "URN"
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
  mlPrimaryKeys: optional array[Urn]
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user