Interface CatalogAttribute.FacetConfig.RerankConfigOrBuilder (2.51.0)

public static interface CatalogAttribute.FacetConfig.RerankConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFacetValues(int index)

public abstract String getFacetValues(int index)

If empty, rerank on all facet values for the current key. Otherwise, will rerank on the facet values from this list only.

repeated string facet_values = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The facetValues at the given index.

getFacetValuesBytes(int index)

public abstract ByteString getFacetValuesBytes(int index)

If empty, rerank on all facet values for the current key. Otherwise, will rerank on the facet values from this list only.

repeated string facet_values = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the facetValues at the given index.

getFacetValuesCount()

public abstract int getFacetValuesCount()

If empty, rerank on all facet values for the current key. Otherwise, will rerank on the facet values from this list only.

repeated string facet_values = 2;

Returns
Type Description
int

The count of facetValues.

getFacetValuesList()

public abstract List<String> getFacetValuesList()

If empty, rerank on all facet values for the current key. Otherwise, will rerank on the facet values from this list only.

repeated string facet_values = 2;

Returns
Type Description
List<String>

A list containing the facetValues.

getRerankFacet()

public abstract boolean getRerankFacet()

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.

bool rerank_facet = 1;

Returns
Type Description
boolean

The rerankFacet.