Modifier and Type | Method and Description |
---|---|
org.apache.lucene.store.RateLimiter |
StoreRateLimiting.getRateLimiter() |
Modifier and Type | Method and Description |
---|---|
static boolean |
ExceptionsHelper.reThrowIfNotNull(Throwable e)
Throws the specified exception.
|
Modifier and Type | Method and Description |
---|---|
String |
ActionWriteResponse.ShardInfo.Failure.nodeId() |
Constructor and Description |
---|
ActionWriteResponse.ShardInfo.Failure(String index,
int shardId,
String nodeId,
Throwable cause,
RestStatus status,
boolean primary) |
UnavailableShardsException(ShardId shardId,
String message,
Object... args) |
Modifier and Type | Method and Description |
---|---|
String |
NodeInfo.getHostname()
System's hostname.
|
HttpInfo |
NodeInfo.getHttp() |
JvmInfo |
NodeInfo.getJvm()
JVM level information.
|
OsInfo |
NodeInfo.getOs()
Operating System level information.
|
PluginsAndModules |
NodeInfo.getPlugins() |
ProcessInfo |
NodeInfo.getProcess()
Process level information.
|
com.google.common.collect.ImmutableMap<String,String> |
NodeInfo.getServiceAttributes()
The service attributes of the node.
|
Settings |
NodeInfo.getSettings()
The settings of the node.
|
ThreadPoolInfo |
NodeInfo.getThreadPool() |
TransportInfo |
NodeInfo.getTransport() |
Constructor and Description |
---|
NodeInfo(Version version,
Build build,
DiscoveryNode node,
com.google.common.collect.ImmutableMap<String,String> serviceAttributes,
Settings settings,
OsInfo os,
ProcessInfo process,
JvmInfo jvm,
ThreadPoolInfo threadPool,
TransportInfo transport,
HttpInfo http,
PluginsAndModules plugins) |
NodeInfo(Version version,
Build build,
DiscoveryNode node,
com.google.common.collect.ImmutableMap<String,String> serviceAttributes,
Settings settings,
OsInfo os,
ProcessInfo process,
JvmInfo jvm,
ThreadPoolInfo threadPool,
TransportInfo transport,
HttpInfo http,
PluginsAndModules plugins) |
NodeInfo(Version version,
Build build,
DiscoveryNode node,
com.google.common.collect.ImmutableMap<String,String> serviceAttributes,
Settings settings,
OsInfo os,
ProcessInfo process,
JvmInfo jvm,
ThreadPoolInfo threadPool,
TransportInfo transport,
HttpInfo http,
PluginsAndModules plugins) |
NodeInfo(Version version,
Build build,
DiscoveryNode node,
com.google.common.collect.ImmutableMap<String,String> serviceAttributes,
Settings settings,
OsInfo os,
ProcessInfo process,
JvmInfo jvm,
ThreadPoolInfo threadPool,
TransportInfo transport,
HttpInfo http,
PluginsAndModules plugins) |
NodeInfo(Version version,
Build build,
DiscoveryNode node,
com.google.common.collect.ImmutableMap<String,String> serviceAttributes,
Settings settings,
OsInfo os,
ProcessInfo process,
JvmInfo jvm,
ThreadPoolInfo threadPool,
TransportInfo transport,
HttpInfo http,
PluginsAndModules plugins) |
NodeInfo(Version version,
Build build,
DiscoveryNode node,
com.google.common.collect.ImmutableMap<String,String> serviceAttributes,
Settings settings,
OsInfo os,
ProcessInfo process,
JvmInfo jvm,
ThreadPoolInfo threadPool,
TransportInfo transport,
HttpInfo http,
PluginsAndModules plugins) |
NodeInfo(Version version,
Build build,
DiscoveryNode node,
com.google.common.collect.ImmutableMap<String,String> serviceAttributes,
Settings settings,
OsInfo os,
ProcessInfo process,
JvmInfo jvm,
ThreadPoolInfo threadPool,
TransportInfo transport,
HttpInfo http,
PluginsAndModules plugins) |
NodeInfo(Version version,
Build build,
DiscoveryNode node,
com.google.common.collect.ImmutableMap<String,String> serviceAttributes,
Settings settings,
OsInfo os,
ProcessInfo process,
JvmInfo jvm,
ThreadPoolInfo threadPool,
TransportInfo transport,
HttpInfo http,
PluginsAndModules plugins) |
NodeInfo(Version version,
Build build,
DiscoveryNode node,
com.google.common.collect.ImmutableMap<String,String> serviceAttributes,
Settings settings,
OsInfo os,
ProcessInfo process,
JvmInfo jvm,
ThreadPoolInfo threadPool,
TransportInfo transport,
HttpInfo http,
PluginsAndModules plugins) |
Modifier and Type | Method and Description |
---|---|
AllCircuitBreakerStats |
NodeStats.getBreaker() |
FsInfo |
NodeStats.getFs()
File system level stats.
|
String |
NodeStats.getHostname() |
HttpStats |
NodeStats.getHttp() |
NodeIndicesStats |
NodeStats.getIndices()
Indices level stats.
|
JvmStats |
NodeStats.getJvm()
JVM level statistics.
|
OsStats |
NodeStats.getOs()
Operating System level statistics.
|
ProcessStats |
NodeStats.getProcess()
Process level statistics.
|
ScriptStats |
NodeStats.getScriptStats() |
ThreadPoolStats |
NodeStats.getThreadPool()
Thread Pool level statistics.
|
TransportStats |
NodeStats.getTransport() |
Modifier and Type | Method and Description |
---|---|
ClusterHealthStatus |
ClusterStatsNodeResponse.clusterStatus()
Cluster Health Status, only populated on master nodes.
|
Constructor and Description |
---|
ClusterStatsNodeResponse(DiscoveryNode node,
ClusterHealthStatus clusterStatus,
NodeInfo nodeInfo,
NodeStats nodeStats,
ShardStats[] shardsStats) |
Modifier and Type | Field and Description |
---|---|
CompletionStats |
CommonStats.completion |
DocsStats |
CommonStats.docs |
FieldDataStats |
CommonStats.fieldData |
FlushStats |
CommonStats.flush |
GetStats |
CommonStats.get |
IndexingStats |
CommonStats.indexing |
MergeStats |
CommonStats.merge |
PercolateStats |
CommonStats.percolate |
QueryCacheStats |
CommonStats.queryCache |
RecoveryStats |
CommonStats.recoveryStats |
RefreshStats |
CommonStats.refresh |
RequestCacheStats |
CommonStats.requestCache |
SearchStats |
CommonStats.search |
SegmentsStats |
CommonStats.segments |
StoreStats |
CommonStats.store |
SuggestStats |
CommonStats.suggest |
TranslogStats |
CommonStats.translog |
WarmerStats |
CommonStats.warmer |
Modifier and Type | Method and Description |
---|---|
CompletionStats |
CommonStats.getCompletion() |
DocsStats |
CommonStats.getDocs() |
FieldDataStats |
CommonStats.getFieldData() |
FlushStats |
CommonStats.getFlush() |
GetStats |
CommonStats.getGet() |
IndexingStats |
CommonStats.getIndexing() |
MergeStats |
CommonStats.getMerge() |
PercolateStats |
CommonStats.getPercolate() |
QueryCacheStats |
CommonStats.getQueryCache() |
RecoveryStats |
CommonStats.getRecoveryStats() |
RefreshStats |
CommonStats.getRefresh() |
RequestCacheStats |
CommonStats.getRequestCache() |
SearchStats |
CommonStats.getSearch() |
SegmentsStats |
CommonStats.getSegments() |
StoreStats |
CommonStats.getStore() |
SuggestStats |
CommonStats.getSuggest() |
TranslogStats |
CommonStats.getTranslog() |
WarmerStats |
CommonStats.getWarmer() |
Modifier and Type | Method and Description |
---|---|
String[] |
DeleteWarmerRequest.names()
The name to delete.
|
Modifier and Type | Method and Description |
---|---|
DeleteWarmerRequest |
DeleteWarmerRequest.names(String... names)
The name (or wildcard expression) of the index warmer to delete, or null
to delete all warmers.
|
Modifier and Type | Method and Description |
---|---|
List<Object> |
BulkRequest.payloads()
The list of optional payloads associated with requests in the same order as the requests.
|
Modifier and Type | Method and Description |
---|---|
BulkRequest |
BulkRequest.add(ActionRequest request,
Object payload)
Add a request to the current BulkRequest.
|
BulkProcessor |
BulkProcessor.add(ActionRequest request,
Object payload) |
BulkRequest |
BulkRequest.add(byte[] data,
int from,
int length,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkRequest |
BulkRequest.add(byte[] data,
int from,
int length,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkRequestBuilder |
BulkRequestBuilder.add(byte[] data,
int from,
int length,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkRequestBuilder |
BulkRequestBuilder.add(byte[] data,
int from,
int length,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkProcessor |
BulkProcessor.add(BytesReference data,
String defaultIndex,
String defaultType) |
BulkProcessor |
BulkProcessor.add(BytesReference data,
String defaultIndex,
String defaultType) |
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType,
boolean allowExplicitIndex)
Adds a framed data in binary format
|
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType,
boolean allowExplicitIndex)
Adds a framed data in binary format
|
BulkProcessor |
BulkProcessor.add(BytesReference data,
String defaultIndex,
String defaultType,
Object payload) |
BulkProcessor |
BulkProcessor.add(BytesReference data,
String defaultIndex,
String defaultType,
Object payload) |
BulkProcessor |
BulkProcessor.add(BytesReference data,
String defaultIndex,
String defaultType,
Object payload) |
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType,
String defaultRouting,
String[] defaultFields,
Object payload,
boolean allowExplicitIndex) |
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType,
String defaultRouting,
String[] defaultFields,
Object payload,
boolean allowExplicitIndex) |
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType,
String defaultRouting,
String[] defaultFields,
Object payload,
boolean allowExplicitIndex) |
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType,
String defaultRouting,
String[] defaultFields,
Object payload,
boolean allowExplicitIndex) |
BulkRequest |
BulkRequest.add(BytesReference data,
String defaultIndex,
String defaultType,
String defaultRouting,
String[] defaultFields,
Object payload,
boolean allowExplicitIndex) |
BulkRequest |
BulkRequest.add(DeleteRequest request,
Object payload) |
BulkRequest |
BulkRequest.add(IndexRequest request,
Object payload) |
BulkRequest |
BulkRequest.add(UpdateRequest request,
Object payload) |
Modifier and Type | Field and Description |
---|---|
protected String |
CountRequest.routing
Deprecated.
|
Constructor and Description |
---|
DeleteRequestBuilder(ElasticsearchClient client,
DeleteAction action,
String index) |
Modifier and Type | Field and Description |
---|---|
protected String |
ExistsRequest.routing
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
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[] 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.setFetchSource(String include,
String exclude)
Indicate that _source should be returned, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
Modifier and Type | Method and Description |
---|---|
Map<String,FieldStats> |
FieldStatsResponse.getAllFieldStats() |
Modifier and Type | Method and Description |
---|---|
MultiGetRequestBuilder |
MultiGetRequestBuilder.add(String index,
String type,
Iterable<String> ids) |
MultiGetRequestBuilder |
MultiGetRequestBuilder.add(String index,
String type,
String... ids) |
MultiGetRequestBuilder |
MultiGetRequestBuilder.add(String index,
String type,
String id) |
MultiGetRequest |
MultiGetRequest.add(String index,
String type,
String id) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
byte[] data,
int from,
int length) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
byte[] data,
int from,
int length) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
byte[] data,
int from,
int length) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
byte[] data,
int from,
int length) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
BytesReference data) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
BytesReference data) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
BytesReference data) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
BytesReference data) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
BytesReference data,
boolean allowExplicitIndex) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
BytesReference data,
boolean allowExplicitIndex) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
BytesReference data,
boolean allowExplicitIndex) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
BytesReference data,
boolean allowExplicitIndex) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
BytesReference data,
boolean allowExplicitIndex) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
BytesReference data,
boolean allowExplicitIndex) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
BytesReference data,
boolean allowExplicitIndex) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
BytesReference data,
boolean allowExplicitIndex) |
MultiGetRequest |
MultiGetRequest.add(String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
BytesReference data,
boolean allowExplicitIndex) |
static void |
MultiGetRequest.parseDocuments(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
boolean allowExplicitIndex) |
static void |
MultiGetRequest.parseDocuments(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
boolean allowExplicitIndex) |
static void |
MultiGetRequest.parseDocuments(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
boolean allowExplicitIndex) |
static void |
MultiGetRequest.parseDocuments(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
boolean allowExplicitIndex) |
static void |
MultiGetRequest.parseDocuments(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting,
boolean allowExplicitIndex) |
static void |
MultiGetRequest.parseIds(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting) |
static void |
MultiGetRequest.parseIds(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting) |
static void |
MultiGetRequest.parseIds(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting) |
static void |
MultiGetRequest.parseIds(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting) |
static void |
MultiGetRequest.parseIds(XContentParser parser,
List<MultiGetRequest.Item> items,
String defaultIndex,
String defaultType,
String[] defaultFields,
FetchSourceContext defaultFetchSource,
String defaultRouting) |
GetRequestBuilder |
GetRequestBuilder.setFetchSource(String[] includes,
String[] excludes)
Indicate that _source should be returned, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
GetRequestBuilder |
GetRequestBuilder.setFetchSource(String[] includes,
String[] excludes)
Indicate that _source should be returned, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
GetRequestBuilder |
GetRequestBuilder.setFetchSource(String include,
String exclude)
Indicate that _source should be returned, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
GetRequestBuilder |
GetRequestBuilder.setFetchSource(String include,
String exclude)
Indicate that _source should be returned, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
GetRequestBuilder |
GetRequestBuilder.setType(String type)
Sets the type of the document to fetch.
|
GetRequest |
GetRequest.type(String type)
Sets the type of the document to fetch.
|
Constructor and Description |
---|
GetRequestBuilder(ElasticsearchClient client,
GetAction action,
String index) |
MultiGetRequest.Item(String index,
String type,
String id)
Constructs a single get item.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexRequest.process(MetaData metaData,
MappingMetaData mappingMd,
boolean allowIdGeneration,
String concreteIndex) |
Constructor and Description |
---|
IndexRequestBuilder(ElasticsearchClient client,
IndexAction action,
String index) |
Modifier and Type | Method and Description |
---|---|
GetIndexedScriptRequest |
GetIndexedScriptRequest.scriptLang(String type)
Sets the language of the script to fetch.
|
GetIndexedScriptRequestBuilder |
GetIndexedScriptRequestBuilder.setScriptLang(String type)
Sets the type of the document to fetch.
|
Modifier and Type | Method and Description |
---|---|
String |
MultiPercolateResponse.Item.getErrorMessage() |
Map<String,HighlightField> |
PercolateResponse.Match.getHighlightFields() |
PercolateResponse |
MultiPercolateResponse.Item.getResponse() |
Modifier and Type | Method and Description |
---|---|
String |
MultiSearchResponse.Item.getFailureMessage()
The actual failure message, null if its not a failure.
|
Map<String,List<ProfileShardResult>> |
SearchResponse.getProfileResults()
If profiling was enabled, this returns an object containing the profile results from
each shard.
|
SearchResponse |
MultiSearchResponse.Item.getResponse()
The actual search response, null if its a failure.
|
SearchShardTarget |
ShardSearchFailure.shard()
The search shard target the failure occurred on.
|
Modifier and Type | Method and Description |
---|---|
MultiSearchRequest |
MultiSearchRequest.add(byte[] data,
int from,
int length,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType) |
MultiSearchRequest |
MultiSearchRequest.add(byte[] data,
int from,
int length,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType) |
MultiSearchRequest |
MultiSearchRequest.add(byte[] data,
int from,
int length,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType,
IndicesOptions indicesOptions) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType,
IndicesOptions indicesOptions) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType,
IndicesOptions indicesOptions) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType,
String routing,
IndicesOptions indicesOptions,
boolean allowExplicitIndex) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType,
String routing,
IndicesOptions indicesOptions,
boolean allowExplicitIndex) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType,
String routing,
IndicesOptions indicesOptions,
boolean allowExplicitIndex) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean isTemplateRequest,
String[] indices,
String[] types,
String searchType,
String routing,
IndicesOptions indicesOptions,
boolean allowExplicitIndex) |
SearchRequestBuilder |
SearchRequestBuilder.setFetchSource(String[] includes,
String[] excludes)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
SearchRequestBuilder |
SearchRequestBuilder.setFetchSource(String[] includes,
String[] excludes)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
SearchRequestBuilder |
SearchRequestBuilder.setFetchSource(String include,
String exclude)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
SearchRequestBuilder |
SearchRequestBuilder.setFetchSource(String include,
String exclude)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
Constructor and Description |
---|
ShardSearchFailure(Throwable t,
SearchShardTarget shardTarget) |
Modifier and Type | Method and Description |
---|---|
FailedNodeException[] |
BaseNodesResponse.failures()
The failed nodes, if set to be captured.
|
Modifier and Type | Method and Description |
---|---|
ShardId |
ReplicationRequest.shardId() |
Modifier and Type | Field and Description |
---|---|
protected String |
SingleShardRequest.index
The concrete index name
Whether index property is optional depends on the concrete implementation.
|
Modifier and Type | Method and Description |
---|---|
String |
SingleShardRequest.index() |
protected abstract ShardsIterator |
TransportSingleShardAction.shards(ClusterState state,
TransportSingleShardAction.InternalRequest request)
Returns the candidate shards to execute the operation on or
null the execute
the operation locally (the node that received the request) |
Modifier and Type | Method and Description |
---|---|
MultiTermVectorsRequestBuilder |
MultiTermVectorsRequestBuilder.add(String index,
String type,
Iterable<String> ids) |
MultiTermVectorsRequestBuilder |
MultiTermVectorsRequestBuilder.add(String index,
String type,
String... ids) |
MultiTermVectorsRequest |
MultiTermVectorsRequest.add(String index,
String type,
String id) |
void |
TermVectorsResponse.setFields(org.apache.lucene.index.Fields termVectorsByField,
Set<String> selectedFields,
EnumSet<TermVectorsRequest.Flag> flags,
org.apache.lucene.index.Fields topLevelFields,
AggregatedDfs dfs,
TermVectorsFilter termVectorsFilter) |
Constructor and Description |
---|
TermVectorsFilter(org.apache.lucene.index.Fields termVectorsByField,
org.apache.lucene.index.Fields topLevelFields,
Set<String> selectedFields,
AggregatedDfs dfs) |
TermVectorsRequest.FilterSettings(Integer maxNumTerms,
Integer minTermFreq,
Integer maxTermFreq,
Integer minDocFreq,
Integer maxDocFreq,
Integer minWordLength,
Integer maxWordLength) |
TermVectorsRequest.FilterSettings(Integer maxNumTerms,
Integer minTermFreq,
Integer maxTermFreq,
Integer minDocFreq,
Integer maxDocFreq,
Integer minWordLength,
Integer maxWordLength) |
TermVectorsRequest.FilterSettings(Integer maxNumTerms,
Integer minTermFreq,
Integer maxTermFreq,
Integer minDocFreq,
Integer maxDocFreq,
Integer minWordLength,
Integer maxWordLength) |
TermVectorsRequest.FilterSettings(Integer maxNumTerms,
Integer minTermFreq,
Integer maxTermFreq,
Integer minDocFreq,
Integer maxDocFreq,
Integer minWordLength,
Integer maxWordLength) |
TermVectorsRequest.FilterSettings(Integer maxNumTerms,
Integer minTermFreq,
Integer maxTermFreq,
Integer minDocFreq,
Integer maxDocFreq,
Integer minWordLength,
Integer maxWordLength) |
TermVectorsRequest.FilterSettings(Integer maxNumTerms,
Integer minTermFreq,
Integer maxTermFreq,
Integer minDocFreq,
Integer maxDocFreq,
Integer minWordLength,
Integer maxWordLength) |
TermVectorsRequest.FilterSettings(Integer maxNumTerms,
Integer minTermFreq,
Integer maxTermFreq,
Integer minDocFreq,
Integer maxDocFreq,
Integer minWordLength,
Integer maxWordLength) |
Modifier and Type | Method and Description |
---|---|
GetResult |
UpdateHelper.extractGetResult(UpdateRequest request,
String concreteIndex,
long version,
Map<String,Object> source,
XContentType sourceContentType,
BytesReference sourceAsBytes)
Extracts the fields from the updated document to be returned in a update response
|
UpdateRequest |
UpdateRequest.script(String script,
ScriptService.ScriptType scriptType,
Map<String,Object> scriptParams)
Deprecated.
Use
UpdateRequest.script(Script) instead |
UpdateRequest |
UpdateRequest.script(String script,
String scriptLang,
ScriptService.ScriptType scriptType,
Map<String,Object> scriptParams)
Deprecated.
Use
UpdateRequest.script(Script) instead |
UpdateRequest |
UpdateRequest.script(String script,
String scriptLang,
ScriptService.ScriptType scriptType,
Map<String,Object> scriptParams)
Deprecated.
Use
UpdateRequest.script(Script) instead |
Modifier and Type | Method and Description |
---|---|
AnalyzeRequestBuilder |
IndicesAdminClient.prepareAnalyze(String index,
String text)
Analyze text under the provided index.
|
DeleteIndexedScriptRequestBuilder |
Client.prepareDeleteIndexedScript(String scriptLang,
String id)
Delete an indexed script
|
GetRequestBuilder |
Client.prepareGet(String index,
String type,
String id)
Gets the document that was indexed from an index with a type (optional) and id.
|
GetIndexedScriptRequestBuilder |
Client.prepareGetIndexedScript(String scriptLang,
String id)
Get the indexed script
|
IndexRequestBuilder |
Client.prepareIndex(String index,
String type,
String id)
Index a document associated with a given index and type.
|
PutIndexedScriptRequestBuilder |
Client.preparePutIndexedScript(String scriptLang,
String id,
String source)
Put the indexed script
|
Modifier and Type | Method and Description |
---|---|
DeleteIndexedScriptRequestBuilder |
AbstractClient.prepareDeleteIndexedScript(String scriptLang,
String id)
Delete an indexed script
|
IndexRequestBuilder |
AbstractClient.prepareIndex(String index,
String type,
String id) |
PutIndexedScriptRequestBuilder |
AbstractClient.preparePutIndexedScript(String scriptLang,
String id,
String source)
Put the indexed script
|
Modifier and Type | Method and Description |
---|---|
static <T extends ClusterState.Custom> |
ClusterState.lookupPrototype(String type) |
TimeValue |
ClusterStateUpdateTask.timeout()
If the cluster state update task wasn't processed by the provided timeout, call
ClusterStateUpdateTask.onFailure(String, Throwable) . |
TimeValue |
ClusterStateTaskConfig.timeout()
The timeout for this cluster state update task configuration.
|
Modifier and Type | Method and Description |
---|---|
void |
ClusterService.add(TimeValue timeout,
TimeoutClusterStateListener listener)
Adds a cluster state listener that will timeout after the provided timeout,
and is executed after the clusterstate has been successfully applied ie.
|
void |
AckedClusterStateTaskListener.onAllNodesAcked(Throwable t)
Called once all the nodes have acknowledged the cluster state update request.
|
void |
AckedClusterStateUpdateTask.onAllNodesAcked(Throwable t)
Called once all the nodes have acknowledged the cluster state update request.
|
static ClusterState |
ClusterState.Builder.readFrom(StreamInput in,
DiscoveryNode localNode) |
void |
ClusterStateObserver.waitForNextChange(ClusterStateObserver.Listener listener,
ClusterStateObserver.ChangePredicate changePredicate,
TimeValue timeOutValue)
Wait for the next cluster state which satisfies changePredicate
|
void |
ClusterStateObserver.waitForNextChange(ClusterStateObserver.Listener listener,
TimeValue timeOutValue) |
Constructor and Description |
---|
ClusterStateObserver(ClusterService clusterService,
TimeValue timeout,
ESLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
ShardStateAction.resendShardFailed(ShardRouting shardRouting,
String indexUUID,
DiscoveryNode masterNode,
String message,
Throwable failure) |
void |
ShardStateAction.shardFailed(ShardRouting shardRouting,
String indexUUID,
String message,
Throwable failure) |
Modifier and Type | Method and Description |
---|---|
static Settings |
MetaData.addDefaultUnitsIfNeeded(Set<String> timeSettings,
Set<String> byteSettings,
ESLogger logger,
Settings settings)
As of 2.0 we require units for time and byte-sized settings.
|
DiscoveryNodeFilters |
IndexMetaData.excludeFilters() |
DiscoveryNodeFilters |
IndexMetaData.includeFilters() |
static <T extends IndexMetaData.Custom> |
IndexMetaData.lookupPrototype(String type) |
static <T extends MetaData.Custom> |
MetaData.lookupPrototype(String type) |
MappingMetaData |
IndexMetaData.mapping(String mappingType) |
MappingMetaData |
IndexMetaData.mappingOrDefault(String mappingType)
Sometimes, the default mapping exists and an actual mapping is not created yet (introduced),
in this case, we want to return the default mapping in case it has some default mapping definitions.
|
DiscoveryNodeFilters |
IndexMetaData.requireFilters() |
Modifier and Type | Method and Description |
---|---|
MappingMetaData.ParseContext |
MappingMetaData.createParseContext(String id,
String routing,
String timestamp) |
MappingMetaData.ParseContext |
MappingMetaData.createParseContext(String id,
String routing,
String timestamp) |
MappingMetaData.ParseContext |
MappingMetaData.createParseContext(String id,
String routing,
String timestamp) |
String |
MetaData.resolveIndexRouting(String routing,
String aliasOrIndex)
Returns indexing routing for the given index.
|
Map<String,Set<String>> |
IndexNameExpressionResolver.resolveSearchRouting(ClusterState state,
String routing,
String... expressions)
Resolves the search routing if in the expression aliases are used.
|
Modifier and Type | Method and Description |
---|---|
static DiscoveryNodes |
DiscoveryNodes.Builder.readFrom(StreamInput in,
DiscoveryNode localNode) |
Constructor and Description |
---|
DiscoveryNodes.Delta(DiscoveryNode previousMasterNode,
DiscoveryNode newMasterNode,
String localNodeId,
List<DiscoveryNode> removed,
List<DiscoveryNode> added) |
DiscoveryNodes.Delta(DiscoveryNode previousMasterNode,
DiscoveryNode newMasterNode,
String localNodeId,
List<DiscoveryNode> removed,
List<DiscoveryNode> added) |
Modifier and Type | Method and Description |
---|---|
AllocationId |
ShardRouting.allocationId()
An id that uniquely identifies an allocation.
|
String |
UnassignedInfo.getDetails()
Builds a string representation of the message and the failure if exists.
|
Throwable |
UnassignedInfo.getFailure()
Returns additional failure exception details if exists.
|
String |
UnassignedInfo.getMessage()
Returns optional details explaining the reasons.
|
UnassignedInfo |
ShardRouting.unassignedInfo()
Additional metadata on why the shard is/was unassigned.
|
Modifier and Type | Method and Description |
---|---|
ShardIterator |
OperationRouting.getShards(ClusterState clusterState,
String index,
int shardId,
String preference) |
ShardIterator |
OperationRouting.getShards(ClusterState clusterState,
String index,
String type,
String id,
String routing,
String preference) |
ShardIterator |
OperationRouting.getShards(ClusterState clusterState,
String index,
String type,
String id,
String routing,
String preference) |
ShardIterator |
OperationRouting.indexShards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
GroupShardsIterator |
OperationRouting.searchShards(ClusterState clusterState,
String[] concreteIndices,
Map<String,Set<String>> routing,
String preference) |
GroupShardsIterator |
OperationRouting.searchShards(ClusterState clusterState,
String[] concreteIndices,
Map<String,Set<String>> routing,
String preference) |
int |
OperationRouting.searchShardsCount(ClusterState clusterState,
String[] concreteIndices,
Map<String,Set<String>> routing) |
ShardId |
OperationRouting.shardId(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
Constructor and Description |
---|
UnassignedInfo(UnassignedInfo.Reason reason,
String message,
Throwable failure,
long unassignedTimeNanos,
long unassignedTimeMillis) |
UnassignedInfo(UnassignedInfo.Reason reason,
String message,
Throwable failure,
long unassignedTimeNanos,
long unassignedTimeMillis) |
Modifier and Type | Method and Description |
---|---|
static <T extends AllocationCommand> |
AllocationCommands.lookupFactory(String name) |
Modifier and Type | Method and Description |
---|---|
void |
AllocationCommand.Factory.toXContent(T command,
XContentBuilder builder,
ToXContent.Params params,
String objectName)
Writes an
AllocationCommand using an XContentBuilder |
Modifier and Type | Method and Description |
---|---|
void |
InternalClusterService.add(TimeValue timeout,
TimeoutClusterStateListener listener) |
Modifier and Type | Method and Description |
---|---|
static String |
Strings.coalesceToEmpty(String s) |
static boolean |
Strings.isNullOrEmpty(String s) |
Modifier and Type | Method and Description |
---|---|
static Compressor |
CompressorFactory.compressor(BytesReference bytes) |
static Compressor |
CompressorFactory.compressor(org.apache.lucene.store.IndexInput in)
Deprecated.
we don't compress lucene indexes anymore and rely on lucene codecs
|
Modifier and Type | Method and Description |
---|---|
boolean |
HttpDownloadHelper.download(URL source,
Path dest,
HttpDownloadHelper.DownloadProgress progress,
TimeValue timeout) |
boolean |
HttpDownloadHelper.downloadAndVerifyChecksum(URL checksumURL,
Path originalFile,
Path checksumFile,
HttpDownloadHelper.DownloadProgress progress,
TimeValue timeout,
HttpDownloadHelper.Checksummer hashFunc)
Download the given checksum URL to the destination and check the checksum
|
Modifier and Type | Method and Description |
---|---|
Object |
StreamInput.readGenericValue() |
Map<String,Object> |
StreamInput.readMap() |
Boolean |
StreamInput.readOptionalBoolean() |
String |
StreamInput.readOptionalString() |
Text |
StreamInput.readOptionalText() |
Integer |
StreamInput.readOptionalVInt() |
Modifier and Type | Method and Description |
---|---|
void |
StreamOutput.writeBytesReference(BytesReference bytes)
Writes the bytes reference, including a length header.
|
void |
StreamOutput.writeGenericValue(Object value) |
void |
StreamOutput.writeMap(Map<String,Object> map) |
void |
StreamOutput.writeOptionalBoolean(Boolean b) |
void |
StreamOutput.writeOptionalStreamable(Streamable streamable)
Serializes a potential null value.
|
void |
StreamOutput.writeOptionalString(String str) |
void |
StreamOutput.writeOptionalText(Text text) |
void |
StreamOutput.writeOptionalVInt(Integer integer) |
void |
StreamOutput.writeStringArrayNullable(String[] array)
Writes a string array, for nullable string, writes it as 0 (empty string).
|
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.util.Bits |
Lucene.asSequentialAccessBits(int maxDoc,
org.apache.lucene.search.Scorer scorer)
Given a
Scorer , return a Bits instance that will match
all documents contained in the set. |
static boolean |
Lucene.isEmpty(org.apache.lucene.search.DocIdSet set)
Is it an empty
DocIdSet ? |
static org.apache.lucene.util.Version |
Lucene.parseVersion(String version,
org.apache.lucene.util.Version defaultVersion,
ESLogger logger) |
Constructor and Description |
---|
FilterableTermsEnum(org.apache.lucene.index.IndexReader reader,
String field,
int docsEnumFlag,
org.apache.lucene.search.Query filter) |
FreqTermsEnum(org.apache.lucene.index.IndexReader reader,
String field,
boolean needDocFreq,
boolean needTotalTermFreq,
org.apache.lucene.search.Query filter,
BigArrays bigArrays) |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.search.BooleanQuery |
Queries.applyMinimumShouldMatch(org.apache.lucene.search.BooleanQuery query,
String minimumShouldMatch) |
static org.apache.lucene.search.BooleanQuery |
Queries.filtered(org.apache.lucene.search.Query query,
org.apache.lucene.search.Query filter) |
static org.apache.lucene.search.BooleanQuery |
Queries.filtered(org.apache.lucene.search.Query query,
org.apache.lucene.search.Query filter) |
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
SettingsLoader.Helper.loadNestedFromMap(Map map) |
Modifier and Type | Method and Description |
---|---|
static TransportAddress |
TransportAddressSerializers.addressFromStream(StreamInput input,
String hostString) |
Constructor and Description |
---|
InetSocketTransportAddress(StreamInput in,
String hostString) |
Modifier and Type | Method and Description |
---|---|
static BloomFilter.Factory |
BloomFilter.Factory.buildFromString(String config)
Supports just passing fpp, as in "0.01", and also ranges, like "50k=0.01,1m=0.05".
|
protected void |
CancellableThreads.onCancel(String reason,
Throwable suppressedException)
called if
CancellableThreads.checkForCancel() was invoked after the operation was cancelled. |
Constructor and Description |
---|
BigArrays(PageCacheRecycler recycler,
CircuitBreakerService breakerService) |
BigArrays(PageCacheRecycler recycler,
CircuitBreakerService breakerService,
boolean checkBreaker) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
BaseFuture.set(V value)
Subclasses should invoke this method to set the result of the computation
to
value . |
Modifier and Type | Method and Description |
---|---|
void |
Discovery.AckListener.onNodeAck(DiscoveryNode node,
Throwable t) |
void |
Discovery.setNodeService(NodeService nodeService)
Here as a hack to solve dep injection problem...
|
Modifier and Type | Method and Description |
---|---|
NodeService |
DiscoveryNodesProvider.nodeService() |
Constructor and Description |
---|
UnicastZenPing(Settings settings,
ThreadPool threadPool,
TransportService transportService,
ClusterName clusterName,
Version version,
ElectMasterService electMasterService,
Set<UnicastHostsProvider> unicastHostsProviders) |
Constructor and Description |
---|
NodeEnvironmentModule(NodeEnvironment nodeEnvironment) |
Modifier and Type | Method and Description |
---|---|
ActionFuture<TransportNodesListGatewayMetaState.NodesGatewayMetaState> |
TransportNodesListGatewayMetaState.list(String[] nodesIds,
TimeValue timeout) |
Constructor and Description |
---|
NettyHttpChannel(NettyHttpServerTransport transport,
NettyHttpRequest request,
OrderedUpstreamMessageEvent orderedUpstreamMessageEvent,
boolean detailedErrorsEnabled) |
Modifier and Type | Method and Description |
---|---|
IndexShard |
IndexService.shard(int shardId)
Return the shard with the provided id, or null if there is no such shard.
|
Modifier and Type | Method and Description |
---|---|
String |
Segment.getMergeId()
If set, a string representing that the segment is part of a merge, with the value representing the
group of segments that represent this merge.
|
IndicesWarmer |
EngineConfig.getWarmer()
Returns an
IndicesWarmer used to warm new searchers before they are used for searching. |
Boolean |
Segment.isCompound() |
Translog.Source |
Engine.GetResult.source() |
Modifier and Type | Method and Description |
---|---|
void |
Engine.failEngine(String reason,
Throwable failure)
fail engine due to some error.
|
void |
Engine.FailedEngineListener.onFailedEngine(ShardId shardId,
String reason,
Throwable t) |
Constructor and Description |
---|
Engine.DeleteByQuery(org.apache.lucene.search.Query query,
BytesReference source,
String[] filteringAliases,
org.apache.lucene.search.Query aliasFilter,
org.apache.lucene.search.join.BitSetProducer parentFilter,
Engine.Operation.Origin origin,
long startTime,
String... types) |
Engine.DeleteByQuery(org.apache.lucene.search.Query query,
BytesReference source,
String[] filteringAliases,
org.apache.lucene.search.Query aliasFilter,
org.apache.lucene.search.join.BitSetProducer parentFilter,
Engine.Operation.Origin origin,
long startTime,
String... types) |
Engine.GetResult(boolean exists,
long version,
Translog.Source source) |
Modifier and Type | Method and Description |
---|---|
com.carrotsearch.hppc.ObjectLongHashMap<String> |
FieldDataStats.getFields() |
Modifier and Type | Method and Description |
---|---|
IndexFieldData.XFieldComparatorSource |
IndexFieldData.comparatorSource(Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested)
Comparator used for sorting.
|
Constructor and Description |
---|
FieldDataStats(long memorySize,
long evictions,
com.carrotsearch.hppc.ObjectLongHashMap<String> fields) |
Constructor and Description |
---|
DoubleValuesComparatorSource(IndexNumericFieldData indexFieldData,
Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested) |
FloatValuesComparatorSource(IndexNumericFieldData indexFieldData,
Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested) |
LongValuesComparatorSource(IndexNumericFieldData indexFieldData,
Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested) |
Modifier and Type | Method and Description |
---|---|
IndexFieldData.XFieldComparatorSource |
GlobalOrdinalsIndexFieldData.comparatorSource(Object missingValue,
MultiValueMode sortMode,
IndexFieldData.XFieldComparatorSource.Nested nested) |
Modifier and Type | Method and Description |
---|---|
Map<String,IndexingStats.Stats> |
IndexingStats.getTypeStats() |
Constructor and Description |
---|
IndexingStats(IndexingStats.Stats totalStats,
Map<String,IndexingStats.Stats> typeStats) |
Modifier and Type | Field and Description |
---|---|
protected Settings |
FieldMapper.Builder.fieldDataSettings |
Modifier and Type | Method and Description |
---|---|
Version |
Mapper.BuilderContext.indexCreatedVersion() |
Settings |
Mapper.BuilderContext.indexSettings() |
abstract Settings |
ParseContext.indexSettings() |
Settings |
ParseContext.InternalParseContext.indexSettings() |
org.apache.lucene.search.Query |
MappedFieldType.queryStringTermQuery(org.apache.lucene.index.Term term)
A term query to use when parsing a query string.
|
org.apache.lucene.search.Query |
MapperService.searchFilter(String... types)
A filter for search.
|
Modifier and Type | Method and Description |
---|---|
ObjectMapper |
MapperService.getObjectMapper(String name,
String[] types) |
DocumentMapper |
DocumentMapperParser.parse(String type,
CompressedXContent source) |
DocumentMapper |
DocumentMapperParser.parse(String type,
CompressedXContent source,
String defaultSource) |
org.apache.lucene.search.Query |
MappedFieldType.prefixQuery(String value,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Query |
MappedFieldType.prefixQuery(String value,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Query |
MappedFieldType.regexpQuery(String value,
int flags,
int maxDeterminizedStates,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Query |
MappedFieldType.regexpQuery(String value,
int flags,
int maxDeterminizedStates,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
Collection<String> |
MapperService.simpleMatchToIndexNames(String pattern,
String[] types) |
MappedFieldType |
MapperService.smartNameFieldType(String smartName,
String[] types) |
org.apache.lucene.search.Query |
MappedFieldType.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
MappedFieldType.termsQuery(List values,
QueryParseContext context) |
Constructor and Description |
---|
ParseContext.InternalParseContext(Settings indexSettings,
DocumentMapperParser docMapperParser,
DocumentMapper docMapper,
ContentPath path) |
Modifier and Type | Method and Description |
---|---|
long |
DateFieldMapper.DateFieldType.parseToMilliseconds(Object value,
boolean inclusive,
org.joda.time.DateTimeZone zone,
DateMathParser forcedDateParser) |
long |
DateFieldMapper.DateFieldType.parseToMilliseconds(Object value,
boolean inclusive,
org.joda.time.DateTimeZone zone,
DateMathParser forcedDateParser) |
org.apache.lucene.search.Query |
DateFieldMapper.DateFieldType.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser) |
org.apache.lucene.search.Query |
DateFieldMapper.DateFieldType.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Query |
IpFieldMapper.IpFieldType.termQuery(Object value,
QueryParseContext context) |
Modifier and Type | Method and Description |
---|---|
protected ObjectMapper |
ObjectMapper.Builder.createMapper(String name,
String fullPath,
boolean enabled,
ObjectMapper.Nested nested,
ObjectMapper.Dynamic dynamic,
ContentPath.Type pathType,
Map<String,Mapper> mappers,
Settings settings) |
protected ObjectMapper |
RootObjectMapper.Builder.createMapper(String name,
String fullPath,
boolean enabled,
ObjectMapper.Nested nested,
ObjectMapper.Dynamic dynamic,
ContentPath.Type pathType,
Map<String,Mapper> mappers,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.join.ToParentBlockJoinQuery |
NestedQueryParser.ToBlockJoinQueryBuilder.build() |
org.apache.lucene.search.Query |
TemplateQueryParser.parse(QueryParseContext parseContext)
Parses the template query replacing template parameters with provided
values.
|
org.apache.lucene.search.Query |
QueryParser.parse(QueryParseContext parseContext)
Parses the into a query from the current parser location.
|
org.apache.lucene.search.Query |
QueryParseContext.parseInnerFilter() |
ParsedQuery |
IndexQueryParserService.parseInnerFilter(XContentParser parser)
Parses an inner filter, returning null if the filter should be ignored.
|
org.apache.lucene.search.Query |
QueryParseContext.parseInnerQuery() |
org.apache.lucene.search.Query |
IndexQueryParserService.parseInnerQuery(QueryParseContext parseContext) |
org.apache.lucene.search.Query |
IndexQueryParserService.parseInnerQuery(XContentParser parser) |
SimilarityService |
QueryParseContext.similarityService() |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.search.Query |
GeohashCellQuery.create(QueryParseContext context,
BaseGeoPointFieldMapper.GeoPointFieldType fieldType,
String geohash,
List<CharSequence> geohashes)
Create a new geohash filter for a given set of geohashes.
|
static FilteredQueryBuilder |
QueryBuilders.filteredQuery(QueryBuilder queryBuilder,
QueryBuilder filterBuilder)
Deprecated.
Use
QueryBuilders.boolQuery() instead with a must clause
for the query and a filter clause for the filter. |
static FilteredQueryBuilder |
QueryBuilders.filteredQuery(QueryBuilder queryBuilder,
QueryBuilder filterBuilder)
Deprecated.
Use
QueryBuilders.boolQuery() instead with a must clause
for the query and a filter clause for the filter. |
static IdsQueryBuilder |
QueryBuilders.idsQuery(String... types)
Constructs a query that will match only specific ids within types.
|
void |
MoreLikeThisQueryParser.setFetchService(MoreLikeThisFetchService fetchService) |
void |
GeoShapeQueryParser.setFetchService(ShapeFetchService fetchService) |
Constructor and Description |
---|
FilteredQueryBuilder(QueryBuilder queryBuilder,
QueryBuilder filterBuilder)
Deprecated.
A query that applies a filter to the results of another query.
|
FilteredQueryBuilder(QueryBuilder queryBuilder,
QueryBuilder filterBuilder)
Deprecated.
A query that applies a filter to the results of another query.
|
IndexQueryParserService(Index index,
IndexSettingsService indexSettingsService,
IndicesQueriesRegistry indicesQueriesRegistry,
ScriptService scriptService,
AnalysisService analysisService,
MapperService mapperService,
IndexCache indexCache,
IndexFieldDataService fieldDataService,
BitsetFilterCache bitsetFilterCache,
SimilarityService similarityService) |
IndicesQueryParser(ClusterService clusterService,
IndexNameExpressionResolver indexNameExpressionResolver) |
MoreLikeThisQueryBuilder.Item(String index,
String type,
String id)
Constructor for a given item / document request
|
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.search.MultiTermQuery.RewriteMethod |
QueryParsers.parseRewriteMethod(ParseFieldMatcher matcher,
String rewriteMethod) |
static org.apache.lucene.search.MultiTermQuery.RewriteMethod |
QueryParsers.parseRewriteMethod(ParseFieldMatcher matcher,
String rewriteMethod,
org.apache.lucene.search.MultiTermQuery.RewriteMethod defaultRewriteMethod) |
static org.apache.lucene.search.MultiTermQuery.RewriteMethod |
QueryParsers.parseRewriteMethod(ParseFieldMatcher matcher,
String rewriteMethod,
org.apache.lucene.search.MultiTermQuery.RewriteMethod defaultRewriteMethod) |
T |
BaseInnerHitBuilder.setFetchSource(String[] includes,
String[] excludes)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
T |
BaseInnerHitBuilder.setFetchSource(String[] includes,
String[] excludes)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
T |
BaseInnerHitBuilder.setFetchSource(String include,
String exclude)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
T |
BaseInnerHitBuilder.setFetchSource(String include,
String exclude)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
static void |
QueryParsers.setRewriteMethod(org.apache.lucene.search.MultiTermQuery query,
org.apache.lucene.search.MultiTermQuery.RewriteMethod rewriteMethod) |
static void |
QueryParsers.setRewriteMethod(org.apache.lucene.search.MultiTermQuery query,
ParseFieldMatcher matcher,
String rewriteMethod) |
Constructor and Description |
---|
XContentStructure.InnerQuery(QueryParseContext parseContext1,
String... types) |
Modifier and Type | Method and Description |
---|---|
Map<String,SearchStats.Stats> |
SearchStats.getGroupStats() |
Constructor and Description |
---|
SearchStats(SearchStats.Stats totalStats,
long openContexts,
Map<String,SearchStats.Stats> groupStats) |
Modifier and Type | Method and Description |
---|---|
String |
CommitPoint.FileInfo.checksum() |
CommitStats |
IndexShard.commitStats() |
static ShardId |
ShardUtils.extractShardId(org.apache.lucene.index.DirectoryReader reader)
Tries to extract the shard id from a reader if possible, when its not possible,
will return null.
|
static ShardId |
ShardUtils.extractShardId(org.apache.lucene.index.LeafReader reader)
Tries to extract the shard id from a reader if possible, when its not possible,
will return null.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexShard.failShard(String reason,
Throwable e)
Fails the shard and marks the shard store as corrupted if
e is caused by index corruption |
Constructor and Description |
---|
IndexShard(ShardId shardId,
IndexSettingsService indexSettingsService,
IndicesLifecycle indicesLifecycle,
Store store,
StoreRecoveryService storeRecoveryService,
ThreadPool threadPool,
MapperService mapperService,
IndexQueryParserService queryParserService,
IndexCache indexCache,
IndexAliasesService indexAliasesService,
IndicesQueryCache indicesQueryCache,
ShardPercolateService shardPercolateService,
CodecService codecService,
ShardTermVectorsService termVectorsService,
IndexFieldDataService indexFieldDataService,
IndexService indexService,
IndicesWarmer warmer,
SnapshotDeletionPolicy deletionPolicy,
SimilarityService similarityService,
EngineFactory factory,
ClusterService clusterService,
ShardPath path,
BigArrays bigArrays,
IndexSearcherWrappingService wrappingService,
IndexingMemoryController indexingMemoryController) |
ShadowIndexShard(ShardId shardId,
IndexSettingsService indexSettingsService,
IndicesLifecycle indicesLifecycle,
Store store,
StoreRecoveryService storeRecoveryService,
ThreadPool threadPool,
MapperService mapperService,
IndexQueryParserService queryParserService,
IndexCache indexCache,
IndexAliasesService indexAliasesService,
IndicesQueryCache indicesQueryCache,
ShardPercolateService shardPercolateService,
CodecService codecService,
ShardTermVectorsService termVectorsService,
IndexFieldDataService indexFieldDataService,
IndexService indexService,
IndicesWarmer warmer,
SnapshotDeletionPolicy deletionPolicy,
SimilarityService similarityService,
EngineFactory factory,
ClusterService clusterService,
ShardPath path,
BigArrays bigArrays,
IndexSearcherWrappingService wrappingService,
IndexingMemoryController indexingMemoryController) |
Modifier and Type | Method and Description |
---|---|
String |
BlobStoreIndexShardSnapshot.FileInfo.checksum()
Returns file md5 checksum provided by
Store |
Modifier and Type | Method and Description |
---|---|
String |
StoreFileMetaData.checksum()
Returns a string representation of the files checksum.
|
Constructor and Description |
---|
TranslogConfig(ShardId shardId,
Path translogPath,
Settings indexSettings,
Translog.Durabilty durabilty,
BigArrays bigArrays,
ThreadPool threadPool)
Creates a new TranslogConfig instance
|
Modifier and Type | Method and Description |
---|---|
CompletionStats |
NodeIndicesStats.getCompletion() |
DocsStats |
NodeIndicesStats.getDocs() |
FieldDataStats |
NodeIndicesStats.getFieldData() |
FlushStats |
NodeIndicesStats.getFlush() |
GetStats |
NodeIndicesStats.getGet() |
IndexingStats |
NodeIndicesStats.getIndexing() |
MergeStats |
NodeIndicesStats.getMerge() |
PercolateStats |
NodeIndicesStats.getPercolate() |
QueryCacheStats |
NodeIndicesStats.getQueryCache() |
RecoveryStats |
NodeIndicesStats.getRecoveryStats() |
RefreshStats |
NodeIndicesStats.getRefresh() |
RequestCacheStats |
NodeIndicesStats.getRequestCache() |
SearchStats |
NodeIndicesStats.getSearch() |
SegmentsStats |
NodeIndicesStats.getSegments() |
StoreStats |
NodeIndicesStats.getStore() |
SuggestStats |
NodeIndicesStats.getSuggest() |
IndexService |
IndicesService.indexService(String index)
Returns an IndexService for the specified index if exists otherwise returns
null . |
Modifier and Type | Method and Description |
---|---|
void |
InternalIndicesLifecycle.afterIndexShardClosed(ShardId shardId,
IndexShard indexShard,
Settings indexSettings) |
void |
IndicesLifecycle.Listener.afterIndexShardClosed(ShardId shardId,
IndexShard indexShard,
Settings indexSettings)
Called after the index shard has been closed.
|
void |
InternalIndicesLifecycle.beforeIndexShardClosed(ShardId shardId,
IndexShard indexShard,
Settings indexSettings) |
void |
IndicesLifecycle.Listener.beforeIndexShardClosed(ShardId shardId,
IndexShard indexShard,
Settings indexSettings)
Called before the index shard gets closed.
|
void |
IndicesLifecycle.Listener.indexShardStateChanged(IndexShard indexShard,
IndexShardState previousState,
IndexShardState currentState,
String reason)
Called after a shard's
IndexShardState changes. |
void |
IndicesLifecycle.Listener.indexShardStateChanged(IndexShard indexShard,
IndexShardState previousState,
IndexShardState currentState,
String reason)
Called after a shard's
IndexShardState changes. |
void |
InternalIndicesLifecycle.indexShardStateChanged(IndexShard indexShard,
IndexShardState previousState,
String reason) |
void |
InternalIndicesLifecycle.indexShardStateChanged(IndexShard indexShard,
IndexShardState previousState,
String reason) |
void |
InternalIndicesLifecycle.shardRoutingChanged(IndexShard indexShard,
ShardRouting oldRouting,
ShardRouting newRouting) |
void |
IndicesLifecycle.Listener.shardRoutingChanged(IndexShard indexShard,
ShardRouting oldRouting,
ShardRouting newRouting)
Called when the shard routing has changed state.
|
Modifier and Type | Method and Description |
---|---|
QueryParseContext |
TermsLookup.getQueryParseContext() |
Constructor and Description |
---|
TermsLookup(String index,
String type,
String id,
String routing,
String path,
QueryParseContext queryParseContext) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
IndexingMemoryController.shardAvailable(IndexShard shard)
returns true if shard exists and is availabe for updates
|
Modifier and Type | Method and Description |
---|---|
String |
RecoveryFileChunkRequest.checksum() |
Modifier and Type | Method and Description |
---|---|
boolean |
RecoveryTarget.cancelRecoveriesForShard(ShardId shardId,
String reason,
com.google.common.base.Predicate<RecoveryStatus> shouldCancel)
cancel all ongoing recoveries for the given shard, if their status match a predicate
|
Constructor and Description |
---|
RecoveryFailedException(RecoveryState state,
String extraInfo,
Throwable cause) |
RecoveryFailedException(ShardId shardId,
DiscoveryNode sourceNode,
DiscoveryNode targetNode,
String extraInfo,
Throwable cause) |
RecoveryFailedException(StartRecoveryRequest request,
String extraInfo,
Throwable cause) |
Constructor and Description |
---|
FsInfo.Path(String path,
String mount,
long total,
long free,
long available) |
Modifier and Type | Method and Description |
---|---|
void |
NodeService.setHttpServer(HttpServer httpServer) |
Modifier and Type | Method and Description |
---|---|
RestFilterChain |
RestController.filterChainOrNull(RestFilter executionFilter)
Returns a filter chain (if needed) to execute.
|
Map<String,List<String>> |
RestResponse.getHeaders()
Returns custom headers that have been added, or null if none have been set.
|
SocketAddress |
RestRequest.getLocalAddress() |
SocketAddress |
RestRequest.getRemoteAddress() |
Modifier and Type | Method and Description |
---|---|
XContentBuilder |
AbstractRestChannel.newBuilder(BytesReference autoDetectSource,
boolean useFiltering) |
XContentBuilder |
RestChannel.newBuilder(BytesReference autoDetectSource,
boolean useFiltering) |
Modifier and Type | Method and Description |
---|---|
ExecutableScript |
NativeScriptEngineService.executable(CompiledScript compiledScript,
Map<String,Object> vars) |
ExecutableScript |
ScriptEngineService.executable(CompiledScript compiledScript,
Map<String,Object> vars) |
ExecutableScript |
NativeScriptFactory.newScript(Map<String,Object> params)
Creates a new instance of either a
ExecutableScript or a SearchScript . |
SearchScript |
NativeScriptEngineService.search(CompiledScript compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
SearchScript |
ScriptEngineService.search(CompiledScript compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
Constructor and Description |
---|
Script(String script,
ScriptService.ScriptType type,
String lang,
Map<String,? extends Object> params)
Constructor for Script.
|
Script(String script,
ScriptService.ScriptType type,
String lang,
Map<String,? extends Object> params)
Constructor for Script.
|
Template(String template,
ScriptService.ScriptType type,
String lang,
XContentType xContentType,
Map<String,Object> params)
Constructor for Template.
|
Template(String template,
ScriptService.ScriptType type,
String lang,
XContentType xContentType,
Map<String,Object> params)
Constructor for Template.
|
Template(String template,
ScriptService.ScriptType type,
String lang,
XContentType xContentType,
Map<String,Object> params)
Constructor for Template.
|
Modifier and Type | Method and Description |
---|---|
ExecutableScript |
MustacheScriptEngineService.executable(CompiledScript compiledScript,
Map<String,Object> vars) |
SearchScript |
MustacheScriptEngineService.search(CompiledScript compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
Modifier and Type | Method and Description |
---|---|
String |
SearchShardTarget.getNodeId() |
String |
SearchShardTarget.nodeId() |
Constructor and Description |
---|
SearchParseException(SearchContext context,
String msg,
XContentLocation location) |
SearchParseException(SearchContext context,
String msg,
XContentLocation location,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
TopHitsBuilder |
TopHitsBuilder.setFetchSource(String[] includes,
String[] excludes)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
TopHitsBuilder |
TopHitsBuilder.setFetchSource(String[] includes,
String[] excludes)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
TopHitsBuilder |
TopHitsBuilder.setFetchSource(String include,
String exclude)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
TopHitsBuilder |
TopHitsBuilder.setFetchSource(String include,
String exclude)
Indicate that _source should be returned with every hit, with an "include" and/or "exclude" set which can include simple wildcard
elements.
|
Modifier and Type | Method and Description |
---|---|
MovAvgModel.AbstractModelParser |
MovAvgModelParserMapper.get(String parserName) |
static HoltWintersModel.SeasonalityType |
HoltWintersModel.SeasonalityType.parse(String text,
ParseFieldMatcher parseFieldMatcher)
Parse a string SeasonalityType into the byte enum
|
Modifier and Type | Method and Description |
---|---|
protected void |
MovAvgModel.AbstractModelParser.checkUnrecognizedParams(Map<String,Object> settings) |
MovAvgModel |
HoltWintersModel.HoltWintersModelParser.parse(Map<String,Object> settings,
String pipelineName,
int windowSize,
ParseFieldMatcher parseFieldMatcher) |
MovAvgModel |
SimpleModel.SimpleModelParser.parse(Map<String,Object> settings,
String pipelineName,
int windowSize,
ParseFieldMatcher parseFieldMatcher) |
MovAvgModel |
LinearModel.LinearModelParser.parse(Map<String,Object> settings,
String pipelineName,
int windowSize,
ParseFieldMatcher parseFieldMatcher) |
abstract MovAvgModel |
MovAvgModel.AbstractModelParser.parse(Map<String,Object> settings,
String pipelineName,
int windowSize,
ParseFieldMatcher parseFieldMatcher)
Parse a settings hash that is specific to this model
|
MovAvgModel |
EwmaModel.SingleExpModelParser.parse(Map<String,Object> settings,
String pipelineName,
int windowSize,
ParseFieldMatcher parseFieldMatcher) |
MovAvgModel |
HoltLinearModel.DoubleExpModelParser.parse(Map<String,Object> settings,
String pipelineName,
int windowSize,
ParseFieldMatcher parseFieldMatcher) |
protected boolean |
MovAvgModel.AbstractModelParser.parseBoolParam(Map<String,Object> settings,
String name,
boolean defaultValue)
Extracts a boolean from the settings map, otherwise throws an exception
|
protected double |
MovAvgModel.AbstractModelParser.parseDoubleParam(Map<String,Object> settings,
String name,
double defaultValue)
Extracts a 0-1 inclusive double from the settings map, otherwise throws an exception
|
protected int |
MovAvgModel.AbstractModelParser.parseIntegerParam(Map<String,Object> settings,
String name,
int defaultValue)
Extracts an integer from the settings map, otherwise throws an exception
|
Constructor and Description |
---|
SerialDiffPipelineAggregator.Factory(String name,
String[] bucketsPaths,
ValueFormatter formatter,
BucketHelpers.GapPolicy gapPolicy,
int lag) |
SerialDiffPipelineAggregator(String name,
String[] bucketsPaths,
ValueFormatter formatter,
BucketHelpers.GapPolicy gapPolicy,
int lag,
Map<String,Object> metadata) |
Modifier and Type | Method and Description |
---|---|
<VS extends ValuesSource> |
AggregationContext.valuesSource(ValuesSourceConfig<VS> config,
SearchContext context)
Get a value source given its configuration.
|
Modifier and Type | Method and Description |
---|---|
static ValueParser.DateMath |
ValueParser.DateMath.mapper(DateFieldMapper.DateFieldType fieldType,
org.joda.time.DateTimeZone timezone) |
Constructor and Description |
---|
ValueParser.DateMath(DateMathParser parser,
org.joda.time.DateTimeZone timeZone) |
Modifier and Type | Method and Description |
---|---|
SearchSourceBuilder |
SearchSourceBuilder.fetchSource(FetchSourceContext fetchSourceContext)
Indicate how the _source should be fetched.
|
SearchSourceBuilder |
SearchSourceBuilder.fetchSource(String[] includes,
String[] excludes)
Indicate that _source should be returned with every hit, with an
"include" and/or "exclude" set which can include simple wildcard
elements.
|
SearchSourceBuilder |
SearchSourceBuilder.fetchSource(String[] includes,
String[] excludes)
Indicate that _source should be returned with every hit, with an
"include" and/or "exclude" set which can include simple wildcard
elements.
|
SearchSourceBuilder |
SearchSourceBuilder.fetchSource(String include,
String exclude)
Indicate that _source should be returned with every hit, with an
"include" and/or "exclude" set which can include simple wildcard
elements.
|
SearchSourceBuilder |
SearchSourceBuilder.fetchSource(String include,
String exclude)
Indicate that _source should be returned with every hit, with an
"include" and/or "exclude" set which can include simple wildcard
elements.
|
Modifier and Type | Method and Description |
---|---|
List<String> |
DefaultSearchContext.groupStats() |
abstract List<String> |
SearchContext.groupStats() |
Constructor and Description |
---|
SearchLookup(MapperService mapperService,
IndexFieldDataService fieldDataService,
String[] types) |
Modifier and Type | Method and Description |
---|---|
List<ProfileShardResult> |
QuerySearchResult.profileResults()
Returns the profiled results for this search, or potentially null if result was empty
|
Constructor and Description |
---|
CompletionStats(long size,
com.carrotsearch.hppc.ObjectLongHashMap<String> fields) |
Modifier and Type | Method and Description |
---|---|
Boolean |
IndexWarmersMetaData.Entry.requestCache() |
BytesReference |
IndexWarmersMetaData.Entry.source() |
Modifier and Type | Method and Description |
---|---|
String |
SnapshotShardFailure.nodeId()
Returns node id where failure occurred
|
Constructor and Description |
---|
SnapshotShardFailure(String nodeId,
String index,
int shardId,
String reason)
Constructs new snapshot shard failure object
|
Modifier and Type | Method and Description |
---|---|
TimeValue |
ThreadPool.Info.getKeepAlive() |
SizeValue |
ThreadPool.Info.getQueueSize() |
Constructor and Description |
---|
ThreadPool.Info(String name,
ThreadPool.ThreadPoolType type,
int min,
int max,
TimeValue keepAlive,
SizeValue queueSize) |
ThreadPool.Info(String name,
ThreadPool.ThreadPoolType type,
int min,
int max,
TimeValue keepAlive,
SizeValue queueSize) |
Constructor and Description |
---|
TransportInfo(BoundTransportAddress address,
Map<String,BoundTransportAddress> profileAddresses) |
Modifier and Type | Method and Description |
---|---|
protected void |
LocalTransport.messageReceived(byte[] data,
String action,
LocalTransport sourceTransport,
Version version,
Long sendRequestId) |
Copyright © 2009–2017. All rights reserved.