Skip to content

FullTextIndexValue

CEL runtime value for a FullTextIndexType query field.

The value carries no position, frequency, weight, or ranking information, because no target reproduces those uniformly.

  • Val

new FullTextIndexValue(terms): FullTextIndexValue

Creates a canonical indexed term set.

Throws when a term is outside the lowercase ASCII alphanumeric domain.

readonly string[]

Terms that the target’s index holds for the field.

FullTextIndexValue

readonly terms: readonly string[]

Sorted, duplicate-free terms that form this value’s comparison domain.

convertToNative(typeDesc?): unknown

Returns this value for its own native type and rejects other conversions.

unknown

unknown

Val.convertToNative


convertToType(typeValue): Val

Converts only to this opaque CEL type or CEL’s type value.

Type

Val

Val.convertToType


equal(other): Val

Compares canonical term sets.

Val

Val

Val.equal


matchesText(value): boolean

Reports whether every query term occurs in this value’s term set.

string

boolean


type(): Type

Returns the opaque CEL type of this value.

Type

Val.type


value(): unknown

Returns the canonical term sequence for CEL-native consumers.

unknown

Val.value