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.
Implements
Section titled “Implements”Val
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new FullTextIndexValue(
terms):FullTextIndexValue
Creates a canonical indexed term set.
Throws when a term is outside the lowercase ASCII alphanumeric domain.
Parameters
Section titled “Parameters”readonly string[]
Terms that the target’s index holds for the field.
Returns
Section titled “Returns”FullTextIndexValue
Properties
Section titled “Properties”
readonlyterms: readonlystring[]
Sorted, duplicate-free terms that form this value’s comparison domain.
Methods
Section titled “Methods”convertToNative()
Section titled “convertToNative()”convertToNative(
typeDesc?):unknown
Returns this value for its own native type and rejects other conversions.
Parameters
Section titled “Parameters”typeDesc?
Section titled “typeDesc?”unknown
Returns
Section titled “Returns”unknown
Implementation of
Section titled “Implementation of”Val.convertToNative
convertToType()
Section titled “convertToType()”convertToType(
typeValue):Val
Converts only to this opaque CEL type or CEL’s type value.
Parameters
Section titled “Parameters”typeValue
Section titled “typeValue”Type
Returns
Section titled “Returns”Val
Implementation of
Section titled “Implementation of”Val.convertToType
equal()
Section titled “equal()”equal(
other):Val
Compares canonical term sets.
Parameters
Section titled “Parameters”Val
Returns
Section titled “Returns”Val
Implementation of
Section titled “Implementation of”Val.equal
matchesText()
Section titled “matchesText()”matchesText(
value):boolean
Reports whether every query term occurs in this value’s term set.
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”boolean
type()
Section titled “type()”type():
Type
Returns the opaque CEL type of this value.
Returns
Section titled “Returns”Type
Implementation of
Section titled “Implementation of”Val.type
value()
Section titled “value()”value():
unknown
Returns the canonical term sequence for CEL-native consumers.
Returns
Section titled “Returns”unknown
Implementation of
Section titled “Implementation of”Val.value