colossal-easter-99672
11/18/2022, 10:49 AMbulky-soccer-26729
11/22/2022, 4:58 PM@Searchable
annotation above the field that you want to be discoverable by search in the pdl file and then follow the docs you posted above and some more info about @Searchable
specifically in these docs then you should be good!bulky-soccer-26729
11/22/2022, 4:59 PMcolossal-easter-99672
11/23/2022, 6:57 AMcolossal-easter-99672
11/28/2022, 3:14 PMbulky-soccer-26729
11/28/2022, 3:17 PMcolossal-easter-99672
11/28/2022, 3:28 PMnamespace com.linkedin.dataset
import com.linkedin.common.Urn
/**
* Details about a View.
* e.g. Gets activated when subTypes is view
*/
@Aspect = {
"name": "viewProperties"
}
record ViewProperties {
/**
* Whether the view is materialized
*/
@Searchable = {
"fieldType": "BOOLEAN",
"weightsPerFieldValue": { "true": 0.5 }
}
materialized: boolean
/**
* The view logic
*/
viewLogic: string
/**
* The view logic language / dialect
*/
@Searchable = {
"fieldType": "TEXT",
"queryByDefault": true
}
viewLanguage: string
}
colossal-easter-99672
11/28/2022, 3:30 PMcolossal-easter-99672
11/28/2022, 3:32 PMbulky-soccer-26729
11/28/2022, 4:13 PM