FacetOptionsArgs

data class FacetOptionsArgs(val integerFacetingOptions: Output<IntegerFacetingOptionsArgs>? = null, val numFacetBuckets: Output<Int>? = null, val objectType: Output<String>? = null, val operatorName: Output<String>? = null, val sourceName: Output<String>? = null) : ConvertibleToJava<FacetOptionsArgs>

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
fun FacetOptionsArgs(integerFacetingOptions: Output<IntegerFacetingOptionsArgs>? = null, numFacetBuckets: Output<Int>? = null, objectType: Output<String>? = null, operatorName: Output<String>? = null, sourceName: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): FacetOptionsArgs

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
val numFacetBuckets: Output<Int>? = null

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

Link copied to clipboard
val objectType: Output<String>? = null

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
val operatorName: Output<String>? = null

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

Link copied to clipboard
val sourceName: Output<String>? = null

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