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.
|
Constructor and Description |
---|
WithRestHeaders(String msg,
com.google.common.collect.ImmutableMap<String,List<String>> headers) |
WithRestHeaders(String msg,
Throwable cause,
com.google.common.collect.ImmutableMap<String,List<String>> headers) |
Modifier and Type | Method and Description |
---|---|
Throwable |
ActionFuture.getRootFailure()
The root (possibly) wrapped failure.
|
Constructor and Description |
---|
UnavailableShardsException(ShardId shardId,
String message) |
Modifier and Type | Method and Description |
---|---|
String |
NodeInfo.getHostname()
System's hostname.
|
HttpInfo |
NodeInfo.getHttp() |
JvmInfo |
NodeInfo.getJvm()
JVM level information.
|
NetworkInfo |
NodeInfo.getNetwork()
Network level information.
|
OsInfo |
NodeInfo.getOs()
Operating System level information.
|
PluginsInfo |
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,
NetworkInfo network,
TransportInfo transport,
HttpInfo http,
PluginsInfo 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,
NetworkInfo network,
TransportInfo transport,
HttpInfo http,
PluginsInfo 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,
NetworkInfo network,
TransportInfo transport,
HttpInfo http,
PluginsInfo 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,
NetworkInfo network,
TransportInfo transport,
HttpInfo http,
PluginsInfo 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,
NetworkInfo network,
TransportInfo transport,
HttpInfo http,
PluginsInfo 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,
NetworkInfo network,
TransportInfo transport,
HttpInfo http,
PluginsInfo 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,
NetworkInfo network,
TransportInfo transport,
HttpInfo http,
PluginsInfo 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,
NetworkInfo network,
TransportInfo transport,
HttpInfo http,
PluginsInfo 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,
NetworkInfo network,
TransportInfo transport,
HttpInfo http,
PluginsInfo 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,
NetworkInfo network,
TransportInfo transport,
HttpInfo http,
PluginsInfo plugins) |
Modifier and Type | Method and Description |
---|---|
AllCircuitBreakerStats |
NodeStats.getBreaker() |
FsStats |
NodeStats.getFs()
File system level stats.
|
String |
NodeStats.getHostname() |
HttpStats |
NodeStats.getHttp() |
NodeIndicesStats |
NodeStats.getIndices()
Indices level stats.
|
JvmStats |
NodeStats.getJvm()
JVM level statistics.
|
NetworkStats |
NodeStats.getNetwork()
Network level statistics.
|
OsStats |
NodeStats.getOs()
Operating System level statistics.
|
ProcessStats |
NodeStats.getProcess()
Process level statistics.
|
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) |
Constructor and Description |
---|
AnalyzeRequest(String index,
String text)
Constructs a new analyzer request for the provided index and text.
|
Modifier and Type | Method and Description |
---|---|
RecoveryState |
ShardRecoveryResponse.recoveryState()
Gets the recovery state information for the shard.
|
Modifier and Type | Field and Description |
---|---|
CompletionStats |
CommonStats.completion |
DocsStats |
CommonStats.docs |
FieldDataStats |
CommonStats.fieldData |
FilterCacheStats |
CommonStats.filterCache |
FlushStats |
CommonStats.flush |
GetStats |
CommonStats.get |
IdCacheStats |
CommonStats.idCache |
IndexingStats |
CommonStats.indexing |
MergeStats |
CommonStats.merge |
PercolateStats |
CommonStats.percolate |
QueryCacheStats |
CommonStats.queryCache |
RecoveryStats |
CommonStats.recoveryStats |
RefreshStats |
CommonStats.refresh |
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() |
FilterCacheStats |
CommonStats.getFilterCache() |
FlushStats |
CommonStats.getFlush() |
GetStats |
CommonStats.getGet() |
IdCacheStats |
CommonStats.getIdCache() |
IndexingStats |
CommonStats.getIndexing() |
MergeStats |
CommonStats.getMerge() |
PercolateStats |
CommonStats.getPercolate() |
QueryCacheStats |
CommonStats.getQueryCache() |
RecoveryStats |
CommonStats.getRecoveryStats() |
RefreshStats |
CommonStats.getRefresh() |
SearchStats |
CommonStats.getSearch() |
SegmentsStats |
CommonStats.getSegments() |
StoreStats |
CommonStats.getStore() |
SuggestStats |
CommonStats.getSuggest() |
TranslogStats |
CommonStats.getTranslog() |
WarmerStats |
CommonStats.getWarmer() |
Modifier and Type | Method and Description |
---|---|
XContentBuilder |
IndicesStatusResponse.toXContent(XContentBuilder builder,
ToXContent.Params params,
SettingsFilter settingsFilter)
Deprecated.
|
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 |
---|---|
BulkProcessor |
BulkProcessor.add(ActionRequest request,
Object payload) |
BulkRequest |
BulkRequest.add(ActionRequest request,
Object payload) |
BulkRequest |
BulkRequest.add(byte[] data,
int from,
int length,
boolean contentUnsafe,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkRequest |
BulkRequest.add(byte[] data,
int from,
int length,
boolean contentUnsafe,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkRequestBuilder |
BulkRequestBuilder.add(byte[] data,
int from,
int length,
boolean contentUnsafe,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkRequestBuilder |
BulkRequestBuilder.add(byte[] data,
int from,
int length,
boolean contentUnsafe,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkProcessor |
BulkProcessor.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType) |
BulkProcessor |
BulkProcessor.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType) |
BulkRequest |
BulkRequest.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkRequest |
BulkRequest.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType)
Adds a framed data in binary format
|
BulkRequest |
BulkRequest.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
boolean allowExplicitIndex)
Adds a framed data in binary format
|
BulkRequest |
BulkRequest.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
boolean allowExplicitIndex)
Adds a framed data in binary format
|
BulkProcessor |
BulkProcessor.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
Object payload) |
BulkProcessor |
BulkProcessor.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
Object payload) |
BulkProcessor |
BulkProcessor.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
Object payload) |
BulkRequest |
BulkRequest.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
String defaultRouting,
Object payload,
boolean allowExplicitIndex) |
BulkRequest |
BulkRequest.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
String defaultRouting,
Object payload,
boolean allowExplicitIndex) |
BulkRequest |
BulkRequest.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
String defaultRouting,
Object payload,
boolean allowExplicitIndex) |
BulkRequest |
BulkRequest.add(BytesReference data,
boolean contentUnsafe,
String defaultIndex,
String defaultType,
String defaultRouting,
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 |
Constructor and Description |
---|
DeleteRequestBuilder(Client client,
String index) |
Modifier and Type | Field and Description |
---|---|
protected String |
ExistsRequest.routing |
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 |
---|---|
MultiGetRequestBuilder |
MultiGetRequestBuilder.add(String index,
String type,
Iterable<String> ids) |
MultiGetRequestBuilder |
MultiGetRequestBuilder.add(String index,
String type,
String... ids) |
MultiGetRequest |
MultiGetRequest.add(String index,
String type,
String id) |
MultiGetRequestBuilder |
MultiGetRequestBuilder.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(Client client,
String index) |
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(Client client,
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.errorMessage() |
String |
MultiPercolateResponse.Item.getErrorMessage() |
Map<String,HighlightField> |
PercolateResponse.Match.getHighlightFields() |
PercolateResponse |
MultiPercolateResponse.Item.getResponse() |
PercolateResponse |
MultiPercolateResponse.Item.response() |
Modifier and Type | Method and Description |
---|---|
String |
MultiSearchResponse.Item.getFailureMessage()
The actual failure message, null if its not a failure.
|
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 contentUnsafe,
String[] indices,
String[] types,
String searchType) |
MultiSearchRequest |
MultiSearchRequest.add(byte[] data,
int from,
int length,
boolean contentUnsafe,
String[] indices,
String[] types,
String searchType) |
MultiSearchRequest |
MultiSearchRequest.add(byte[] data,
int from,
int length,
boolean contentUnsafe,
String[] indices,
String[] types,
String searchType) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean contentUnsafe,
String[] indices,
String[] types,
String searchType,
IndicesOptions indicesOptions) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean contentUnsafe,
String[] indices,
String[] types,
String searchType,
IndicesOptions indicesOptions) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean contentUnsafe,
String[] indices,
String[] types,
String searchType,
IndicesOptions indicesOptions) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean contentUnsafe,
String[] indices,
String[] types,
String searchType,
String routing,
IndicesOptions indicesOptions,
boolean allowExplicitIndex) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean contentUnsafe,
String[] indices,
String[] types,
String searchType,
String routing,
IndicesOptions indicesOptions,
boolean allowExplicitIndex) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean contentUnsafe,
String[] indices,
String[] types,
String searchType,
String routing,
IndicesOptions indicesOptions,
boolean allowExplicitIndex) |
MultiSearchRequest |
MultiSearchRequest.add(BytesReference data,
boolean contentUnsafe,
String[] indices,
String[] types,
String searchType,
String routing,
IndicesOptions indicesOptions,
boolean allowExplicitIndex) |
SearchRequestBuilder |
SearchRequestBuilder.addPartialField(String name,
String[] includes,
String[] excludes)
Deprecated.
since 1.0.0
use
SearchRequestBuilder.setFetchSource(String[], String[]) instead |
SearchRequestBuilder |
SearchRequestBuilder.addPartialField(String name,
String[] includes,
String[] excludes)
Deprecated.
since 1.0.0
use
SearchRequestBuilder.setFetchSource(String[], String[]) instead |
SearchRequestBuilder |
SearchRequestBuilder.addPartialField(String name,
String include,
String exclude)
Deprecated.
since 1.0.0
use
SearchRequestBuilder.setFetchSource(String, String) instead |
SearchRequestBuilder |
SearchRequestBuilder.addPartialField(String name,
String include,
String exclude)
Deprecated.
since 1.0.0
use
SearchRequestBuilder.setFetchSource(String, String) instead |
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 |
---|---|
protected void |
TransportSearchTypeAction.BaseAsyncAction.addShardFailure(int shardIndex,
SearchShardTarget shardTarget,
Throwable t) |
static String |
TransportSearchHelper.buildScrollId(SearchType searchType,
AtomicArray<? extends SearchPhaseResult> searchPhaseResults,
Map<String,String> attributes) |
static String |
TransportSearchHelper.buildScrollId(String type,
AtomicArray<? extends SearchPhaseResult> searchPhaseResults,
Map<String,String> attributes) |
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) |
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)
The script to execute.
|
UpdateRequest |
UpdateRequest.script(String script,
String scriptLang,
ScriptService.ScriptType scriptType,
Map<String,Object> scriptParams)
The script to execute.
|
UpdateRequest |
UpdateRequest.script(String script,
String scriptLang,
ScriptService.ScriptType scriptType,
Map<String,Object> scriptParams)
The script to execute.
|
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 |
---|---|
AnalyzeRequestBuilder |
AbstractIndicesAdminClient.prepareAnalyze(String index,
String text) |
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.lookupFactory(String type) |
Modifier and Type | Method and Description |
---|---|
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,
ClusterName defaultClusterName) |
static ClusterState |
ClusterState.Builder.readFrom(StreamInput in,
DiscoveryNode localNode,
ClusterName defaultClusterName) |
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) |
Modifier and Type | Method and Description |
---|---|
DiscoveryNodeFilters |
IndexMetaData.excludeFilters() |
DiscoveryNodeFilters |
IndexMetaData.includeFilters() |
static <T extends IndexMetaData.Custom> |
IndexMetaData.lookupFactory(String type) |
static <T extends MetaData.Custom> |
MetaData.lookupFactory(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>> |
MetaData.resolveSearchRouting(String routing,
String aliasOrIndex) |
Map<String,Set<String>> |
MetaData.resolveSearchRouting(String routing,
String[] aliasesOrIndices) |
Modifier and Type | Method and Description |
---|---|
static DiscoveryNodes |
DiscoveryNodes.Builder.readFrom(StreamInput in,
DiscoveryNode localNode) |
Constructor and Description |
---|
Delta(DiscoveryNode previousMasterNode,
DiscoveryNode newMasterNode,
String localNodeId,
com.google.common.collect.ImmutableList<DiscoveryNode> removed,
com.google.common.collect.ImmutableList<DiscoveryNode> added) |
Delta(DiscoveryNode previousMasterNode,
DiscoveryNode newMasterNode,
String localNodeId,
com.google.common.collect.ImmutableList<DiscoveryNode> removed,
com.google.common.collect.ImmutableList<DiscoveryNode> added) |
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 |
---|---|
GroupShardsIterator |
OperationRouting.deleteByQueryShards(ClusterState clusterState,
String index,
Set<String> routing) |
ShardIterator |
OperationRouting.deleteShards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
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[] indices,
String[] concreteIndices,
Map<String,Set<String>> routing,
String preference) |
GroupShardsIterator |
OperationRouting.searchShards(ClusterState clusterState,
String[] indices,
String[] concreteIndices,
Map<String,Set<String>> routing,
String preference) |
int |
OperationRouting.searchShardsCount(ClusterState clusterState,
String[] indices,
String[] concreteIndices,
Map<String,Set<String>> routing,
String preference) |
int |
OperationRouting.searchShardsCount(ClusterState clusterState,
String[] indices,
String[] concreteIndices,
Map<String,Set<String>> routing,
String preference) |
Modifier and Type | Method and Description |
---|---|
GroupShardsIterator |
PlainOperationRouting.deleteByQueryShards(ClusterState clusterState,
String index,
Set<String> routing) |
ShardIterator |
PlainOperationRouting.deleteShards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
ShardIterator |
PlainOperationRouting.getShards(ClusterState clusterState,
String index,
int shardId,
String preference) |
ShardIterator |
PlainOperationRouting.getShards(ClusterState clusterState,
String index,
String type,
String id,
String routing,
String preference) |
ShardIterator |
PlainOperationRouting.getShards(ClusterState clusterState,
String index,
String type,
String id,
String routing,
String preference) |
ShardIterator |
PlainOperationRouting.indexShards(ClusterState clusterState,
String index,
String type,
String id,
String routing) |
GroupShardsIterator |
PlainOperationRouting.searchShards(ClusterState clusterState,
String[] indices,
String[] concreteIndices,
Map<String,Set<String>> routing,
String preference) |
GroupShardsIterator |
PlainOperationRouting.searchShards(ClusterState clusterState,
String[] indices,
String[] concreteIndices,
Map<String,Set<String>> routing,
String preference) |
int |
PlainOperationRouting.searchShardsCount(ClusterState clusterState,
String[] indices,
String[] concreteIndices,
Map<String,Set<String>> routing,
String preference) |
int |
PlainOperationRouting.searchShardsCount(ClusterState clusterState,
String[] indices,
String[] concreteIndices,
Map<String,Set<String>> routing,
String preference) |
Modifier and Type | Method and Description |
---|---|
static Compressor |
CompressorFactory.compressor(byte[] data) |
static Compressor |
CompressorFactory.compressor(byte[] data,
int offset,
int length) |
static Compressor |
CompressorFactory.compressor(BytesReference bytes) |
static Compressor |
CompressorFactory.compressor(org.jboss.netty.buffer.ChannelBuffer buffer) |
static Compressor |
CompressorFactory.compressor(org.apache.lucene.store.IndexInput in) |
Modifier and Type | Method and Description |
---|---|
boolean |
HttpDownloadHelper.download(URL source,
File dest,
HttpDownloadHelper.DownloadProgress progress,
TimeValue timeout) |
Modifier and Type | Method and Description |
---|---|
static Module |
Modules.createModule(Class<? extends Module> moduleClass,
Settings settings) |
Modifier and Type | Method and Description |
---|---|
Object |
StreamInput.readGenericValue() |
Map<String,Object> |
StreamInput.readMap() |
Boolean |
StreamInput.readOptionalBoolean() |
String |
StreamInput.readOptionalSharedString() |
String |
StreamInput.readOptionalString() |
Text |
StreamInput.readOptionalText() |
Modifier and Type | Method and Description |
---|---|
void |
AdapterStreamOutput.writeBytesReference(BytesReference bytes) |
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.writeOptionalSharedString(String str) |
void |
StreamOutput.writeOptionalStreamable(Streamable streamable)
Serializes a potential null value.
|
void |
StreamOutput.writeOptionalString(String str) |
void |
StreamOutput.writeOptionalText(Text text) |
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.index.SegmentReader |
SegmentReaderUtils.segmentReader(org.apache.lucene.index.AtomicReader reader)
Tries to extract a segment reader from the given index reader.
|
static org.apache.lucene.index.SegmentReader |
SegmentReaderUtils.segmentReaderOrNull(org.apache.lucene.index.AtomicReader reader)
Tries to extract a segment reader from the given index reader and returns it, otherwise
null
is returned |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.util.Version |
Lucene.parseVersion(String version,
org.apache.lucene.util.Version defaultVersion,
ESLogger logger) |
Modifier and Type | Method and Description |
---|---|
static boolean |
DocIdSets.isEmpty(org.apache.lucene.search.DocIdSet set)
Is it an empty
DocIdSet ? |
static org.apache.lucene.search.DocIdSet |
DocIdSets.toCacheable(org.apache.lucene.index.AtomicReader reader,
org.apache.lucene.search.DocIdSet set)
Converts to a cacheable
DocIdSet
Note, we don't use DocIdSet.isCacheable() because execution
might be expensive even if its cacheable (i.e. |
static org.apache.lucene.util.Bits |
DocIdSets.toSafeBits(org.apache.lucene.index.AtomicReader reader,
org.apache.lucene.search.DocIdSet set)
Gets a set to bits.
|
Constructor and Description |
---|
MatchDocIdSet(int maxDoc,
org.apache.lucene.util.Bits acceptDocs) |
Constructor and Description |
---|
FilterableTermsEnum(org.apache.lucene.index.IndexReader reader,
String field,
int docsEnumFlag,
org.apache.lucene.search.Filter filter) |
FreqTermsEnum(org.apache.lucene.index.IndexReader reader,
String field,
boolean needDocFreq,
boolean needTotalTermFreq,
org.apache.lucene.search.Filter filter,
BigArrays bigArrays) |
Modifier and Type | Method and Description |
---|---|
static void |
Queries.applyMinimumShouldMatch(org.apache.lucene.search.BooleanQuery query,
String minimumShouldMatch) |
Constructor and Description |
---|
LimitDocIdSet(int maxDoc,
org.apache.lucene.util.Bits acceptDocs,
int limit) |
Modifier and Type | Method and Description |
---|---|
ClassLoader |
Settings.getClassLoaderIfSet()
The class loader associated with this settings, but only if explicitly set, otherwise null.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,String> |
SettingsLoader.Helper.loadNestedFromMap(Map map) |
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(Settings settings,
PageCacheRecycler recycler,
CircuitBreakerService breakerService) |
BigArrays(Settings settings,
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() |
Modifier and Type | Method and Description |
---|---|
Boolean |
ZenPing.PingResponse.hasJoinedOnce()
true if the node has successfully joined the cluster before, null for nodes with a <1.4.0 version
|
Constructor and Description |
---|
ZenPingService(Settings settings,
ThreadPool threadPool,
TransportService transportService,
ClusterName clusterName,
NetworkService networkService,
ElectMasterService electMasterService,
Set<UnicastHostsProvider> unicastHostsProviders) |
ZenPingService(Settings settings,
ThreadPool threadPool,
TransportService transportService,
ClusterName clusterName,
NetworkService networkService,
Version version,
ElectMasterService electMasterService,
Set<UnicastHostsProvider> unicastHostsProviders) |
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.NodesLocalGatewayMetaState> |
TransportNodesListGatewayMetaState.list(String[] nodesIds,
TimeValue timeout) |
Modifier and Type | Field and Description |
---|---|
Boolean |
ShardStateInfo.primary |
Modifier and Type | Method and Description |
---|---|
ActionFuture<TransportNodesListGatewayStartedShards.NodesLocalGatewayStartedShards> |
TransportNodesListGatewayStartedShards.list(ShardId shardId,
String[] nodesIds,
TimeValue timeout) |
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 |
---|---|
CompressedString |
IndexAlias.filter() |
org.apache.lucene.search.Filter |
IndexAlias.parsedFilter() |
Modifier and Type | Method and Description |
---|---|
void |
IndexAliasesService.add(String alias,
CompressedString filter) |
IndexAlias |
IndexAliasesService.create(String alias,
CompressedString filter) |
Constructor and Description |
---|
IndexAlias(String alias,
CompressedString filter,
org.apache.lucene.search.Filter parsedFilter) |
IndexAlias(String alias,
CompressedString filter,
org.apache.lucene.search.Filter parsedFilter) |
Constructor and Description |
---|
AnalysisService(Index index,
Settings indexSettings,
IndicesAnalysisService indicesAnalysisService,
Map<String,AnalyzerProviderFactory> analyzerFactoryFactories,
Map<String,TokenizerFactoryFactory> tokenizerFactoryFactories,
Map<String,CharFilterFactoryFactory> charFilterFactoryFactories,
Map<String,TokenFilterFactoryFactory> tokenFilterFactoryFactories) |
AnalysisService(Index index,
Settings indexSettings,
IndicesAnalysisService indicesAnalysisService,
Map<String,AnalyzerProviderFactory> analyzerFactoryFactories,
Map<String,TokenizerFactoryFactory> tokenizerFactoryFactories,
Map<String,CharFilterFactoryFactory> charFilterFactoryFactories,
Map<String,TokenFilterFactoryFactory> tokenFilterFactoryFactories) |
AnalysisService(Index index,
Settings indexSettings,
IndicesAnalysisService indicesAnalysisService,
Map<String,AnalyzerProviderFactory> analyzerFactoryFactories,
Map<String,TokenizerFactoryFactory> tokenizerFactoryFactories,
Map<String,CharFilterFactoryFactory> charFilterFactoryFactories,
Map<String,TokenFilterFactoryFactory> tokenFilterFactoryFactories) |
AnalysisService(Index index,
Settings indexSettings,
IndicesAnalysisService indicesAnalysisService,
Map<String,AnalyzerProviderFactory> analyzerFactoryFactories,
Map<String,TokenizerFactoryFactory> tokenizerFactoryFactories,
Map<String,CharFilterFactoryFactory> charFilterFactoryFactories,
Map<String,TokenFilterFactoryFactory> tokenFilterFactoryFactories) |
AnalysisService(Index index,
Settings indexSettings,
IndicesAnalysisService indicesAnalysisService,
Map<String,AnalyzerProviderFactory> analyzerFactoryFactories,
Map<String,TokenizerFactoryFactory> tokenizerFactoryFactories,
Map<String,CharFilterFactoryFactory> charFilterFactoryFactories,
Map<String,TokenFilterFactoryFactory> tokenFilterFactoryFactories) |
Modifier and Type | Method and Description |
---|---|
void |
IndexCache.setClusterService(ClusterService clusterService) |
Modifier and Type | Field and Description |
---|---|
com.google.common.cache.RemovalListener<WeightedFilterCache.FilterCacheKey,org.apache.lucene.search.DocIdSet> |
WeightedFilterCache.FilterCacheKey.removalListener |
Constructor and Description |
---|
BloomFilterPostingsFormatProvider(Settings indexSettings,
Map<String,PostingsFormatProvider.Factory> postingFormatFactories,
String name,
Settings postingsFormatSettings)
Deprecated.
|
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.FailedEngineListener.onFailedEngine(ShardId shardId,
String reason,
Throwable t) |
Constructor and Description |
---|
DeleteByQuery(org.apache.lucene.search.Query query,
BytesReference source,
String[] filteringAliases,
org.apache.lucene.search.Filter aliasFilter,
FixedBitSetFilter parentFilter,
Engine.Operation.Origin origin,
long startTime,
String... types) |
DeleteByQuery(org.apache.lucene.search.Query query,
BytesReference source,
String[] filteringAliases,
org.apache.lucene.search.Filter aliasFilter,
FixedBitSetFilter parentFilter,
Engine.Operation.Origin origin,
long startTime,
String... types) |
GetResult(boolean exists,
long version,
Translog.Source source) |
Modifier and Type | Method and Description |
---|---|
com.carrotsearch.hppc.ObjectLongOpenHashMap<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.ObjectLongOpenHashMap<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 |
---|---|
String |
CommitPoint.FileInfo.checksum() |
Modifier and Type | Method and Description |
---|---|
protected FetchSourceContext |
ShardGetService.normalizeFetchSourceContent(FetchSourceContext context,
String[] gFields)
decides what needs to be done based on the request input and always returns a valid non-null FetchSourceContext
|
protected FetchSourceContext |
ShardGetService.normalizeFetchSourceContent(FetchSourceContext context,
String[] gFields)
decides what needs to be done based on the request input and always returns a valid non-null FetchSourceContext
|
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 | Method and Description |
---|---|
Version |
Mapper.BuilderContext.indexCreatedVersion() |
Settings |
Mapper.BuilderContext.indexSettings() |
abstract Settings |
ParseContext.indexSettings() |
Settings |
ParseContext.InternalParseContext.indexSettings() |
org.apache.lucene.search.Filter |
FieldMapper.nullValueFilter()
Null value filter, returns null if there is no null value associated with the field.
|
org.apache.lucene.search.Query |
FieldMapper.queryStringTermQuery(org.apache.lucene.index.Term term)
A term query to use when parsing a query string.
|
org.apache.lucene.search.Filter |
MapperService.searchFilter(String... types)
A filter for search.
|
FieldMappers |
FieldMappersLookup.smartName(String name)
Tries to find first based on
FieldMappersLookup.fullName(String) , then by FieldMappersLookup.indexName(String) , and last
by FieldMappersLookup.name(String) . |
FieldMapper<?> |
FieldMappersLookup.smartNameFieldMapper(String name)
Tries to find first based on
FieldMappersLookup.fullName(String) , then by FieldMappersLookup.indexName(String) , and last
by FieldMappersLookup.name(String) and return the first mapper for it (see FieldMappers.mapper() ). |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Filter |
FieldMapper.fieldDataTermsFilter(List values,
QueryParseContext context) |
ParsedDocument |
DocumentMapper.parse(SourceToParse source,
DocumentMapper.ParseListener listener) |
DocumentMapper |
DocumentMapperParser.parse(String type,
String source) |
DocumentMapper |
DocumentMapperParser.parse(String type,
String source,
String defaultSource) |
DocumentMapper |
DocumentMapperParser.parseCompressed(String type,
CompressedString source) |
DocumentMapper |
DocumentMapperParser.parseCompressed(String type,
CompressedString source,
String defaultSource) |
org.apache.lucene.search.Filter |
FieldMapper.prefixFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
FieldMapper.prefixQuery(Object value,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Query |
FieldMapper.prefixQuery(Object value,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Filter |
FieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Query |
FieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
FieldMapper.regexpFilter(Object value,
int flags,
int maxDeterminizedStates,
QueryParseContext parseContext) |
org.apache.lucene.search.Query |
FieldMapper.regexpQuery(Object value,
int flags,
int maxDeterminizedStates,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Query |
FieldMapper.regexpQuery(Object value,
int flags,
int maxDeterminizedStates,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
List<String> |
MapperService.simpleMatchToIndexNames(String pattern,
String[] types)
Returns all the fields that match the given pattern, with an optional narrowing
based on a list of types.
|
MapperService.SmartNameFieldMappers |
MapperService.smartName(String smartName,
String[] types) |
FieldMapper |
MapperService.smartNameFieldMapper(String smartName,
String[] types) |
FieldMappers |
MapperService.smartNameFieldMappers(String smartName,
String[] types) |
MapperService.SmartNameObjectMapper |
MapperService.smartNameObjectMapper(String smartName,
String[] types) |
org.apache.lucene.search.Filter |
FieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
FieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
FieldMapper.termsFilter(List values,
QueryParseContext context) |
Constructor and Description |
---|
DocumentMapper(String index,
Settings indexSettings,
DocumentMapperParser docMapperParser,
RootObjectMapper rootObjectMapper,
com.google.common.collect.ImmutableMap<String,Object> meta,
NamedAnalyzer indexAnalyzer,
NamedAnalyzer searchAnalyzer,
NamedAnalyzer searchQuoteAnalyzer,
Map<Class<? extends RootMapper>,RootMapper> rootMappers,
List<org.elasticsearch.index.mapper.DocumentMapper.SourceTransform> sourceTransforms) |
InternalParseContext(String index,
Settings indexSettings,
DocumentMapperParser docMapperParser,
DocumentMapper docMapper,
ContentPath path) |
Names(String name,
String indexName,
String indexNameClean,
String fullName,
String sourcePath) |
SmartNameFieldMappers(MapperService mapperService,
FieldMappers fieldMappers,
DocumentMapper docMapper,
boolean explicitTypeInName) |
SmartNameObjectMapper(ObjectMapper mapper,
DocumentMapper docMapper) |
Modifier and Type | Field and Description |
---|---|
protected Settings |
AbstractFieldMapper.Builder.fieldDataSettings |
Modifier and Type | Method and Description |
---|---|
protected String |
AbstractFieldMapper.defaultDocValuesFormat() |
protected String |
AbstractFieldMapper.defaultPostingFormat() |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Filter |
NumberFieldMapper.fieldDataTermsFilter(List values,
QueryParseContext context)
A terms filter based on the field data cache for numeric fields.
|
org.apache.lucene.search.Filter |
AbstractFieldMapper.fieldDataTermsFilter(List values,
QueryParseContext context)
A terms filter based on the field data cache
|
long |
DateFieldMapper.parseToMilliseconds(Object value,
boolean inclusive,
org.joda.time.DateTimeZone zone,
DateMathParser forcedDateParser) |
long |
DateFieldMapper.parseToMilliseconds(Object value,
boolean inclusive,
org.joda.time.DateTimeZone zone,
DateMathParser forcedDateParser) |
long |
DateFieldMapper.parseToMilliseconds(String value,
boolean inclusive,
org.joda.time.DateTimeZone zone,
DateMathParser forcedDateParser) |
long |
DateFieldMapper.parseToMilliseconds(String value,
boolean inclusive,
org.joda.time.DateTimeZone zone,
DateMathParser forcedDateParser) |
org.apache.lucene.search.Filter |
AbstractFieldMapper.prefixFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
AbstractFieldMapper.prefixQuery(Object value,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Query |
AbstractFieldMapper.prefixQuery(Object value,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Filter |
DateFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser,
QueryParseContext context,
Boolean explicitCaching) |
org.apache.lucene.search.Filter |
DateFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser,
QueryParseContext context,
Boolean explicitCaching) |
org.apache.lucene.search.Filter |
DateFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser,
QueryParseContext context,
Boolean explicitCaching) |
org.apache.lucene.search.Filter |
DateFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser,
QueryParseContext context,
Boolean explicitCaching) |
org.apache.lucene.search.Filter |
DoubleFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
abstract org.apache.lucene.search.Filter |
NumberFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
ByteFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
ShortFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
IntegerFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
LongFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
FloatFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
DateFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
AbstractFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
DateFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser,
QueryParseContext context,
Boolean explicitCaching) |
org.apache.lucene.search.Filter |
DateFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser,
QueryParseContext context,
Boolean explicitCaching) |
org.apache.lucene.search.Filter |
DateFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser,
QueryParseContext context,
Boolean explicitCaching) |
org.apache.lucene.search.Filter |
DateFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser,
QueryParseContext context,
Boolean explicitCaching) |
org.apache.lucene.search.Filter |
DoubleFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
abstract org.apache.lucene.search.Filter |
NumberFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context)
A range filter based on the field data cache.
|
org.apache.lucene.search.Filter |
ByteFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
ShortFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
IntegerFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
LongFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
FloatFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
DateFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Query |
DateFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser,
QueryParseContext context) |
org.apache.lucene.search.Query |
DateFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser,
QueryParseContext context) |
org.apache.lucene.search.Query |
DateFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
org.joda.time.DateTimeZone timeZone,
DateMathParser forcedDateParser,
QueryParseContext context) |
org.apache.lucene.search.Query |
DoubleFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
abstract org.apache.lucene.search.Query |
NumberFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Query |
ByteFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Query |
ShortFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Query |
IntegerFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Query |
LongFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Query |
FloatFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Query |
DateFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Query |
AbstractFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
AbstractFieldMapper.regexpFilter(Object value,
int flags,
int maxDeterminizedStates,
QueryParseContext parseContext) |
org.apache.lucene.search.Query |
AbstractFieldMapper.regexpQuery(Object value,
int flags,
int maxDeterminizedStates,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Query |
AbstractFieldMapper.regexpQuery(Object value,
int flags,
int maxDeterminizedStates,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Filter |
DoubleFieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
NumberFieldMapper.termFilter(Object value,
QueryParseContext context)
Numeric field level filter are basically range queries with same value and included.
|
org.apache.lucene.search.Filter |
ByteFieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
ShortFieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
IntegerFieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
LongFieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
FloatFieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
DateFieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
AbstractFieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
DoubleFieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
NumberFieldMapper.termQuery(Object value,
QueryParseContext context)
Numeric field level query are basically range queries with same value and included.
|
org.apache.lucene.search.Query |
ByteFieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
ShortFieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
IntegerFieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
LongFieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
FloatFieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
DateFieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
AbstractFieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
AbstractFieldMapper.termsFilter(List values,
QueryParseContext context) |
Constructor and Description |
---|
AbstractFieldMapper(FieldMapper.Names names,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
NamedAnalyzer indexAnalyzer,
NamedAnalyzer searchAnalyzer,
PostingsFormatProvider postingsFormat,
DocValuesFormatProvider docValuesFormat,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings) |
AbstractFieldMapper(FieldMapper.Names names,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
NamedAnalyzer indexAnalyzer,
NamedAnalyzer searchAnalyzer,
PostingsFormatProvider postingsFormat,
DocValuesFormatProvider docValuesFormat,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
BinaryFieldMapper(FieldMapper.Names names,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
Boolean compress,
long compressThreshold,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
Settings fieldDataSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
BooleanFieldMapper(FieldMapper.Names names,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean nullValue,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
ByteFieldMapper(FieldMapper.Names names,
int precisionStep,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
Byte nullValue,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
DateFieldMapper(FieldMapper.Names names,
FormatDateTimeFormatter dateTimeFormatter,
int precisionStep,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
String nullValue,
TimeUnit timeUnit,
boolean roundCeil,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
DoubleFieldMapper(FieldMapper.Names names,
int precisionStep,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
Double nullValue,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
FloatFieldMapper(FieldMapper.Names names,
int precisionStep,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
Float nullValue,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
IntegerFieldMapper(FieldMapper.Names names,
int precisionStep,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
Integer nullValue,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
LongFieldMapper(FieldMapper.Names names,
int precisionStep,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
Long nullValue,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
Murmur3FieldMapper(FieldMapper.Names names,
int precisionStep,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
Long nullValue,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
NumberFieldMapper(FieldMapper.Names names,
int precisionStep,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
NamedAnalyzer indexAnalyzer,
NamedAnalyzer searchAnalyzer,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
ShortFieldMapper(FieldMapper.Names names,
int precisionStep,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
Short nullValue,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
StringFieldMapper(FieldMapper.Names names,
float boost,
org.apache.lucene.document.FieldType fieldType,
org.apache.lucene.document.FieldType defaultFieldType,
Boolean docValues,
String nullValue,
NamedAnalyzer indexAnalyzer,
NamedAnalyzer searchAnalyzer,
NamedAnalyzer searchQuotedAnalyzer,
int positionOffsetGap,
int ignoreAbove,
PostingsFormatProvider postingsFormat,
DocValuesFormatProvider docValuesFormat,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
Constructor and Description |
---|
GeoPointFieldMapper(FieldMapper.Names names,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
NamedAnalyzer indexAnalyzer,
NamedAnalyzer searchAnalyzer,
PostingsFormatProvider postingsFormat,
DocValuesFormatProvider docValuesFormat,
SimilarityProvider similarity,
Settings fieldDataSettings,
Settings indexSettings,
ContentPath.Type pathType,
boolean enableLatLon,
boolean enableGeoHash,
boolean enableGeohashPrefix,
Integer precisionStep,
int geoHashPrecision,
DoubleFieldMapper latMapper,
DoubleFieldMapper lonMapper,
StringFieldMapper geohashMapper,
boolean validateLon,
boolean validateLat,
boolean normalizeLon,
boolean normalizeLat,
AbstractFieldMapper.MultiFields multiFields) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Filter |
IdFieldMapper.prefixFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
IdFieldMapper.prefixQuery(Object value,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Query |
IdFieldMapper.prefixQuery(Object value,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Filter |
BoostFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
BoostFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Query |
BoostFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
IdFieldMapper.regexpFilter(Object value,
int flags,
int maxDeterminizedStates,
QueryParseContext context) |
org.apache.lucene.search.Query |
IdFieldMapper.regexpQuery(Object value,
int flags,
int maxDeterminizedStates,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Query |
IdFieldMapper.regexpQuery(Object value,
int flags,
int maxDeterminizedStates,
org.apache.lucene.search.MultiTermQuery.RewriteMethod method,
QueryParseContext context) |
org.apache.lucene.search.Filter |
TypeFieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
IdFieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
ParentFieldMapper.termFilter(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
TypeFieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
IdFieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Query |
ParentFieldMapper.termQuery(Object value,
QueryParseContext context) |
org.apache.lucene.search.Filter |
IdFieldMapper.termsFilter(List values,
QueryParseContext context) |
org.apache.lucene.search.Filter |
ParentFieldMapper.termsFilter(List values,
QueryParseContext context) |
Constructor and Description |
---|
AllFieldMapper(String name,
org.apache.lucene.document.FieldType fieldType,
NamedAnalyzer indexAnalyzer,
NamedAnalyzer searchAnalyzer,
EnabledAttributeMapper enabled,
boolean autoBoost,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings) |
BoostFieldMapper(String name,
String indexName,
int precisionStep,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
Float nullValue,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
Settings fieldDataSettings,
Settings indexSettings) |
FieldNamesFieldMapper(String name,
String indexName,
float boost,
org.apache.lucene.document.FieldType fieldType,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
EnabledAttributeMapper enabledState,
Settings fieldDataSettings,
Settings indexSettings) |
IdFieldMapper(String name,
String indexName,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
String path,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
Settings fieldDataSettings,
Settings indexSettings) |
IndexFieldMapper(String name,
String indexName,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
EnabledAttributeMapper enabledState,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
Settings fieldDataSettings,
Settings indexSettings) |
ParentFieldMapper(String name,
String indexName,
String type,
PostingsFormatProvider postingsFormat,
Settings fieldDataSettings,
Settings indexSettings) |
RoutingFieldMapper(org.apache.lucene.document.FieldType fieldType,
boolean required,
String path,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
Settings fieldDataSettings,
Settings indexSettings) |
SizeFieldMapper(EnabledAttributeMapper enabled,
org.apache.lucene.document.FieldType fieldType,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
Settings fieldDataSettings,
Settings indexSettings) |
TimestampFieldMapper(org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
EnabledAttributeMapper enabledState,
String path,
FormatDateTimeFormatter dateTimeFormatter,
String defaultTimestamp,
boolean roundCeil,
Boolean ignoreMissing,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings) |
TTLFieldMapper(org.apache.lucene.document.FieldType fieldType,
EnabledAttributeMapper enabled,
long defaultTTL,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
Settings fieldDataSettings,
Settings indexSettings) |
TypeFieldMapper(String name,
String indexName,
float boost,
org.apache.lucene.document.FieldType fieldType,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
Settings fieldDataSettings,
Settings indexSettings) |
UidFieldMapper(String name,
String indexName,
Boolean docValues,
PostingsFormatProvider postingsFormat,
DocValuesFormatProvider docValuesFormat,
Settings fieldDataSettings,
Settings indexSettings) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Filter |
IpFieldMapper.rangeFilter(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Filter |
IpFieldMapper.rangeFilter(QueryParseContext parseContext,
Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
org.apache.lucene.search.Query |
IpFieldMapper.rangeQuery(Object lowerTerm,
Object upperTerm,
boolean includeLower,
boolean includeUpper,
QueryParseContext context) |
Constructor and Description |
---|
IpFieldMapper(FieldMapper.Names names,
int precisionStep,
float boost,
org.apache.lucene.document.FieldType fieldType,
Boolean docValues,
String nullValue,
Explicit<Boolean> ignoreMalformed,
Explicit<Boolean> coerce,
PostingsFormatProvider postingsProvider,
DocValuesFormatProvider docValuesProvider,
SimilarityProvider similarity,
FieldMapper.Loading normsLoading,
Settings fieldDataSettings,
Settings indexSettings,
AbstractFieldMapper.MultiFields multiFields,
AbstractFieldMapper.CopyTo copyTo) |
Modifier and Type | Method and Description |
---|---|
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) |
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) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.join.ToParentBlockJoinQuery |
NestedQueryParser.ToBlockJoinQueryBuilder.build() |
org.apache.lucene.search.Query |
QueryParser.parse(QueryParseContext parseContext)
Parses the into a query from the current parser location.
|
org.apache.lucene.search.Query |
TemplateQueryParser.parse(QueryParseContext parseContext)
Parses the template query replacing template parameters with provided values.
|
org.apache.lucene.search.Filter |
FilterParser.parse(QueryParseContext parseContext)
Parses the into a filter from the current parser location.
|
org.apache.lucene.search.Filter |
QueryParseContext.parseInnerFilter() |
ParsedFilter |
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 |
---|---|
org.apache.lucene.search.Filter |
QueryParseContext.cacheFilter(org.apache.lucene.search.Filter filter,
CacheKeyFilter.Key cacheKey) |
static org.apache.lucene.search.Filter |
GeohashCellFilter.create(QueryParseContext context,
GeoPointFieldMapper fieldMapper,
String geohash,
List<CharSequence> geohashes)
Create a new geohash filter for a given set of geohashes.
|
static FilteredQueryBuilder |
QueryBuilders.filtered(QueryBuilder queryBuilder,
FilterBuilder filterBuilder)
Deprecated.
Use filteredQuery instead (rename)
Will be removed in elasticsearch 2.0.0
|
static FilteredQueryBuilder |
QueryBuilders.filteredQuery(QueryBuilder queryBuilder,
FilterBuilder filterBuilder)
A query that applies a filter to the results of another query.
|
static FilteredQueryBuilder |
QueryBuilders.filteredQuery(QueryBuilder queryBuilder,
FilterBuilder filterBuilder)
A query that applies a filter to the results of another query.
|
static IdsFilterBuilder |
FilterBuilders.idsFilter(String... types)
Creates a new ids filter with the provided doc/mapping types.
|
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,
FilterBuilder filterBuilder)
A query that applies a filter to the results of another query.
|
FilteredQueryBuilder(QueryBuilder queryBuilder,
FilterBuilder filterBuilder)
A query that applies a filter to the results of another query.
|
IndexQueryParserService(Index index,
Settings indexSettings,
IndicesQueriesRegistry indicesQueriesRegistry,
CacheRecycler cacheRecycler,
ScriptService scriptService,
AnalysisService analysisService,
MapperService mapperService,
IndexCache indexCache,
IndexFieldDataService fieldDataService,
IndexEngine indexEngine,
FixedBitSetFilterCache fixedBitSetFilterCache,
SimilarityService similarityService,
Map<String,QueryParserFactory> namedQueryParsers,
Map<String,FilterParserFactory> namedFilterParsers) |
IndexQueryParserService(Index index,
Settings indexSettings,
IndicesQueriesRegistry indicesQueriesRegistry,
CacheRecycler cacheRecycler,
ScriptService scriptService,
AnalysisService analysisService,
MapperService mapperService,
IndexCache indexCache,
IndexFieldDataService fieldDataService,
IndexEngine indexEngine,
FixedBitSetFilterCache fixedBitSetFilterCache,
SimilarityService similarityService,
Map<String,QueryParserFactory> namedQueryParsers,
Map<String,FilterParserFactory> namedFilterParsers) |
IndexQueryParserService(Index index,
Settings indexSettings,
IndicesQueriesRegistry indicesQueriesRegistry,
CacheRecycler cacheRecycler,
ScriptService scriptService,
AnalysisService analysisService,
MapperService mapperService,
IndexCache indexCache,
IndexFieldDataService fieldDataService,
IndexEngine indexEngine,
FixedBitSetFilterCache fixedBitSetFilterCache,
SimilarityService similarityService,
Map<String,QueryParserFactory> namedQueryParsers,
Map<String,FilterParserFactory> namedFilterParsers) |
IndicesFilterParser(ClusterService clusterService) |
IndicesQueryParser(ClusterService clusterService) |
Item(String index,
String type,
String id) |
Modifier and Type | Method and Description |
---|---|
static org.apache.lucene.search.MultiTermQuery.RewriteMethod |
QueryParsers.parseRewriteMethod(String rewriteMethod) |
static org.apache.lucene.search.MultiTermQuery.RewriteMethod |
QueryParsers.parseRewriteMethod(String rewriteMethod,
org.apache.lucene.search.MultiTermQuery.RewriteMethod defaultRewriteMethod) |
static org.apache.lucene.search.MultiTermQuery.RewriteMethod |
QueryParsers.parseRewriteMethod(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,
String rewriteMethod) |
static org.apache.lucene.search.Filter |
QueryParsers.wrapSmartNameFilter(org.apache.lucene.search.Filter filter,
MapperService.SmartNameFieldMappers smartFieldMappers,
QueryParseContext parseContext) |
static org.apache.lucene.search.Query |
QueryParsers.wrapSmartNameQuery(org.apache.lucene.search.Query query,
MapperService.SmartNameFieldMappers smartFieldMappers,
QueryParseContext parseContext) |
Constructor and Description |
---|
InnerFilter(QueryParseContext parseContext1,
String... types) |
InnerQuery(QueryParseContext parseContext1,
String... types) |
Constructor and Description |
---|
GeoBoundingBoxDocSet(int maxDoc,
org.apache.lucene.util.Bits acceptDocs,
MultiGeoPointValues values,
GeoPoint topLeft,
GeoPoint bottomRight) |
GeoDistanceDocSet(int maxDoc,
org.apache.lucene.util.Bits acceptDocs,
MultiGeoPointValues values,
GeoDistance.FixedSourceDistance fixedSourceDistance,
GeoDistance.DistanceBoundingCheck distanceBoundingCheck,
double distance) |
GeoDistanceRangeDocSet(int maxDoc,
org.apache.lucene.util.Bits acceptDocs,
MultiGeoPointValues values,
GeoDistance.FixedSourceDistance fixedSourceDistance,
GeoDistance.DistanceBoundingCheck distanceBoundingCheck,
double inclusiveLowerPoint,
double inclusiveUpperPoint) |
GeoPolygonDocIdSet(int maxDoc,
org.apache.lucene.util.Bits acceptDocs,
MultiGeoPointValues values,
GeoPoint[] points) |
Meridian180GeoBoundingBoxDocSet(int maxDoc,
org.apache.lucene.util.Bits acceptDocs,
MultiGeoPointValues values,
GeoPoint topLeft,
GeoPoint bottomRight) |
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 |
---|---|
static ShardId |
ShardUtils.extractShardId(org.apache.lucene.index.AtomicReader 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 |
---|---|
Engine.DeleteByQuery |
IndexShard.prepareDeleteByQuery(BytesReference source,
String[] filteringAliases,
Engine.Operation.Origin origin,
String... types) |
Constructor and Description |
---|
IndexShard(ShardId shardId,
Settings indexSettings,
IndexSettingsService indexSettingsService,
IndicesLifecycle indicesLifecycle,
Store store,
MergeSchedulerProvider mergeScheduler,
Translog translog,
ThreadPool threadPool,
MapperService mapperService,
IndexQueryParserService queryParserService,
IndexCache indexCache,
IndexAliasesService indexAliasesService,
ShardIndexingService indexingService,
ShardGetService getService,
ShardSearchService searchService,
ShardIndexWarmerService shardWarmerService,
ShardFilterCache shardFilterCache,
ShardFieldData shardFieldData,
PercolatorQueriesRegistry percolatorQueriesRegistry,
ShardPercolateService shardPercolateService,
CodecService codecService,
ShardTermVectorService termVectorService,
IndexFieldDataService indexFieldDataService,
IndexService indexService,
ShardSuggestService shardSuggestService,
ShardQueryCache shardQueryCache,
ShardFixedBitSetFilterCache shardFixedBitSetFilterCache,
IndicesWarmer warmer,
SnapshotDeletionPolicy deletionPolicy,
AnalysisService analysisService,
SimilarityService similarityService,
MergePolicyProvider mergePolicyProvider,
EngineFactory factory,
ClusterService clusterService) |
ShadowIndexShard(ShardId shardId,
Settings indexSettings,
IndexSettingsService indexSettingsService,
IndicesLifecycle indicesLifecycle,
Store store,
MergeSchedulerProvider mergeScheduler,
Translog translog,
ThreadPool threadPool,
MapperService mapperService,
IndexQueryParserService queryParserService,
IndexCache indexCache,
IndexAliasesService indexAliasesService,
ShardIndexingService indexingService,
ShardGetService getService,
ShardSearchService searchService,
ShardIndexWarmerService shardWarmerService,
ShardFilterCache shardFilterCache,
ShardFieldData shardFieldData,
PercolatorQueriesRegistry percolatorQueriesRegistry,
ShardPercolateService shardPercolateService,
CodecService codecService,
ShardTermVectorService termVectorService,
IndexFieldDataService indexFieldDataService,
IndexService indexService,
ShardSuggestService shardSuggestService,
ShardQueryCache shardQueryCache,
ShardFixedBitSetFilterCache shardFixedBitSetFilterCache,
AnalysisService analysisService,
IndicesWarmer warmer,
SnapshotDeletionPolicy deletionPolicy,
SimilarityService similarityService,
MergePolicyProvider mergePolicyProvider,
EngineFactory factory,
ClusterService clusterService) |
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.
|
static Store.StoreDirectory |
DirectoryUtils.getStoreDirectory(org.apache.lucene.store.Directory dir)
Try and extract a store directory out of a directory, tries to take into
account the fact that a directory is a filter directory, and/or a compound dir.
|
Modifier and Type | Method and Description |
---|---|
CompletionStats |
NodeIndicesStats.getCompletion() |
DocsStats |
NodeIndicesStats.getDocs() |
FieldDataStats |
NodeIndicesStats.getFieldData() |
FilterCacheStats |
NodeIndicesStats.getFilterCache() |
FlushStats |
NodeIndicesStats.getFlush() |
GetStats |
NodeIndicesStats.getGet() |
IdCacheStats |
NodeIndicesStats.getIdCache() |
IndexingStats |
NodeIndicesStats.getIndexing() |
MergeStats |
NodeIndicesStats.getMerge() |
PercolateStats |
NodeIndicesStats.getPercolate() |
QueryCacheStats |
NodeIndicesStats.getQueryCache() |
RecoveryStats |
NodeIndicesStats.getRecoveryStats() |
RefreshStats |
NodeIndicesStats.getRefresh() |
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() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
IndicesTermsFilterCache.terms(TermsLookup lookup,
boolean cacheLookup,
CacheKeyFilter.Key cacheKey) |
Constructor and Description |
---|
TermsLookup(String index,
String type,
String id,
String routing,
String path,
QueryParseContext queryParseContext) |
Modifier and Type | Method and Description |
---|---|
String |
RecoveryFileChunkRequest.checksum() |
RecoveriesCollection.StatusRef |
RecoveriesCollection.findRecoveryByShard(IndexShard indexShard)
Try to find an ongoing recovery for a given shard.
|
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) |
Modifier and Type | Method and Description |
---|---|
ActionFuture<TransportNodesListShardStoreMetaData.NodesStoreFilesMetaData> |
TransportNodesListShardStoreMetaData.list(ShardId shardId,
boolean onlyUnallocated,
String[] nodesIds,
TimeValue timeout) |
Constructor and Description |
---|
Info(String path,
String mount,
String dev,
long total,
long free,
long available,
long diskReads,
long diskWrites,
long diskReadBytes,
long diskWriteBytes,
double diskQueue,
double diskServiceTime) |
Info(String path,
String mount,
String dev,
long total,
long free,
long available,
long diskReads,
long diskWrites,
long diskReadBytes,
long diskWriteBytes,
double diskQueue,
double diskServiceTime) |
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 |
RestChannel.newBuilder(BytesReference autoDetectSource) |
Modifier and Type | Method and Description |
---|---|
static boolean |
RestUtils.isBrowser(String userAgent) |
Modifier and Type | Method and Description |
---|---|
ExecutableScript |
ScriptEngineService.executable(Object compiledScript,
Map<String,Object> vars) |
ExecutableScript |
NativeScriptEngineService.executable(Object compiledScript,
Map<String,Object> vars) |
ExecutableScript |
NativeScriptFactory.newScript(Map<String,Object> params)
Creates a new instance of either a
ExecutableScript or a SearchScript . |
void |
ScriptEngineService.scriptRemoved(CompiledScript script)
Handler method called when a script is removed from the Guava cache.
|
SearchScript |
ScriptEngineService.search(Object compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
SearchScript |
NativeScriptEngineService.search(Object compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
SearchScript |
ScriptService.search(SearchLookup lookup,
String lang,
String script,
ScriptService.ScriptType scriptType,
Map<String,Object> vars)
Compiles (or retrieves from cache) and executes the provided search script
|
Modifier and Type | Method and Description |
---|---|
ExecutableScript |
ExpressionScriptEngineService.executable(Object compiledScript,
Map<String,Object> vars) |
SearchScript |
ExpressionScriptEngineService.search(Object compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
Modifier and Type | Method and Description |
---|---|
void |
GroovyScriptEngineService.scriptRemoved(CompiledScript script) |
SearchScript |
GroovyScriptEngineService.search(Object compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
Constructor and Description |
---|
GroovyScript(groovy.lang.Script script,
SearchLookup lookup,
ESLogger logger) |
Modifier and Type | Method and Description |
---|---|
ExecutableScript |
MustacheScriptEngineService.executable(Object mustache,
Map<String,Object> vars) |
SearchScript |
MustacheScriptEngineService.search(Object compiledScript,
SearchLookup lookup,
Map<String,Object> vars) |
Modifier and Type | Method and Description |
---|---|
String |
SearchShardTarget.getNodeId() |
String |
SearchShardTarget.nodeId() |
Modifier and Type | Field and Description |
---|---|
protected ValueFormatter |
InternalHistogram.Bucket.formatter |
Modifier and Type | Method and Description |
---|---|
protected B |
InternalHistogram.createBucket(long key,
long docCount,
InternalAggregations aggregations,
ValueFormatter formatter) |
Constructor and Description |
---|
Bucket(long key,
long docCount,
ValueFormatter formatter,
InternalAggregations aggregations) |
Modifier and Type | Method and Description |
---|---|
R |
InternalRange.Factory.create(String name,
List<B> ranges,
ValueFormatter formatter,
boolean keyed) |
B |
InternalRange.Factory.createBucket(String key,
double from,
double to,
long docCount,
InternalAggregations aggregations,
ValueFormatter formatter) |
protected String |
InternalRange.Bucket.generateKey(double from,
double to,
ValueFormatter formatter) |
Constructor and Description |
---|
Bucket(String key,
double from,
double to,
long docCount,
InternalAggregations aggregations,
ValueFormatter formatter) |
InternalRange(String name,
List<B> ranges,
ValueFormatter formatter,
boolean keyed) |
RangeAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
ValueFormat format,
InternalRange.Factory rangeFactory,
List<RangeAggregator.Range> ranges,
boolean keyed,
AggregationContext aggregationContext,
Aggregator parent) |
Constructor and Description |
---|
InternalGeoDistance(String name,
List<org.elasticsearch.search.aggregations.bucket.range.geodistance.InternalGeoDistance.Bucket> ranges,
ValueFormatter formatter,
boolean keyed) |
Constructor and Description |
---|
SignificantLongTerms(long subsetSize,
long supersetSize,
String name,
ValueFormatter formatter,
int requiredSize,
long minDocCount,
SignificanceHeuristic significanceHeuristic,
Collection<InternalSignificantTerms.Bucket> buckets) |
SignificantLongTermsAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
ValueFormat format,
long estimatedBucketCount,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
AggregationContext aggregationContext,
Aggregator parent,
SignificantTermsAggregatorFactory termsAggFactory,
IncludeExclude.LongFilter includeExclude) |
Modifier and Type | Field and Description |
---|---|
protected ValueFormatter |
LongTermsAggregator.formatter |
Constructor and Description |
---|
DoubleTerms(String name,
Terms.Order order,
ValueFormatter formatter,
int requiredSize,
int shardSize,
long minDocCount,
List<InternalTerms.Bucket> buckets,
boolean showTermDocCountError,
long docCountError,
long otherDocCount) |
DoubleTermsAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
ValueFormat format,
long estimatedBucketCount,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
AggregationContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode collectionMode,
boolean showTermDocCountError,
IncludeExclude.LongFilter longFilter) |
LongTerms(String name,
Terms.Order order,
ValueFormatter formatter,
int requiredSize,
int shardSize,
long minDocCount,
List<InternalTerms.Bucket> buckets,
boolean showTermDocCountError,
long docCountError,
long otherDocCount) |
LongTermsAggregator(String name,
AggregatorFactories factories,
ValuesSource.Numeric valuesSource,
ValueFormat format,
long estimatedBucketCount,
Terms.Order order,
TermsAggregator.BucketCountThresholds bucketCountThresholds,
AggregationContext aggregationContext,
Aggregator parent,
Aggregator.SubAggCollectionMode subAggCollectMode,
boolean showTermDocCountError,
IncludeExclude.LongFilter longFilter) |
Constructor and Description |
---|
CardinalityAggregator(String name,
long estimatedBucketsCount,
ValuesSource valuesSource,
boolean rehash,
int precision,
ValueFormatter formatter,
AggregationContext context,
Aggregator parent) |
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 |
---|---|
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.
|
SearchSourceBuilder |
SearchSourceBuilder.partialField(String name,
String[] includes,
String[] excludes)
Deprecated.
since 1.0.0
use
SearchSourceBuilder.fetchSource(String[], String[]) instead |
SearchSourceBuilder |
SearchSourceBuilder.partialField(String name,
String[] includes,
String[] excludes)
Deprecated.
since 1.0.0
use
SearchSourceBuilder.fetchSource(String[], String[]) instead |
SearchSourceBuilder |
SearchSourceBuilder.partialField(String name,
String include,
String exclude)
Deprecated.
since 1.0.0
use
SearchSourceBuilder.fetchSource(String, String) instead |
SearchSourceBuilder |
SearchSourceBuilder.partialField(String name,
String include,
String exclude)
Deprecated.
since 1.0.0
use
SearchSourceBuilder.fetchSource(String, String) instead |
Constructor and Description |
---|
Entry(String facetName,
FacetExecutor.Mode mode,
FacetExecutor facetExecutor,
boolean global,
org.apache.lucene.search.Filter filter) |
Modifier and Type | Method and Description |
---|---|
abstract List<String> |
SearchContext.groupStats() |
List<String> |
DefaultSearchContext.groupStats() |
Constructor and Description |
---|
SearchLookup(MapperService mapperService,
IndexFieldDataService fieldDataService,
String[] types) |
Constructor and Description |
---|
CompletionStats(long size,
com.carrotsearch.hppc.ObjectLongOpenHashMap<String> fields) |
Modifier and Type | Method and Description |
---|---|
Boolean |
IndexWarmersMetaData.Entry.queryCache() |
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 |
---|
Info(String name,
String type,
int min,
int max,
TimeValue keepAlive,
SizeValue queueSize) |
Info(String name,
String type,
int min,
int max,
TimeValue keepAlive,
SizeValue queueSize) |
ThreadPool(Settings settings,
NodeSettingsService nodeSettingsService) |
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–2015. All rights reserved.