Package | Description |
---|---|
org.elasticsearch.action.explain |
Explain action.
|
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support |
Modifier and Type | Method and Description |
---|---|
ExplainRequestBuilder |
ExplainAction.newRequestBuilder(ElasticsearchClient client) |
ExplainRequestBuilder |
ExplainRequestBuilder.setFetchSource(boolean fetch)
Indicates whether the response should contain the stored _source
|
ExplainRequestBuilder |
ExplainRequestBuilder.setFetchSource(String[] includes,
String[] excludes)
Indicate that _source should be returned, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
ExplainRequestBuilder |
ExplainRequestBuilder.setFetchSource(String include,
String exclude)
Indicate that _source should be returned, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
ExplainRequestBuilder |
ExplainRequestBuilder.setFields(String... fields)
Explicitly specify the fields that will be returned for the explained document.
|
ExplainRequestBuilder |
ExplainRequestBuilder.setId(String id)
Sets the id to get a score explanation for.
|
ExplainRequestBuilder |
ExplainRequestBuilder.setParent(String parent)
Simple sets the routing.
|
ExplainRequestBuilder |
ExplainRequestBuilder.setPreference(String preference)
Sets the shard preference.
|
ExplainRequestBuilder |
ExplainRequestBuilder.setQuery(BytesReference query)
Sets the query to get a score explanation for.
|
ExplainRequestBuilder |
ExplainRequestBuilder.setQuery(QueryBuilder query)
Sets the query to get a score explanation for.
|
ExplainRequestBuilder |
ExplainRequestBuilder.setRouting(String routing)
Sets the routing for sharding.
|
ExplainRequestBuilder |
ExplainRequestBuilder.setSource(BytesReference source)
Sets the full source of the explain request (for example, wrapping an actual query).
|
ExplainRequestBuilder |
ExplainRequestBuilder.setType(String type)
Sets the type to get a score explanation for.
|
Modifier and Type | Method and Description |
---|---|
ExplainRequestBuilder |
Client.prepareExplain(String index,
String type,
String id)
Computes a score explanation for the specified request.
|
Modifier and Type | Method and Description |
---|---|
ExplainRequestBuilder |
AbstractClient.prepareExplain(String index,
String type,
String id) |
Copyright © 2009–2017. All rights reserved.