Package com.yahoo.prelude.fastsearch
Class VespaBackend
java.lang.Object
com.yahoo.prelude.fastsearch.VespaBackend
- Direct Known Subclasses:
IndexedBackend,StreamingBackend
Superclass for backend searchers.
- Author:
- baldersheim
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringfor vespa-internal use only; consider renaming the summary class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voiddoPartialFill(Result result, String summaryClass) protected abstract ResultSearches a search cluster This is an endpoint - searchers will never propagate the search to any nested searcher.protected StringensureLegalSummaryClass(Query query, String summaryClass) voidprotected final StringgetDocumentDatabase(Query query) final StringgetName()iterableHits(Result result) Iterate over all hits below this resultvoidshutDown()booleansummaryNeedsQuery(Query query) Returns whether we need to send the query when fetching summaries.protected voidtransformQuery(Query query)
-
Field Details
-
SORTABLE_ATTRIBUTES_SUMMARY_CLASS
for vespa-internal use only; consider renaming the summary class- See Also:
-
-
Constructor Details
-
VespaBackend
-
-
Method Details
-
iterableHits
Iterate over all hits below this result -
getName
-
getDefaultDocsumClass
-
doSearch2
Searches a search cluster This is an endpoint - searchers will never propagate the search to any nested searcher.- Parameters:
query- the query to search
-
doPartialFill
-
summaryNeedsQuery
Returns whether we need to send the query when fetching summaries. This is necessary if the query requests summary features or dynamic snippeting. -
getServerId
-
getDocumentDatabase
-
transformQuery
-
search
-
fill
-
ensureLegalSummaryClass
-
shutDown
public void shutDown()
-