Documentation Center

Operators

Operators allow you to manipulate the attribute you can use depend on the type of field you select. The operators you can use depend on the type of field you select.

The following table explains the operators you can use and when:
OperatorField TypeDescription
isSingle–value text fields,

Number fields

Filters content items that match the value exactly (includes)
is notSingle–value text fields selected from a listFilters out content items that match the value exactly (excludes)
containsMulti–value text fieldsFilters content items that contain the value specified
does not containMulti–value text fieldsFilters content items that do not contain the value specified
is above or equalNumber fieldsFilters content on values equal to and exceeding the specified value
is belowNumber fieldsFilters content on values less than the specified value
Date fields
Elasticsearch handles date fields as text fields. When you specify dates and times as filter, make sure to use the appropriate formatting.
Text fields
A text field accepts alphanumeric values as a single line of text or multiple lines of text. If the values can be selected from a list, the possible values are displayed in the drop-down menu.
TypeMultiplicityValues selected from a listOperators
TextSingle valueNo
  • is
TextSingle valueYes
  • is
  • is not
TextMultiple valueNo
  • contains
  • does not contain
TextMultiple valueYes
  • contains
  • does not contain
Number fields
A number fields accepts numeric values. If the values can be selected from a list, the possible values are displayed in the drop-down menu. The same operators are used regardless of the field is single or multi value, or whether the values can be selected from a list or not:
TypeMultiplicityValues selected from a listOperators
NumberSingle or Multiple valueYes or No
  • is
  • is above or equal
  • is below
Standard Tridion Sites fields
You can also use the following default attributes—applied to content items published from the Content Manager to Elasticsearch—to filter content:
AttributeValueOperators
componentidThe tcm:uri of a Component (content)
  • is
  • is not
componentnameThe name of a Component
  • is
componentpresentationThe rendered HTML page in the Content Broker (the combination of the Component and Component Template)
  • is
publicationidThe tcm:uri of a Publication
  • is
  • is not
publicationtitleThe Title of a Publication
  • is
schemaidThe tcm:uri of a Schema (defines the fields available in Components)
  • is
  • is not
schematitleThe Title of a Schema
  • is
templateidThe tcm:uri of a Component Template (used to render the Component in a webpage)
  • is
  • is not
templatetitleThe Title of the Component Template
  • is