Graph search · GraphQL type

SearchQueryMatchKeyValueNumericExpression type

Search expression matching a numeric key against a number. The key corresponds to a dot-notation path found in the search query schema.

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.
intValue - BigInt! The integer form of the numeric value to search for. When the query literal contained a decimal point this is the rounded value; see floatValue and isFloat. Named distinctly from the other leaf expressions' value fields — GraphQL field merging requires one type per response name when they appear together in fragments on SearchQueryExpression.
floatValue - Float! The floating point form of the numeric value to search for.
isFloat - Boolean! True when the query literal contained a decimal point.
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",
  "intValue": {},
  "floatValue": 987.65,
  "isFloat": true,
  "keyType": "TEXT",
  "multiKey": false
}