Graph search · GraphQL type

SearchQueryMatchKeyValueExpression type

Search expression matching a text-typed key against a string value. The key corresponds to a dot-notation path found in the search query schema (see SearchQuerySchemaKeyStruct). The value may contain wildcard characters (* and ?).

Fields

Field Name Description
expressionType - SearchQueryExpressionType! The expression node type discriminator.
key - String! The dot-notation key naming the object type and field being searched.
operator - SearchMatchValueOperator! The logical comparison operator to use.
value - String! The string value to search for; may contain wildcard characters (* and ?).
keyType - SearchQuerySchemaFieldType! The schema field type of the key.
multiKey - Boolean! True when the key is nested inside an array-of-struct path, so the predicate matches within a single struct instance when combined with other multi-key predicates of the same struct.

Used by

  • SearchQueryExpressionType enum: The node type of a SearchQueryExpression: one operator variant and one variant per leaf value kind.

Example

Example

{
  "expressionType": "OPERATOR",
  "key": "xyz789",
  "operator": "EQ",
  "value": "xyz789",
  "keyType": "TEXT",
  "multiKey": true
}