Class ScrollableHitSource.SearchFailure

    • Constructor Detail

      • SearchFailure

        public SearchFailure​(java.lang.Throwable reason,
                             @Nullable
                             java.lang.String index,
                             @Nullable
                             java.lang.Integer shardId,
                             @Nullable
                             java.lang.String nodeId)
      • SearchFailure

        public SearchFailure​(java.lang.Throwable reason)
        Build a search failure that doesn't have shard information available.
      • SearchFailure

        public SearchFailure​(StreamInput in)
                      throws java.io.IOException
        Read from a stream.
        Throws:
        java.io.IOException
    • Method Detail

      • getIndex

        public java.lang.String getIndex()
      • getShardId

        public java.lang.Integer getShardId()
      • getReason

        public java.lang.Throwable getReason()
      • getNodeId

        @Nullable
        public java.lang.String getNodeId()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object