Class RetrievalDetails

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v2.model.RetrievalDetails
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class RetrievalDetails
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An object contain retrieval type information.
  • Constructor Details

    • RetrievalDetails

      public RetrievalDetails()
  • Method Details

    • getDocumentRetrievalStrategy

      public String getDocumentRetrievalStrategy()
      Gets the documentRetrievalStrategy.

      Identifies the document retrieval strategy used for this query. `relevancy_training` indicates that the results were returned using a relevancy trained model.

      **Note**: In the event of trained collections being queried, but the trained model is not used to return results, the **document_retrieval_strategy** is listed as `untrained`.

      Returns:
      the documentRetrievalStrategy