SearchQueryFieldConstraint

SearchQueryFieldConstraint constraints the values of a field.
  • booleanEquals
    booleanEquals constraints the field to be equal to one of the given values.
  • enumEquals
    enumEquals constraints the field to be equal to one of the given values.
  • stringEquals
    stringEquals constraints the field to be exactly equal to one of the given values. Unlike stringMatches this is case-sensitive and supports no wildcards, but it can use an index on the field, so prefer it whenever an exact value is known (e.g. a slug picked from suggestions).
  • stringMatches
    stringMatches constraints the field to match one of the given values. '*' wildcards can be used in the values to indicate arbitrary numbers of arbitrary characters.
  • hierarchyNodeValueEquals
    hierarchyNodeValueEquals constraints the field to be contained in one of the given values ID fields of SearchSuggestionsPossibleValuesHierarchyNode's are expected here