|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Engine
Nested Class Summary | |
---|---|
static class |
Engine.Create
|
static class |
Engine.Delete
|
static class |
Engine.DeleteByQuery
|
static interface |
Engine.FailedEngineListener
|
static class |
Engine.Flush
|
static class |
Engine.Get
|
static class |
Engine.GetResult
|
static class |
Engine.Index
|
static interface |
Engine.IndexingOperation
|
static interface |
Engine.Operation
|
static class |
Engine.Optimize
|
static interface |
Engine.RecoveryHandler
Recovery allow to start the recovery process. |
static class |
Engine.Refresh
|
static interface |
Engine.Searcher
|
static class |
Engine.SimpleSearcher
|
static interface |
Engine.SnapshotHandler<T>
|
Field Summary | |
---|---|
static ByteSizeValue |
INACTIVE_SHARD_INDEXING_BUFFER
|
Method Summary | ||
---|---|---|
void |
addFailedEngineListener(Engine.FailedEngineListener listener)
|
|
void |
create(Engine.Create create)
|
|
TimeValue |
defaultRefreshInterval()
The default suggested refresh interval, -1 to disable it. |
|
void |
delete(Engine.Delete delete)
|
|
void |
delete(Engine.DeleteByQuery delete)
|
|
void |
enableGcDeletes(boolean enableGcDeletes)
|
|
void |
flush(Engine.Flush flush)
Flushes the state of the engine, clearing memory. |
|
Engine.GetResult |
get(Engine.Get get)
|
|
void |
index(Engine.Index index)
|
|
void |
maybeMerge()
|
|
void |
optimize(Engine.Optimize optimize)
|
|
boolean |
possibleMergeNeeded()
Returns true if a possible merge is really needed. |
|
void |
recover(Engine.RecoveryHandler recoveryHandler)
|
|
void |
refresh(Engine.Refresh refresh)
Refreshes the engine for new search operations to reflect the latest changes. |
|
boolean |
refreshNeeded()
Returns true if a refresh is really needed. |
|
Engine.Searcher |
searcher()
|
|
List<Segment> |
segments()
|
|
|
snapshot(Engine.SnapshotHandler<T> snapshotHandler)
|
|
void |
start()
Starts the Engine. |
|
void |
updateIndexingBufferSize(ByteSizeValue indexingBufferSize)
|
Methods inherited from interface org.elasticsearch.index.shard.IndexShardComponent |
---|
indexSettings, shardId |
Methods inherited from interface org.elasticsearch.common.component.CloseableComponent |
---|
close |
Field Detail |
---|
static final ByteSizeValue INACTIVE_SHARD_INDEXING_BUFFER
Method Detail |
---|
TimeValue defaultRefreshInterval()
void enableGcDeletes(boolean enableGcDeletes)
void updateIndexingBufferSize(ByteSizeValue indexingBufferSize)
void addFailedEngineListener(Engine.FailedEngineListener listener)
void start() throws EngineException
Note, after the creation and before the call to start, the store might be changed.
EngineException
void create(Engine.Create create) throws EngineException
EngineException
void index(Engine.Index index) throws EngineException
EngineException
void delete(Engine.Delete delete) throws EngineException
EngineException
void delete(Engine.DeleteByQuery delete) throws EngineException
EngineException
Engine.GetResult get(Engine.Get get) throws EngineException
EngineException
Engine.Searcher searcher() throws EngineException
EngineException
List<Segment> segments()
boolean refreshNeeded()
boolean possibleMergeNeeded()
void maybeMerge() throws EngineException
EngineException
void refresh(Engine.Refresh refresh) throws EngineException
EngineException
void flush(Engine.Flush flush) throws EngineException, FlushNotAllowedEngineException
EngineException
FlushNotAllowedEngineException
void optimize(Engine.Optimize optimize) throws EngineException
EngineException
<T> T snapshot(Engine.SnapshotHandler<T> snapshotHandler) throws EngineException
EngineException
void recover(Engine.RecoveryHandler recoveryHandler) throws EngineException
EngineException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |