Skip to content

Search Comparator Configuration ​

To configure a dropdown list with selectable search comparators, you have to configure it for each field renderer separately.

For basic information and details on search renderers, check our object renderer documentation.

The selectable comparator list is configured with tag <comparator_list>. It contains all allowed comparators that should be selectable in the dropdown.

Example ​

xml
<field_renderer>
  <operator>AND</operator>
  <comparator>EQUAL</comparator> <!-- Default if part of comparator_list, else ignored. The first comparator from comparator_list is then the default. -->
  <comparator_list>
     <comparator>EQUAL</comparator> <!-- If no comparator is set or the comparator is no part of this list, the first comparator is the default. -->
     <comparator>NOT_EQUAL</comparator>
  </comparator_list>
  <search_fields>
    <search_field>
     <name>name</name>
    </search_field>
  </search_fields>
</field_renderer>

Result in the GUI:

Your <comparator> value is the field's default value. It must be part of the <comparator_list>, too. If not, it will be ignored. In that case, the first <comparator> from <comparator_list> is taken as the default value.

Available Comparators ​

Possible values for <comparator_list> are:

ComparatorTranslation in the UIDescriptionLimitations
EQUALEqualFinds objects containing only that exact search term (nothing else).Case-sensitive
Not suitable for a full-text search.
NOT_EQUALUnequalFinds only objects containing not that exact search term.Case-sensitive
Not suitable for a full-text search.
LIKEContainsFinds all objects containing that search term.
Combines list values with OR
Not case-sensitive
Only for a search in string fields (texts)
Wildcard % can be configured (more details).
NOT_LIKEDoes not containFinds all objects not containing that search term.
Combines list values with OR
Not case-sensitive
Only for a search in string fields (texts)
Wildcard % can be configured (more details).
LIKE_ALLContains all termsFinds all objects containing all entered search terms.
Combines list values with AND
Not case-sensitive
Only for a search in string fields (texts)
Wildcard % can be configured (more details).
NOT_LIKE_ALLContains none of the termsFinds all objects that do not contain all entered search terms.
Combines list values with AND
Not case-sensitive
Only for a search in string fields (texts)
Wildcard % can be configured (more details).
INContains one ofFinds all objects that contain at least one of the search terms.
NOT_INDoes not contain one ofFinds all objects that do not contain at least one of the search terms.
CONTAINS_ALLContains all valuesFinds all objects containing all entered search terms.
NOT_CONTAINS_ALLContains none of the valuesFinds all objects that do not contain all entered search terms.
LESS_THANLess thanFinds only objects with a value less than the search term.
LESS_THAN_OR_EQUALLess than or equalFinds only objects with a value less than or equal the search term.
GREATER_THANGreater thanFinds only objects with a value greater than the search term.
GREATER_THAN_OR_EQUALGreater than or equalFinds only objects with a value greater than the search term.
ISIs not filledFinds all objects with value null.Only searches for null/not null.
Deactivates the search entry (ignores former entries).
IS_NOTIs filledFinds all objects with any value except null.Only searches for null/not null.
Deactivates the search entry (ignores former entries).
MATCHFull-text (OR search)Finds all objects containing at least one of the entered search terms (default) or specific phrases using full-text search comparators.For a full-text search.
Wildcards like *, + or - can be used (full-text search details).
MATCH_ALLFull-text (AND search)Finds all objects containing exactly all of the entered search terms or specific phrases.For a full-text search.
Wildcards like *, + or - can be used (full-text search details).
Request missing documentation