public interface LuceneIndex
Modifier and Type | Method and Description |
---|---|
void |
refreshSearcher()
Refresh the underlying shared searcher instance that backs the
search(IndexSearcherCallback) . |
<T> T |
search(IndexSearcherCallback<T> callback)
Searches lucene index.
|
<T> T |
write(IndexWriterCallback<T> callback)
Writes to the lucene index.
|
<T> T search(IndexSearcherCallback<T> callback)
T
- the generic type of the return objectcallback
- the callback<T> T write(IndexWriterCallback<T> callback)
T
- the generic type of the return objectcallback
- the callbackvoid refreshSearcher()
search(IndexSearcherCallback)
.Copyright © 2003–2019 Atlassian. All rights reserved.