Package com.yahoo.searchdefinition
Class DocumentOnlySchema
- java.lang.Object
-
- com.yahoo.searchdefinition.Schema
-
- com.yahoo.searchdefinition.DocumentOnlySchema
-
- All Implemented Interfaces:
ImmutableSchema
public class DocumentOnlySchema extends Schema
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
Constructors Constructor Description 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDocument(SDDocumentType docType)
Adds a document type which is defined in this search definition-
Methods inherited from class com.yahoo.searchdefinition.Schema
addAnnotation, addExtraField, addIndex, addSummary, addType, allConcreteFields, allExtraFields, allFieldsList, allImportedFields, application, applicationPackage, 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, rankingConstants, 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.searchdefinition.ImmutableSchema
allFields
-
-
-
-
Constructor Detail
-
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 Detail
-
addDocument
public void addDocument(SDDocumentType docType)
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
-
-