SimpleFieldAttribute.IsFilterable Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET