다음을 통해 공유


SearchField.IsFacetable Property

Definition

Gets or sets a value indicating whether the field can be retrieved in facet queries. The default is null. This property must be null for complex fields, but can be set on simple fields within a complex field.

public bool? IsFacetable { get; set; }
member this.IsFacetable : Nullable<bool> with get, set
Public Property IsFacetable As Nullable(Of Boolean)

Property Value

Remarks

Facets are used in presentation of search results that include hit counts by categories. For example, in a search for digital cameras, facets might include branch, megapixels, price, etc.

This field must be set according to constraints described in the summary, or the server may respond with an error. Instead, consider using the SimpleField, SearchableField, VectorSearchField and ComplexField classes to help you more easily create a SearchIndex.

Applies to