Uses of Interface
org.apache.lucene.index.TwoPhaseCommit
Packages that use TwoPhaseCommit
Package
Description
Taxonomy of Categories.
Taxonomy index implementation using on top of a Directory.
Code to maintain and access indices.
-
Uses of TwoPhaseCommit in org.apache.lucene.facet.taxonomy
Subinterfaces of TwoPhaseCommit in org.apache.lucene.facet.taxonomyModifier and TypeInterfaceDescriptioninterfaceTaxonomyWriter is the interface which the faceted-search library uses to dynamically build the taxonomy at indexing time. -
Uses of TwoPhaseCommit in org.apache.lucene.facet.taxonomy.directory
Classes in org.apache.lucene.facet.taxonomy.directory that implement TwoPhaseCommitModifier and TypeClassDescriptionclassTaxonomyWriterwhich uses aDirectoryto store the taxonomy information on disk, and keeps an additional in-memory cache of some or all categories.classUse thisTaxonomyWriterto append arbitrary fields to the ordinal documents in the taxonomy. -
Uses of TwoPhaseCommit in org.apache.lucene.index
Classes in org.apache.lucene.index that implement TwoPhaseCommitModifier and TypeClassDescriptionclassAnIndexWritercreates and maintains an index.Methods in org.apache.lucene.index with parameters of type TwoPhaseCommitModifier and TypeMethodDescriptionstatic voidTwoPhaseCommitTool.execute(TwoPhaseCommit... objects) Executes a 2-phase commit algorithm by firstprepareCommit()all objects and only if all succeed, it proceeds withcommit().private static voidTwoPhaseCommitTool.rollback(TwoPhaseCommit... objects) rollback all objects, discarding any exceptions that occur.Constructors in org.apache.lucene.index with parameters of type TwoPhaseCommitModifierConstructorDescriptionCommitFailException(Throwable cause, TwoPhaseCommit obj) Sole constructor.PrepareCommitFailException(Throwable cause, TwoPhaseCommit obj) Sole constructor.