This page is a documentation to execute filter on "Search contents"
When you apply filters to search contents the operator types supported are in this enum:
public enum FilterOperation
{
// Check if field equal to fieldvalue
// Applicable on field type: Text, Date, Numeric, Boolean, SingleAsset, MultipleAsset, SingleContent, MultipleContent
[EnumMember(Value = "e")]
Equal = 0,
// Check if field not equal to fieldvalue
// Applicable on field type: Text, Date, Numeric, Boolean, SingleAsset, MultipleAsset, SingleContent, MultipleContent
[EnumMember(Value = "ne")]
NotEqual = 1,
// Check if fieldvalue is in list of values (array)
// Applicable on field type: MultipleAsset, MultipleContent
[EnumMember(Value = "in")]
Contains = 2,
// Check if fieldvalue is not in list of values (array)
// Applicable on field type: MultipleAsset, MultipleContent
[EnumMember(Value = "nin")]
NotContains = 3,
// Check if is start with fieldvalue
// Applicable on field type: Text
[EnumMember(Value = "start")]
StartsWith = 4,
// Check if is end with fieldvalue
// Applicable on field type: Text
[EnumMember(Value = "end")]
EndsWith = 5,
// Check if field is less then fieldvalue
// Applicable on field type: Date, Numeric
[EnumMember(Value = "lt")]
LessThan = 6,
// Check if field is less or equal then fieldvalue
// Applicable on field type: Date, Numeric
[EnumMember(Value = "lte")]
LessThanOrEqual = 7,
// Check if field is grather then fieldvalue
// Applicable on field type: Date, Numeric
[EnumMember(Value = "gt")]
GreaterThan = 8,
// Check if is grather or equal then fieldvalue
// Applicable on field type: Date, Numeric
[EnumMember(Value = "gte")]
GreaterThanOrEqual = 9,
// Check if field is null or empty
// Applicable on field type: Text
[EnumMember(Value = "noe")]
NullOrEmpty = 10,
// Check if is not null or empty
// Applicable on field type: Text
[EnumMember(Value = "nnoe")]
NotNullOrEmpty = 11,
// Check if is distance from fieldvalue
// Applicable on field type: GeoLocation
[EnumMember(Value = "distance")]
Distance = 12,
// Check if is contains the fieldvalue
// Applicable on field type: Text
[EnumMember(Value = "like")]
StringContains = 13,
// Check if is not contains the fieldvalue
// Applicable on field type: Text
[EnumMember(Value = "nlike")]
StringNotContains = 14,
}
You can use the Value string (for example "e") or you can use the number (for example 0).