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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RetrievalDetails.DocumentRetrievalStrategy
Identifies the document retrieval strategy used for this query. -
Constructor Summary
Constructors Constructor Description RetrievalDetails()
-
Method Summary
Modifier and Type Method Description String
getDocumentRetrievalStrategy()
Gets the documentRetrievalStrategy.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
RetrievalDetails
public RetrievalDetails()
-
-
Method Details
-
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
-