FacetOptionsResponse

data class FacetOptionsResponse(val integerFacetingOptions: IntegerFacetingOptionsResponse, val numFacetBuckets: Int, val objectType: String, val operatorName: String, val sourceName: String)

Specifies operators to return facet results for. There will be one FacetResult for every source_name/object_type/operator_name combination.

Constructors

Link copied to clipboard
constructor(integerFacetingOptions: IntegerFacetingOptionsResponse, numFacetBuckets: Int, objectType: String, operatorName: String, sourceName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If set, describes integer faceting options for the given integer property. The corresponding integer property in the schema should be marked isFacetable. The number of buckets returned would be minimum of this and num_facet_buckets.

Link copied to clipboard

Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.

Link copied to clipboard

If object_type is set, only those objects of that type will be used to compute facets. If empty, then all objects will be used to compute facets.

Link copied to clipboard

The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions

Link copied to clipboard

Source name to facet on. Format: datasources/{source_id} If empty, all data sources will be used.