feat(model): add searchable annotation for features in feature table (#4216)

This commit is contained in:
Dexter Lee 2022-02-24 19:44:42 -08:00 committed by GitHub
parent 0146d47487
commit c2f3fe182f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]
}