Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Class | Description |
---|---|---|
class |
IndexWriter |
An
IndexWriter creates and maintains an index. |
Modifier and Type | Class | 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 | 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 | Description |
---|---|
CommitFailException(Throwable cause,
TwoPhaseCommit obj) |
|
PrepareCommitFailException(Throwable cause,
TwoPhaseCommit obj) |
|
TwoPhaseCommitWrapper(TwoPhaseCommit tpc,
Map<String,String> commitData) |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.