Class QueryShardException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.elasticsearch.ElasticsearchException
org.elasticsearch.index.query.QueryShardException
All Implemented Interfaces:
java.io.Serializable, Writeable, org.elasticsearch.common.xcontent.ToXContent, org.elasticsearch.common.xcontent.ToXContentFragment

public class QueryShardException
extends ElasticsearchException
Exception that is thrown when creating lucene queries on the shard
See Also:
Serialized Form
  • Constructor Details

    • QueryShardException

      public QueryShardException​(SearchExecutionContext context, java.lang.String msg, java.lang.Object... args)
    • QueryShardException

      public QueryShardException​(SearchExecutionContext context, java.lang.String msg, java.lang.Throwable cause, java.lang.Object... args)
    • QueryShardException

      public QueryShardException​(Index index, java.lang.String msg, java.lang.Throwable cause, java.lang.Object... args)
      This constructor is provided for use in unit tests where a SearchExecutionContext may not be available
    • QueryShardException

      public QueryShardException​(StreamInput in) throws java.io.IOException
      Throws:
      java.io.IOException
  • Method Details