Skip to content

Commit

Permalink
Java api: remove operationThreaded setter from ExplainRequestBuilder,…
Browse files Browse the repository at this point in the history
… already available in base class SingleShardOperationRequestBuilder

It also didn't follow the setter convention that we adopted for request builders.
Fixed also javadocs warning caused byt missing descriptions for tag.

Closes #7186
  • Loading branch information
javanna committed Aug 7, 2014
1 parent 409dace commit fe0f265
Showing 1 changed file with 0 additions and 12 deletions.
Expand Up @@ -110,10 +110,6 @@ public ExplainRequestBuilder setFields(String... fields) {

/**
* Indicates whether the response should contain the stored _source
*
*
* @param fetch
* @return
*/
public ExplainRequestBuilder setFetchSource(boolean fetch) {
FetchSourceContext context = request.fetchSourceContext();
Expand Down Expand Up @@ -167,14 +163,6 @@ public ExplainRequestBuilder setSource(BytesReference source, boolean unsafe) {
return this;
}

/**
* Sets whether the actual explain action should occur in a different thread if executed locally.
*/
public ExplainRequestBuilder operationThreaded(boolean threadedOperation) {
request().operationThreaded(threadedOperation);
return this;
}

protected void doExecute(ActionListener<ExplainResponse> listener) {
if (sourceBuilder != null) {
request.source(sourceBuilder);
Expand Down

0 comments on commit fe0f265

Please sign in to comment.