Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
IndexWriter
An
IndexWriter creates and maintains an index. |
Modifier and Type | Class and Description |
---|---|
static class |
TwoPhaseCommitTool.TwoPhaseCommitWrapper
A wrapper of a
TwoPhaseCommit , which delegates all calls to the
wrapped object, passing the specified commitData. |
Modifier and Type | Method and Description |
---|---|
static void |
TwoPhaseCommitTool.execute(TwoPhaseCommit... objects)
Executes a 2-phase commit algorithm by first
prepareCommit() all objects and only if all succeed,
it proceeds with commit() . |
Constructor and Description |
---|
TwoPhaseCommitTool.CommitFailException(Throwable cause,
TwoPhaseCommit obj) |
TwoPhaseCommitTool.PrepareCommitFailException(Throwable cause,
TwoPhaseCommit obj) |
TwoPhaseCommitTool.TwoPhaseCommitWrapper(TwoPhaseCommit tpc,
Map<String,String> commitData) |