public interface RelevancySearchResults extends OsidSearchResults
This interface provides a means to capture results of a search.
Modifier and Type | Method and Description |
---|---|
RelevancyList |
getRelevancies()
Gets the relevancy list resulting from the search.
|
RelevancyQueryInspector |
getRelevancyQueryInspector()
Gets the inspector for the query to examine the terms used in the
search.
|
RelevancySearchResultsRecord |
getRelevancySearchResultsRecord(Type relevancySearchRecordType)
Gets the relevancy search results record corresponding to the given
relevancy search record
Type. |
getResultSize
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
RelevancyList getRelevancies()
IllegalStateException
- list already retrievedmandatory
- This method must be implemented. RelevancyQueryInspector getRelevancyQueryInspector()
mandatory
- This method must be implemented. RelevancySearchResultsRecord getRelevancySearchResultsRecord(Type relevancySearchRecordType) throws OperationFailedException
Type.
This method is used to
retrieve an object implementing the requested record.relevancySearchRecordType
- a relevancy search record typeNullArgumentException
-
relevancySearchRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(relevancySearchRecordType)
is
false
mandatory
- This method must be implemented.