Package | Description |
---|---|
com.atlassian.bamboo.index |
Modifier and Type | Field and Description |
---|---|
protected IndexerContext |
AbstractIndexer.IndexAllCallable.indexerContext |
Modifier and Type | Method and Description |
---|---|
IndexerContext |
IndexerContextBuilder.build() |
IndexerContext |
IndexerServiceImpl.createNewIndexerContext(com.atlassian.bonnie.ILuceneConnection connection) |
IndexerContext |
IndexerService.createNewIndexerContext(com.atlassian.bonnie.ILuceneConnection connection)
Create new default indexer context.
|
protected IndexerContext |
AbstractIndexer.getDefaultIndexerContext() |
protected IndexerContext |
AbstractIndexer.lockIndexerQueue() |
IndexerContext |
IndexerServiceImpl.lockIndexerQueue(com.atlassian.bonnie.ILuceneConnection connection) |
IndexerContext |
IndexerService.lockIndexerQueue(com.atlassian.bonnie.ILuceneConnection connection)
Lock indexer and return a context that will allow executing operations while indexer is locked.
|
Modifier and Type | Method and Description |
---|---|
com.google.common.util.concurrent.ListenableFuture |
IndexerServiceImpl.addDocument(IndexerContext indexerContext,
org.apache.lucene.document.Document document) |
com.google.common.util.concurrent.ListenableFuture |
IndexerService.addDocument(IndexerContext indexerContext,
org.apache.lucene.document.Document document)
Submit add document request
|
com.google.common.util.concurrent.ListenableFuture |
IndexerServiceImpl.addDocuments(IndexerContext indexerContext,
Iterable<org.apache.lucene.document.Document> documents) |
com.google.common.util.concurrent.ListenableFuture |
IndexerService.addDocuments(IndexerContext indexerContext,
Iterable<org.apache.lucene.document.Document> documents)
Submit add documents request
|
com.google.common.util.concurrent.ListenableFuture |
IndexerServiceImpl.batchUpdate(IndexerContext indexerContext,
IndexerTask task) |
com.google.common.util.concurrent.ListenableFuture |
IndexerService.batchUpdate(IndexerContext indexerContext,
IndexerTask task)
Submit batch update request
|
com.google.common.util.concurrent.ListenableFuture |
IndexerServiceImpl.deleteDocuments(IndexerContext indexerContext,
org.apache.lucene.index.Term term) |
com.google.common.util.concurrent.ListenableFuture |
IndexerService.deleteDocuments(IndexerContext indexerContext,
org.apache.lucene.index.Term term)
Submit delete documents request
|
void |
IndexerServiceImpl.flushAndUnlockIndexerQueue(IndexerContext indexerContext) |
void |
IndexerService.flushAndUnlockIndexerQueue(IndexerContext indexerContext)
Unlock indexer and submit for execution all operations that were queued while index was locked
|
protected void |
AbstractIndexer.flushAndUnlockIndexerQueue(IndexerContext indexerContext) |
<T> List<T> |
IndexerServiceImpl.getMatchingDocuments(IndexerContext indexerContext,
IndexSearcherTask<T> innerTask) |
<T> List<T> |
IndexerService.getMatchingDocuments(IndexerContext indexerContext,
IndexSearcherTask<T> task)
Submit a custom search task for execution
|
List<org.apache.lucene.document.Document> |
IndexerServiceImpl.getMatchingDocuments(IndexerContext indexerContext,
org.apache.lucene.search.Query query) |
List<org.apache.lucene.document.Document> |
IndexerService.getMatchingDocuments(IndexerContext indexerContext,
org.apache.lucene.search.Query query)
Submit a document search query
|
com.google.common.util.concurrent.ListenableFuture |
IndexerServiceImpl.recreateIndexDirectory(IndexerContext indexerContext) |
com.google.common.util.concurrent.ListenableFuture |
IndexerService.recreateIndexDirectory(IndexerContext indexerContext)
Submit recreate index directory request
|
com.google.common.util.concurrent.ListenableFuture |
IndexerServiceImpl.updateDocument(IndexerContext indexerContext,
org.apache.lucene.index.Term term,
org.apache.lucene.document.Document document) |
com.google.common.util.concurrent.ListenableFuture |
IndexerService.updateDocument(IndexerContext indexerContext,
org.apache.lucene.index.Term term,
org.apache.lucene.document.Document document)
Submit update document request
|
Constructor and Description |
---|
FlushAndUnlockIndexerQueueCallback(int tasksToProcess,
IndexerContext indexerContext) |
IndexAllCallable(IndexerContext indexerContext) |
Copyright © 2020 Atlassian Software Systems Pty Ltd. All rights reserved.