Class FacetResult
java.lang.Object
com.azure.search.documents.models.FacetResult
A single bucket of a facet query result. Reports the number of documents with a field value falling within a
particular range or having a particular value or interval.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: A single bucket of a facet query result.getCount()
Get the count property: The approximate count of documents falling within the bucket described by this facet.setAdditionalProperties
(Map<String, Object> additionalProperties) Set the additionalProperties property: A single bucket of a facet query result.
-
Constructor Details
-
FacetResult
public FacetResult()
-
-
Method Details
-
getCount
Get the count property: The approximate count of documents falling within the bucket described by this facet.- Returns:
- the count value.
-
getAdditionalProperties
Get the additionalProperties property: A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval.- Returns:
- the additionalProperties value.
-
setAdditionalProperties
Set the additionalProperties property: A single bucket of a facet query result. Reports the number of documents with a field value falling within a particular range or having a particular value or interval.- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the FacetResult object itself.
-