public interface Index
| Modifier and Type | Method and Description |
|---|---|
void |
beginBatch()
Lets the index know that submissions are coming.
|
void |
clearIndex() |
void |
endBatch()
Lets the index know it may close any writers ( if applicable ), and may perform optimisations and bring the index back online
|
IndexMetrics |
fetchMetrics() |
SearchResult |
search(SearchQuery query) |
SearchResult |
search(String s,
int max) |
void |
submitBatchEntry(IndexEntry entry)
Submit an item to the index, within begin and end update
|
void |
submitSingleEntry(IndexEntry entry)
Submit a single new item the index - outside batchUpdates
|
void submitSingleEntry(IndexEntry entry)
entry - void submitBatchEntry(IndexEntry entry)
entry - void beginBatch()
void endBatch()
SearchResult search(String s, int max)
SearchResult search(SearchQuery query)
IndexMetrics fetchMetrics()
void clearIndex()
Copyright © 2017. All rights reserved.