Package com.yahoo.schema
Class DocumentOnlySchema
java.lang.Object
com.yahoo.schema.Schema
com.yahoo.schema.DocumentOnlySchema
- All Implemented Interfaces:
ImmutableSchema
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.
- Author:
- vegardh
-
Constructor Summary
ConstructorDescriptionDocumentOnlySchema
(com.yahoo.config.application.api.ApplicationPackage applicationPackage, com.yahoo.config.application.api.FileRegistry fileRegistry, com.yahoo.config.application.api.DeployLogger deployLogger, com.yahoo.config.model.api.ModelContext.Properties properties) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDocument
(SDDocumentType docType) Adds a document type which is defined in this search definitionMethods inherited from class com.yahoo.schema.Schema
add, add, addAnnotation, addExtraField, addIndex, addSummary, addType, allConcreteFields, allExtraFields, allFieldsList, allImportedFields, application, applicationPackage, constants, declaredConstants, declaredOnnxModels, enableRawAsBase64, equals, existsIndex, extraFieldList, fieldSets, getAttribute, getConcreteField, getDeployLogger, getDeployProperties, getDocument, getDocument, getDocumentField, getExplicitIndices, getExplicitSummaryField, getExtraField, getField, getIndex, getName, getRankingExpression, getStemming, getSummaries, getSummariesInThis, getSummary, getSummaryField, getSummaryFields, getUniqueNamedSummaryFields, hasDocument, hashCode, importedFields, inherited, isAccessingDiskSummary, isDocumentsOnly, isRawAsBase64, isReservedName, onnxModels, rankExpressionFiles, setImportedFields, setName, setOwner, setStemming, temporaryImportedFields, toString, validate
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.yahoo.schema.ImmutableSchema
allFields
-
Constructor Details
-
DocumentOnlySchema
public DocumentOnlySchema(com.yahoo.config.application.api.ApplicationPackage applicationPackage, com.yahoo.config.application.api.FileRegistry fileRegistry, com.yahoo.config.application.api.DeployLogger deployLogger, com.yahoo.config.model.api.ModelContext.Properties properties)
-
-
Method Details
-
addDocument
Description copied from class:Schema
Adds a document type which is defined in this search definition- Overrides:
addDocument
in classSchema
- Parameters:
docType
- the document type to add
-