Uses of Class
com.yahoo.schema.Schema
Packages that use Schema
Package
Description
Classes in this package (processors) implements some search
definition features by reducing them to simpler features.
-
Uses of Schema in com.yahoo.config.model.deploy
Methods in com.yahoo.config.model.deploy that return types with arguments of type Schema -
Uses of Schema in com.yahoo.schema
Subclasses of Schema in com.yahoo.schemaModifier and TypeClassDescriptionclass
A search that was derived from an sd file containing no search element(s), only document specifications, so the name of this is decided by parsing and adding the document instance.Methods in com.yahoo.schema that return SchemaModifier and TypeMethodDescriptionRegisters the given schema to the application to be built duringApplicationBuilder.build(boolean)
.Schema.addAnnotation
(SDAnnotationType dt) Schema.addType
(SDDocumentType dt) For adding structs defined in document scopestatic Schema
ApplicationBuilder.buildFromFile
(String fileName) Convenience factory method to import and build aSchema
object from a file.static Schema
ApplicationBuilder.buildFromFile
(String fileName, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, com.yahoo.search.query.profile.QueryProfileRegistry queryProfileRegistry) Convenience factory method to import and build aSchema
from a file.static Schema
ApplicationBuilder.buildFromFile
(String fileName, RankProfileRegistry rankProfileRegistry, com.yahoo.search.query.profile.QueryProfileRegistry queryProfileRegistry) Convenience factory method to import and build aSchema
object from a file.static Schema
ApplicationBuilder.buildFromRawSchema
(Schema rawSchema, RankProfileRegistry rankProfileRegistry, com.yahoo.search.query.profile.QueryProfileRegistry queryProfileRegistry) Convenience factory method to import and build aSchema
object from a raw object.ApplicationBuilder.getSchema()
Convenience method to callApplicationBuilder.getSchema(String)
when there is only a singleSchema
object built.Returns the builtSchema
object that has the given name.DocumentReference.targetSearch()
Methods in com.yahoo.schema that return types with arguments of type SchemaModifier and TypeMethodDescriptionApplicationBuilder.getSchemaList()
Convenience method to return a list of all builtSchema
objects.Schema.inherited()
Application.schemas()
Returns an unmodifiable list of the schemas of this applicationMethods in com.yahoo.schema with parameters of type SchemaModifier and TypeMethodDescriptionRegisters the given schema to the application to be built duringApplicationBuilder.build(boolean)
.static Schema
ApplicationBuilder.buildFromRawSchema
(Schema rawSchema, RankProfileRegistry rankProfileRegistry, com.yahoo.search.query.profile.QueryProfileRegistry queryProfileRegistry) Convenience factory method to import and build aSchema
object from a raw object.static ApplicationBuilder
ApplicationBuilder.createFromRawSchema
(Schema rawSchema, RankProfileRegistry rankProfileRegistry, com.yahoo.search.query.profile.QueryProfileRegistry queryProfileRegistry) Convenience factory method to import and build aSchema
object from a raw object.static RankProfileRegistry
RankProfileRegistry.createRankProfileRegistryWithBuiltinRankProfiles
(Schema schema) Index.getStemming
(Schema schema) Whether this field should be stemmed in this search definition, this is never nullMethod parameters in com.yahoo.schema with type arguments of type SchemaConstructors in com.yahoo.schema with parameters of type SchemaModifierConstructorDescriptionDefaultRankProfile
(Schema schema, RankProfileRegistry rankProfileRegistry) Creates a new rank profileDocumentReference
(com.yahoo.document.Field referenceField, Schema targetSchema) DocumentsOnlyRankProfile
(String name, Schema schema, RankProfileRegistry rankProfileRegistry) RankProfile
(String name, Schema schema, com.yahoo.config.application.api.ApplicationPackage applicationPackage, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry) Creates a global rank profileRankProfile
(String name, Schema schema, RankProfileRegistry rankProfileRegistry) Creates a new rank profile for a particular schemaUnrankedRankProfile
(Schema schema, RankProfileRegistry rankProfileRegistry) Constructor parameters in com.yahoo.schema with type arguments of type SchemaModifierConstructorDescriptionApplication
(com.yahoo.config.application.api.ApplicationPackage applicationPackage, List<Schema> schemas, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles, com.yahoo.config.model.api.ModelContext.Properties properties, boolean documentsOnly, boolean validate, Set<Class<? extends Processor>> processorsToSkip, com.yahoo.config.application.api.DeployLogger logger) DocumentReferenceResolver
(Collection<Schema> schemas) ImportedFieldsEnumerator
(Collection<Schema> schemas) -
Uses of Schema in com.yahoo.schema.derived
Methods in com.yahoo.schema.derived that return SchemaMethods in com.yahoo.schema.derived that return types with arguments of type SchemaModifier and TypeMethodDescriptionReorders the given list of search definitions such that any supertype always preceed any subtype.Methods in com.yahoo.schema.derived with parameters of type SchemaModifier and TypeMethodDescriptionprotected void
AttributeFields.derive
(ImmutableSDField field, Schema schema) Derives everything from a fieldprotected void
Derived.derive
(ImmutableSDField field, Schema schema) Derives the content of this configuration.protected void
Derived.derive
(SDDocumentType document, Schema schema) Derives the content of this configuration.protected void
Derives the content of this configuration.protected void
Derives the content of this configuration.protected void
protected void
IndexInfo.derive
(ImmutableSDField field, Schema schema) protected void
IndexInfo.derive
(ImmutableSDField field, Schema schema, boolean inPosition) protected void
protected void
IndexingScript.derive
(ImmutableSDField field, Schema schema) protected void
protected void
IndexSchema.derive
(ImmutableSDField field, Schema schema) protected void
protected void
protected void
VsmFields.derive
(SDDocumentType document, Schema schema) protected void
Method parameters in com.yahoo.schema.derived with type arguments of type SchemaModifier and TypeMethodDescriptionReorders the given list of search definitions such that any supertype always preceed any subtype.Constructors in com.yahoo.schema.derived with parameters of type SchemaModifierConstructorDescriptionAttributeFields
(Schema schema) DerivedConfiguration
(Schema schema, DeployState deployState) Creates a complete derived configuration snapshot from a schema.DerivedConfiguration
(Schema schema, RankProfileRegistry rankProfileRegistry) Creates a complete derived configuration from a search definition.ImportedFields
(Schema schema) IndexingScript
(Schema schema) IndexSchema
(Schema schema) Constructs a new juniper rc instance for a given search object.RankProfileList
(Schema schema, LargeRankingExpressions largeRankingExpressions, AttributeFields attributeFields, DeployState deployState) Creates a rank profile listSchemaInfo
(Schema schema, RankProfileRegistry rankProfileRegistry, Summaries summaries) Summaries
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, com.yahoo.config.model.api.ModelContext.FeatureFlags featureFlags) SummaryClass
(Schema schema, DocumentSummary summary, com.yahoo.config.application.api.DeployLogger deployLogger) Creates a summary class from a search definition summaryVsmSummary
(Schema schema) -
Uses of Schema in com.yahoo.schema.derived.validation
Fields in com.yahoo.schema.derived.validation declared as SchemaMethods in com.yahoo.schema.derived.validation with parameters of type SchemaModifier and TypeMethodDescriptionstatic void
Validation.validate
(DerivedConfiguration config, Schema schema) Constructors in com.yahoo.schema.derived.validation with parameters of type SchemaModifierConstructorDescriptionIndexStructureValidator
(DerivedConfiguration config, Schema schema) protected
Validator
(DerivedConfiguration config, Schema schema) -
Uses of Schema in com.yahoo.schema.document
Methods in com.yahoo.schema.document with parameters of type SchemaModifier and TypeMethodDescriptionImmutableImportedSDField.getStemming
(Schema schema) ImmutableSDField.getStemming
(Schema schema) SDField.getStemming
(Schema schema) Whether this field should be stemmed in this search definitionprotected void
SDDocumentType.validateId
(Schema schema) Constructors in com.yahoo.schema.document with parameters of type SchemaModifierConstructorDescriptionSDDocumentType
(String name, Schema schema) Creates a new document type.TemporaryImportedFields
(Schema owner) -
Uses of Schema in com.yahoo.schema.parser
Methods in com.yahoo.schema.parser that return types with arguments of type SchemaModifier and TypeMethodDescriptionConvertParsedSchemas.convertToSchemas()
ConvertSchemaCollection.convertToSchemas()
-
Uses of Schema in com.yahoo.schema.processing
Fields in com.yahoo.schema.processing declared as SchemaMethods in com.yahoo.schema.processing with parameters of type SchemaModifier and TypeMethodDescriptionprotected SDField
Processor.addField
(Schema schema, SDField field, String suffix, String indexing, String queryCommand) Convenience method for adding a no-strings-attached implementation field for a regular fieldProcessing.ProcessorFactory.create
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) void
void
IndexingOutputs.findSummaryTo
(Schema schema, SDField field, Set<String> dynamicSummary, Set<String> staticSummary) protected void
protected Iterator<RankProfile.RankSetting>
Processor.matchingRankSettingsIterator
(Schema schema, RankProfile.RankSetting.Type type) Returns an iterator of all the rank settings with given type in all the rank profiles in this search definition.protected RuntimeException
Processor.newProcessException
(Schema schema, com.yahoo.document.Field field, String msg) void
Processing.process
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles, boolean validate, boolean documentsOnly, Set<Class<? extends Processor>> processorsToSkip) Runs all search processors on the givenSchema
object.protected void
Constructors in com.yahoo.schema.processing with parameters of type SchemaModifierConstructorDescriptionAddAttributeTransformToSummaryOfImportedFields
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) AdjustPositionSummaryFields
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) AttributeProperties
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) AttributesImplicitWord
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) Bolding
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) BoolAttributeValidator
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) BuiltInFieldSets
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) CreatePositionZCurve
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) DictionaryProcessor
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) DisallowComplexMapAndWsetKeyTypes
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) DiversitySettingsValidator
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) FastAccessValidator
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) FieldSetSettings
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) FilterFieldNames
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) ImplicitSummaries
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) ImplicitSummaryFields
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) ImportedFieldsResolver
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) IndexFieldNames
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) IndexingInputs
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) IndexingOutputs
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) IndexingValues
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) IntegerIndex2Attribute
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) LiteralBoost
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) MakeAliases
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) MakeDefaultSummaryTheSuperSet
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) MatchConsistency
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) MatchedElementsOnlyResolver
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) MatchPhaseSettingsValidator
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) MultifieldIndexHarmonizer
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) MutableAttributes
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) NGramMatch
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) OnnxModelConfigGenerator
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) OnnxModelTypeResolver
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) OptimizeIlscript
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) PagedAttributeValidator
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) PredicateProcessor
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) Processor
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) Base constructorRankingExpressionTypeResolver
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) ReferenceFieldsProcessor
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) ReservedDocumentNames
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) ReservedFunctionNames
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) SearchMustHaveDocument
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) SetRankTypeEmptyOnFilters
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) SortingSettings
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) StringSettingsOnNonStringFields
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) SummaryConsistency
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) SummaryDiskAccessValidator
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) SummaryDynamicStructsArrays
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) SummaryNamesFieldCollisions
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) SummaryTransformForDocumentId
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) TagType
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) TensorFieldProcessor
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) TextMatch
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) UrlFieldValidator
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) ValidateFieldTypes
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) ValidateFieldTypesDocumentsOnly
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) ValidateFieldWithIndexSettingsCreatesIndex
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) ValidateStructTypeInheritance
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) WordMatch
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) -
Uses of Schema in com.yahoo.schema.processing.multifieldresolver
Fields in com.yahoo.schema.processing.multifieldresolver declared as SchemaConstructors in com.yahoo.schema.processing.multifieldresolver with parameters of type SchemaModifierConstructorDescriptionIndexCommandResolver
(String indexName, List<SDField> fields, Schema schema, com.yahoo.config.application.api.DeployLogger logger) MultiFieldResolver
(String indexName, List<SDField> fields, Schema schema, com.yahoo.config.application.api.DeployLogger logger) RankProfileTypeSettingsProcessor
(Schema schema, com.yahoo.config.application.api.DeployLogger deployLogger, RankProfileRegistry rankProfileRegistry, QueryProfiles queryProfiles) RankTypeResolver
(String indexName, List<SDField> fields, Schema schema, com.yahoo.config.application.api.DeployLogger logger) StemmingResolver
(String indexName, List<SDField> fields, Schema schema, com.yahoo.config.application.api.DeployLogger logger) -
Uses of Schema in com.yahoo.vespa.documentmodel
Constructors in com.yahoo.vespa.documentmodel with parameters of type SchemaModifierConstructorDescriptionDocumentSummary
(String name, Schema owner) Creates a DocumentSummary with the given name. -
Uses of Schema in com.yahoo.vespa.model.application.validation.change.search
Constructors in com.yahoo.vespa.model.application.validation.change.search with parameters of type SchemaModifierConstructorDescriptionIndexingScriptChangeMessageBuilder
(Schema currentSchema, ImmutableSDField currentField, Schema nextSchema, ImmutableSDField nextField) IndexingScriptChangeValidator
(com.yahoo.config.provision.ClusterSpec.Id id, Schema currentSchema, Schema nextSchema) -
Uses of Schema in com.yahoo.vespa.model.search
Methods in com.yahoo.vespa.model.search that return SchemaModifier and TypeMethodDescriptionSchemaDefinitionXMLHandler.findResponsibleSchema
(List<Schema> schemas) Method parameters in com.yahoo.vespa.model.search with type arguments of type SchemaModifier and TypeMethodDescriptionSchemaDefinitionXMLHandler.findResponsibleSchema
(List<Schema> schemas)