GoogleCloudRetailV2CatalogAttributeFacetConfigRerankConfig class

Options to rerank based on facet values engaged by the user for the current key.

That key needs to be a custom textual key and facetable. To use this control, you also need to pass all the facet keys engaged by the user in the request using the field [SearchRequest.FacetSpec]. In particular, if you don't pass the facet keys engaged that you want to rerank on, this control won't be effective. Moreover, to obtain better results, the facet values that you want to rerank on should be close to English (ideally made of words, underscores, and spaces).

Properties

facetValues List<String>?
If empty, rerank on all facet values for the current key.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
rerankFacet bool?
If set to true, then we also rerank the dynamic facets based on the facet values engaged by the user for the current attribute key during serving.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited