org.elasticsearch.action
Interface ShardOperationFailedException

All Superinterfaces:
Serializable, Streamable
All Known Implementing Classes:
DefaultShardOperationFailedException, ShardSearchFailure

public interface ShardOperationFailedException
extends Streamable, Serializable

An exception indicating that a failure occurred performing an operation on the shard.


Method Summary
 String index()
          The index the operation failed on.
 String reason()
          The reason of the failure.
 int shardId()
          The index the operation failed on.
 
Methods inherited from interface org.elasticsearch.common.io.stream.Streamable
readFrom, writeTo
 

Method Detail

index

String index()
The index the operation failed on. Might return null if it can't be derived.


shardId

int shardId()
The index the operation failed on. Might return -1 if it can't be derived.


reason

String reason()
The reason of the failure.



Copyright © 2009-2012. All Rights Reserved.