FacetOptions constructor
- Input<
IntegerFacetingOptions> ? integerFacetingOptions, - Input<
int> ? numFacetBuckets, - Input<
String> ? objectType, - Input<
String> ? operatorName, - Input<
String> ? sourceName,
Creates a new FacetOptions.
integerFacetingOptions 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.
numFacetBuckets Maximum number of facet buckets that should be returned for this facet. Defaults to 10. Maximum value is 100.
objectType 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.
operatorName The name of the operator chosen for faceting. @see cloudsearch.SchemaPropertyOptions
sourceName Source name to facet on. Format: datasources/{source_id} If empty, all data sources will be used.
Implementation
const FacetOptions({
this.integerFacetingOptions,
this.numFacetBuckets,
this.objectType,
this.operatorName,
this.sourceName,
});