void
Parses a rank profile from the given reader and add to the schema identified by name.
final void
SchemaParser.alias(com.yahoo.schema.parser.ParsedField field)
final void
Consumes an annotation block from within a document element
final void
SchemaParser.annotationBody(com.yahoo.schema.parser.ParsedAnnotation type)
Consumes a single element of an annotation body block.
final void
This rule consumes a annotation block from within a schema element.
final com.yahoo.schema.parser.ParsedType
final void
This rule consumes an approximate-threshold statement for a rank profile.
final void
final void
SchemaParser.attribute(com.yahoo.schema.parser.ParsedField field)
This rule consumes an attribute statement of a field element.
final void
SchemaParser.attributeSetting(com.yahoo.schema.parser.ParsedAttribute attribute)
This rule consumes a single attribute setting statement of an attribute element.
final void
SchemaParser.attributeSorting(com.yahoo.schema.parser.ParsedAttribute attribute)
final void
SchemaParser.bolding(com.yahoo.schema.parser.ParsedField field)
This rule consumes a bolding statement of a field element.
final void
final com.yahoo.searchlib.rankingexpression.Reference
Returns the reference "constant(name)" for both "constant(name)" and "name".
final void
Consumes a set of constants available in ranking expressions in the enclosing profile.
final void
SchemaParser.constantTensor(com.yahoo.schema.parser.ParsedRankProfile profile,
com.yahoo.searchlib.rankingexpression.Reference name)
final void
SchemaParser.constantValue(com.yahoo.schema.parser.ParsedRankProfile profile,
com.yahoo.searchlib.rankingexpression.Reference name)
final com.yahoo.schema.parser.ParsedType
This rule consumes a data type block from within a field element.
final void
SchemaParser.dictionary(com.yahoo.schema.parser.ParsedField field)
This rule consumes a dictionary statement of a field element.
final void
final void
This rule consumes a diversity block of a rank profile.
final void
final void
Consumes a document element.
final void
Consumes a document body block
final void
Consumes a document-summary block from within a schema block.
final void
Consumes a single document-summary item.
final void
This rule consumes an expression token and returns its image.
final com.yahoo.schema.parser.ParsedField
final void
SchemaParser.fieldBody(com.yahoo.schema.parser.ParsedField field)
This rule consumes a single element of a field body block.
final void
Consumes a field block from within a document element.
final void
Consumes a field block from outside a document element.
final void
SchemaParser.fieldRankFilter(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a rank filter statement of a rank profile.
final void
SchemaParser.fieldRankType(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a rank-type statement of a rank profile.
final void
Consumes a fieldset block
final void
SchemaParser.fieldSorting(com.yahoo.schema.parser.ParsedField field)
final void
SchemaParser.fieldStemming(com.yahoo.schema.parser.ParsedField field)
This rule consumes a stemming block of a field element.
final void
SchemaParser.fieldWeight(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a field-weight statement of a rank profile.
final void
SchemaParser.firstPhase(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes the first-phase block of a rank profile.
final void
SchemaParser.firstPhaseItem(com.yahoo.schema.parser.ParsedRankProfile profile)
final double
Consumes a floating-point token and returns its numeric value.
final void
SchemaParser.function(com.yahoo.schema.parser.ParsedRankProfile profile)
This rule consumes a function statement of a rank-profile.
final void
SchemaParser.globalPhase(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes the global-phase block of a rank profile.
final void
SchemaParser.globalPhaseItem(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a statement for a global-phase block.
final void
final void
SchemaParser.hnswIndex(com.yahoo.schema.parser.ParsedIndex index)
final void
final void
SchemaParser.id(com.yahoo.schema.parser.ParsedField field)
Consumes an id statement of a field body block.
final void
This rule consumes a ignore-default-rank-features statement for a rank profile.
final void
final void
SchemaParser.indexBody(com.yahoo.schema.parser.ParsedIndex index)
Consumes a single index statement for an index block.
final void
SchemaParser.indexedTensorBlockValues(com.yahoo.tensor.TensorAddress mappedAddress,
com.yahoo.tensor.Tensor.Builder builder)
final void
final void
final void
SchemaParser.indexing(com.yahoo.schema.parser.ParsedField field)
This rule consumes an indexing block of a field element.
final void
SchemaParser.indexingOperation(com.yahoo.schema.parser.ParsedField field,
boolean multiLine)
This rule consumes an IL script block.
final void
Consumes an index block for a field element.
final void
Consumes an index block in a schema element.
final void
final void
Consumes a document inheritance statement.
final void
This rule consumes an inherits statement of a document summary.
final void
Consumes an inherits statement of a rank-profile.
final void
Consumes struct inheritance
final boolean
final void
SchemaParser.input(com.yahoo.schema.parser.ParsedRankProfile profile)
final com.yahoo.searchlib.rankingexpression.Reference
Returns the reference "query(name)" for both "query(name)" and "name".
final void
SchemaParser.inputs(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes an inputs block of a rank profile.
final int
Consumes an integer token and returns its numeric value.
final void
Consumes an opening brace with leading and trailing newline tokens.
final long
Consumes a long or integer token and returns its numeric value.
final com.yahoo.schema.parser.ParsedType
final void
final void
SchemaParser.mappedTensorCellValue(com.yahoo.tensor.TensorAddress address,
com.yahoo.tensor.Tensor.Builder builder)
final void
A mapped or mixed tensor value.
final void
SchemaParser.matchFeatures(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a match-features block of a rank profile.
final void
This rule consumes a single match item for a match block.
final void
SchemaParser.matchPhase(com.yahoo.schema.parser.ParsedRankProfile profile)
This rule consumes a match-phase block of a rank profile.
final void
final void
final void
final void
final void
final void
SchemaParser.minHitsPerThread(com.yahoo.schema.parser.ParsedRankProfile profile)
This rule consumes a min-hits-per-thread statement for a rank profile.
final void
SchemaParser.mutate(com.yahoo.schema.parser.ParsedRankProfile profile)
This rule consumes an mutate statement of a rank-profile.
final void
SchemaParser.mutate_operation(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a document element, explicitly named
final void
SchemaParser.normalizing(com.yahoo.schema.parser.ParsedField field)
This rule consumes a normalizing statement of a field element.
final void
This rule consumes a num-search-partitions statement for a rank profile.
final void
This rule consumes a num-threads-per-search statement for a rank profile.
Consumes an onnx-model block.
final void
final void
final void
Consumes an onnx-model block.
final void
This rule consumes a post-filter-threshold statement for a rank profile.
final void
SchemaParser.queryCommand(com.yahoo.schema.parser.ParsedField field)
Consumes a quoted string token and returns the token image minus the quotes.
final void
SchemaParser.rank(com.yahoo.schema.parser.ParsedField field)
Consumes a rank statement of a field element.
final void
SchemaParser.rankFeatures(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a rank-features block of a rank profile
final void
Consumes a constant block of a schema element.
final void
Consumes a rank-profile block of a schema element.
final void
This rule consumes a single statement for a rank-profile block.
final void
SchemaParser.rankProperties(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a rank-properties block of a rank profile.
final void
SchemaParser.rankProperty(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a single rank property pair for a rank profile.
Consumes a single rank property for a rank-properties block.
final void
SchemaParser.rankSetting(com.yahoo.schema.parser.ParsedField field)
Consumes a single rank setting of a rank statement.
final void
SchemaParser.rankType(com.yahoo.schema.parser.ParsedField field)
This rule consumes a rank-type statement of a field element.
final void
final com.yahoo.schema.parser.ParsedType
Consumes a schema definition that contains only documents to be used for inheritance, etc.
Consumes a single item from within a root document node.
This rule consumes a proper schema block.
final void
Consumes an element of a schema block.
The rule consumes any schema and returns the corresponding object.
final void
This rule consumes a stemming statement for a schema element.
final void
SchemaParser.secondPhase(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes the second-phase block of a rank profile.
final void
SchemaParser.secondPhaseItem(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a statement for a second-phase block.
final void
SchemaParser.sorting(com.yahoo.schema.parser.ParsedSorting sort)
final void
SchemaParser.sortingSetting(com.yahoo.schema.parser.ParsedSorting sorting)
final void
SchemaParser.strict(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a string token and returns the token image.
This rule consumes a struct declaration block
final void
SchemaParser.structField(com.yahoo.schema.parser.ParsedField field)
This rule consumes a struct subfield from a document field body.
final void
This rule consumes a single element of a struct subfield body block.
final void
This rule consumes a field block of a struct body.
final void
This rule consumes a struct block from within a document element.
final void
This rule consumes a struct block from within a schema element.
final void
SchemaParser.summaryBolding(com.yahoo.schema.parser.ParsedSummaryField field)
This rule consumes a bolding statement for a summary field element.
final void
This rule consumes a destination-list statement for a summary field element.
final void
SchemaParser.summaryFeatures(com.yahoo.schema.parser.ParsedRankProfile profile)
Consumes a summary-features block of a rank profile.
final void
This rule consumes a summary statement defined inside a document-summary block.
final void
SchemaParser.summaryInField(com.yahoo.schema.parser.ParsedField field)
The rule consumes a summary statement defined inside a field.
final void
This rule consumes a multi-line summary field.
final void
This rule consumes a single-line summary field.
final void
SchemaParser.summaryItem(com.yahoo.schema.parser.ParsedSummaryField field)
This rule consumes an item of a summary field block.
final void
This rule consumes a source-list statement for a summary field element.
final void
SchemaParser.summaryTo(com.yahoo.schema.parser.ParsedField field)
This rule consumes a summary-to statement of a field element.
final void
This rule consumes a transform statement for a summary field element.
final void
This rule consumes a target-hits-max-adjustment-factor statement for a rank profile.
final com.yahoo.tensor.TensorAddress
final void
final double
final com.yahoo.tensor.TensorType
final com.yahoo.tensor.TensorType
final com.yahoo.tensor.Tensor
SchemaParser.tensorValue(com.yahoo.tensor.TensorType type)
Parses a tensor written in a tensor literal form,
https://docs.vespa.ai/en/reference/tensor.html#tensor-literal-form
Undocumented syntax for supplying a tensor constant value by a string prefixed by "value"
final void
SchemaParser.termwiseLimit(com.yahoo.schema.parser.ParsedRankProfile profile)
This rule consumes a termwise-limit statement for a rank profile.
final com.yahoo.tensor.TensorType
SchemaParser.valueType(com.yahoo.searchlib.rankingexpression.Reference reference)
final void
SchemaParser.weight(com.yahoo.schema.parser.ParsedField field)
This rule consumes a weight statement of a field element.
final void
SchemaParser.weightedset(com.yahoo.schema.parser.ParsedType fieldType)
This rule consumes a weighted set statement of a field element.
final void
This rule consumes one body item of a weighted set block.