Class HybridCountAndFacetMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<HybridCountAndFacetMode>
com.azure.search.documents.models.HybridCountAndFacetMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class HybridCountAndFacetMode
extends com.azure.core.util.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
FieldsModifier and TypeFieldDescriptionstatic final HybridCountAndFacetModeInclude 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 HybridCountAndFacetModeOnly include documents that were matched within the 'maxTextRecallSize' retrieval window when computing 'count' and 'facets'. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic HybridCountAndFacetModefromString(String name) Creates or finds a HybridCountAndFacetMode from its string representation.static Collection<HybridCountAndFacetMode> values()Gets known HybridCountAndFacetMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
COUNT_RETRIEVABLE_RESULTS
Only include documents that were matched within the 'maxTextRecallSize' retrieval window when computing 'count' and 'facets'. -
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.
-
-
Constructor Details
-
HybridCountAndFacetMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of HybridCountAndFacetMode value.
-
-
Method Details
-
fromString
Creates or finds a HybridCountAndFacetMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding HybridCountAndFacetMode.
-
values
Gets known HybridCountAndFacetMode values.- Returns:
- known HybridCountAndFacetMode values.
-
fromString(String)factory method.