Interface TextSearch

All Superinterfaces:
Extensible, OsidCondition, OsidSearch, Suppliable

public interface TextSearch extends OsidSearch

The search interface for governing text searches.

  • Method Details

    • searchAmongTexts

      void searchAmongTexts(IdList textIds)
      Execute this search among the given list of texts.
      Parameters:
      textIds - list of texts
      Throws:
      NullArgumentException - textIds is null
      Compliance:
      mandatory - This method must be implemented.
    • orderTextResults

      void orderTextResults(TextSearchOrder textSearchOrder)
      Specify an ordering to the search results.
      Parameters:
      textSearchOrder - text search order
      Throws:
      NullArgumentException - textSearchOrder is null
      UnsupportedException - textSearchOrder is not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getTextSearchRecord

      TextSearchRecord getTextSearchRecord(Type textSearchRecordType) throws OperationFailedException
      Gets the text search record corresponding to the given text search record Type . This method is used to retrieve an object implementing the requested record.
      Parameters:
      textSearchRecordType - a text search record type
      Returns:
      the text search record
      Throws:
      NullArgumentException - textSearchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(textSearchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.