Package com.yahoo.searchdefinition
Class DocumentOnlySearch
- java.lang.Object
-
- com.yahoo.searchdefinition.Search
-
- com.yahoo.searchdefinition.DocumentOnlySearch
-
- All Implemented Interfaces:
ImmutableSearch
public class DocumentOnlySearch extends Search
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 DocumentOnlySearch()
-
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.Search
addAnnotation, addExtraField, addIndex, addSummary, addType, allConcreteFields, allExtraFields, allFieldsList, allImportedFields, applicationPackage, equals, existsIndex, extraFieldList, fieldSets, getAttribute, getConcreteField, getDocument, getDocument, getDocumentField, getExplicitIndices, getExplicitSummaryField, getExtraField, getField, getIndex, getName, getRankingExpression, getStemming, getSummaries, getSummary, getSummaryField, getSummaryFields, getUniqueNamedSummaryFields, hasDocument, hashCode, importedFields, isAccessingDiskSummary, isDocumentsOnly, isReservedName, rankingConstants, setImportedFields, setName, setStemming, temporaryImportedFields, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.yahoo.searchdefinition.ImmutableSearch
allFields
-
-
-
-
Method Detail
-
addDocument
public void addDocument(SDDocumentType docType)
Description copied from class:Search
Adds a document type which is defined in this search definition- Overrides:
addDocument
in classSearch
- Parameters:
docType
- the document type to add
-
-