mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Java api: remove operationThreaded setter from ExplainRequestBuilder, 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
This commit is contained in:
parent
a242a63817
commit
dbb513f5b0
@ -110,10 +110,6 @@ public class ExplainRequestBuilder extends SingleShardOperationRequestBuilder<Ex
|
||||
|
||||
/**
|
||||
* Indicates whether the response should contain the stored _source
|
||||
*
|
||||
*
|
||||
* @param fetch
|
||||
* @return
|
||||
*/
|
||||
public ExplainRequestBuilder setFetchSource(boolean fetch) {
|
||||
FetchSourceContext context = request.fetchSourceContext();
|
||||
@ -167,14 +163,6 @@ public class ExplainRequestBuilder extends SingleShardOperationRequestBuilder<Ex
|
||||
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user