Package | Description |
---|---|
com.atlassian.jira.index |
Modifier and Type | Method and Description |
---|---|
static Index.Operation |
Operations.newCompletionDelegate(Index.Operation operation,
Runnable completionJob)
Create an operation that delegates to another Operation and then runs the supplied
completionJob as soon as the operation is performed (in whatever thread the operation
is performed in).
|
static Index.Operation |
Operations.newConditionalUpdate(org.apache.lucene.index.Term term,
org.apache.lucene.document.Document document,
Index.UpdateMode mode,
String optimisticLockField) |
static Index.Operation |
Operations.newCreate(Collection<org.apache.lucene.document.Document> documents,
Index.UpdateMode mode) |
static Index.Operation |
Operations.newCreate(org.apache.lucene.document.Document document,
Index.UpdateMode mode) |
static Index.Operation |
Operations.newDelete(org.apache.lucene.index.Term term,
Index.UpdateMode mode) |
static Index.Operation |
Operations.newOptimize() |
static Index.Operation |
Operations.newUpdate(org.apache.lucene.index.Term term,
Collection<org.apache.lucene.document.Document> documents,
Index.UpdateMode mode) |
static Index.Operation |
Operations.newUpdate(org.apache.lucene.index.Term term,
org.apache.lucene.document.Document document,
Index.UpdateMode mode) |
Modifier and Type | Method and Description |
---|---|
static Index.Operation |
Operations.newCompletionDelegate(Index.Operation operation,
Runnable completionJob)
Create an operation that delegates to another Operation and then runs the supplied
completionJob as soon as the operation is performed (in whatever thread the operation
is performed in).
|
Index.Result |
Index.perform(Index.Operation operation)
Perform an
Index.Operation on the index. |
Index.Result |
DefaultIndex.perform(Index.Operation operation) |
void |
DefaultIndexEngine.write(Index.Operation operation) |
Copyright © 2002-2017 Atlassian. All Rights Reserved.