İngilizce dilinde oku

Aracılığıyla paylaş


HybridCountAndFacetMode Class

public final class HybridCountAndFacetMode
extends ExpandableStringEnum<HybridCountAndFacetMode>

Determines whether the count and facets should includes all documents that matched the search query, or only the documents that are retrieved within the 'maxTextRecallSize' window. The default value is 'countAllResults'.

Field Summary

Modifier and Type Field and Description
static final HybridCountAndFacetMode COUNT_ALL_RESULTS

Include all documents that were matched by the search query when computing 'count' and 'facets', regardless of whether or not those documents are within the 'maxTextRecallSize' retrieval window.

static final HybridCountAndFacetMode COUNT_RETRIEVABLE_RESULTS

Only include documents that were matched within the 'maxTextRecallSize' retrieval window when computing 'count' and 'facets'.

Constructor Summary

Constructor Description
HybridCountAndFacetMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HybridCountAndFacetMode value.

Method Summary

Modifier and Type Method and Description
static HybridCountAndFacetMode fromString(String name)

Creates or finds a HybridCountAndFacetMode from its string representation.

static Collection<HybridCountAndFacetMode> values()

Gets known HybridCountAndFacetMode values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

COUNT_ALL_RESULTS

public static final HybridCountAndFacetMode COUNT_ALL_RESULTS

Include all documents that were matched by the search query when computing 'count' and 'facets', regardless of whether or not those documents are within the 'maxTextRecallSize' retrieval window.

COUNT_RETRIEVABLE_RESULTS

public static final HybridCountAndFacetMode COUNT_RETRIEVABLE_RESULTS

Only include documents that were matched within the 'maxTextRecallSize' retrieval window when computing 'count' and 'facets'.

Constructor Details

HybridCountAndFacetMode

@Deprecated
public HybridCountAndFacetMode()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of HybridCountAndFacetMode value.

Method Details

fromString

public static HybridCountAndFacetMode fromString(String name)

Creates or finds a HybridCountAndFacetMode from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding HybridCountAndFacetMode.

values

public static Collection values()

Gets known HybridCountAndFacetMode values.

Returns:

known HybridCountAndFacetMode values.

Applies to

Azure SDK for Java

Preview