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 Details

    • LogQueryResponseResultDocumentsResult

      public LogQueryResponseResultDocumentsResult()
  • Method Details

    • getPosition

      public Long 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

      public String getDocumentId()
      Gets the documentId.

      The **document_id** of the document that this result represents.

      Returns:
      the documentId
    • getScore

      public Double 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

      public Double getConfidence()
      Gets the confidence.

      The confidence score of the result's analysis. A higher score indicating greater confidence.

      Returns:
      the confidence
    • getCollectionId

      public String getCollectionId()
      Gets the collectionId.

      The **collection_id** of the document represented by this result.

      Returns:
      the collectionId