Share via


Field.IsSearchable Property

Definition

Gets or sets a value indicating whether the field is full-text searchable. This means it will undergo analysis such as word-breaking during indexing. If you set a searchable field to a value like "sunny day", internally it will be split into the individual tokens "sunny" and "day". This enables full-text searches for these terms. This property may be set to true only for fields of type Edm.String or Collection(Edm.String), and it must be null for complex fields. Default is false for simple fields and null for complex fields. Note: searchable fields consume extra space in your index since Azure Cognitive Search will store an additional tokenized version of the field value for full-text searches. If you want to save space in your index and you don't need a field to be included in searches, set searchable to false.

[Newtonsoft.Json.JsonIgnore]
public bool? IsSearchable { get; set; }
[<Newtonsoft.Json.JsonIgnore>]
member this.IsSearchable : Nullable<bool> with get, set
Public Property IsSearchable As Nullable(Of Boolean)

Property Value

Attributes
Newtonsoft.Json.JsonIgnoreAttribute

Applies to