Class LogQueryResponseResultDocumentsResult
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.LogQueryResponseResultDocumentsResult
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class LogQueryResponseResultDocumentsResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Each object in the **results** array corresponds to an individual document returned by the
original query.
-
Constructor Summary
Constructors Constructor Description LogQueryResponseResultDocumentsResult() -
Method Summary
Modifier and Type Method Description StringgetCollectionId()Gets the collectionId.DoublegetConfidence()Gets the confidence.StringgetDocumentId()Gets the documentId.LonggetPosition()Gets the position.DoublegetScore()Gets the score.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Constructor Details
-
LogQueryResponseResultDocumentsResult
public LogQueryResponseResultDocumentsResult()
-
-
Method Details
-
getPosition
Gets the position.The result rank of this document. A position of `1` indicates that it was the first returned result.
- Returns:
- the position
-
getDocumentId
Gets the documentId.The **document_id** of the document that this result represents.
- Returns:
- the documentId
-
getScore
Gets the score.The raw score of this result. A higher score indicates a greater match to the query parameters.
- Returns:
- the score
-
getConfidence
Gets the confidence.The confidence score of the result's analysis. A higher score indicating greater confidence.
- Returns:
- the confidence
-
getCollectionId
Gets the collectionId.The **collection_id** of the document represented by this result.
- Returns:
- the collectionId
-