customWeightsMetadata property

GoogleCloudContentwarehouseV1CustomWeightsMetadata? customWeightsMetadata
getter/setter pair

To support the custom weighting across document schemas, customers need to provide the properties to be used to boost the ranking in the search request.

For a search query with CustomWeightsMetadata specified, only the RetrievalImportance for the properties in the CustomWeightsMetadata will be honored.

Implementation

GoogleCloudContentwarehouseV1CustomWeightsMetadata? customWeightsMetadata;