HybridCountAndFacetMode Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. search. documents. models. HybridCountAndFacetMode
- com.
- com.
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'.
Modifier and Type | Field and Description |
---|---|
static final
Hybrid |
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 'max |
static final
Hybrid |
COUNT_RETRIEVABLE_RESULTS
Only include documents that were matched within the 'max |
Constructor | Description |
---|---|
Hybrid |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Hybrid |
Modifier and Type | Method and Description |
---|---|
static
Hybrid |
from Creates or finds a Hybrid |
static
Collection<Hybrid |
values()
Gets known Hybrid |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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'.
HybridCountAndFacetMode
@Deprecated
public HybridCountAndFacetMode()
Deprecated
Creates a new instance of HybridCountAndFacetMode value.
fromString
public static HybridCountAndFacetMode fromString(String name)
Creates or finds a HybridCountAndFacetMode from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known HybridCountAndFacetMode values.
Returns:
Azure SDK for Java geri bildirimi
Azure SDK for Java, açık kaynak bir projedir. Geri bildirim sağlamak için bir bağlantı seçin: