condition property

String? condition
getter/setter pair

An expression which specifies a boost condition.

The syntax and supported fields are the same as a filter expression. Examples: * To boost documents with document ID "doc_1" or "doc_2", and color "Red" or "Blue": * (id: ANY("doc_1", "doc_2")) AND (color: ANY("Red","Blue"))

Optional.

Implementation

core.String? condition;