共用方式為


SimpleField.IsFilterable Property

Definition

Gets or sets a value indicating whether the field can be referenced in $filter queries. The default is false.

public bool IsFilterable { get; set; }
member this.IsFilterable : bool with get, set
Public Property IsFilterable As Boolean

Property Value

Remarks

Filterable differs from searchable in how strings are handled. Fields of type String or "Collection(DataType.String)" that are filterable do not undergo word-breaking, so comparisons are for exact matches only. For example, if you set such a field f to "sunny day", $filter=f eq 'sunny' will find no matches, but $filter=f eq 'sunny day' will.

Applies to