fix(docs): update docs for SchemaField.label (#10251)

This commit is contained in:
Harshal Sheth 2024-04-11 12:26:53 -07:00 committed by GitHub
parent 1fe8a44301
commit c4e1e480ea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -46,12 +46,15 @@ record SchemaField {
* Label of the field. Provides a more human-readable name for the field than field path. Some sources will
* provide this metadata but not all sources have the concept of a label. If just one string is associated with
* a field in a source, that is most likely a description.
*
* Note that this field is deprecated and is not surfaced in the UI.
*/
@Searchable = {
"fieldName": "fieldLabels",
"fieldType": "TEXT",
"boostScore": 0.2
}
@Deprecated
label: optional string
/**