SimpleField Class
Definition
A simple field using a primitive type or a collection of a primitive type.
public class SimpleField : Azure.Search.Documents.Indexes.Models.SearchFieldTemplate
type SimpleField = class
inherit SearchFieldTemplate
Public Class SimpleField
Inherits SearchFieldTemplate
- Inheritance
- Derived
Constructors
SimpleField(String, SearchFieldDataType) |
Initializes a new instance of the SimpleField class. |
Properties
IsFacetable |
Gets or sets a value indicating whether the field can be retrieved in facet queries. The default is false. |
IsFilterable |
Gets or sets a value indicating whether the field can be referenced in |
IsHidden |
Gets or sets whether the field is returned in search results. The default is false. A key field where IsKey is true must have this property set to false. |
IsKey |
Gets or sets whether the field is the key field. The default is false. A SearchIndex must have exactly one key field of type String. |
IsSortable |
Gets or sets a value indicating whether to enable the field can be referenced in |
Name |
Gets the name of the field. (Inherited from SearchFieldTemplate) |
Type |
Gets the data type of the field. (Inherited from SearchFieldTemplate) |