Package org.apache.lucene.index
Class PKIndexSplitter
- java.lang.Object
-
- org.apache.lucene.index.PKIndexSplitter
-
public class PKIndexSplitter extends java.lang.Object
Split an index based on aFilter
.
-
-
Constructor Summary
Constructors Constructor Description PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Term midTerm, IndexWriterConfig config1, IndexWriterConfig config2)
PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex, IndexWriterConfig config1, IndexWriterConfig config2)
PKIndexSplitter(Version version, Directory input, Directory dir1, Directory dir2, Term midTerm)
Split an index based on a given primary key term and a 'middle' term.PKIndexSplitter(Version version, Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex)
Split an index based on aFilter
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
split()
-
-
-
Constructor Detail
-
PKIndexSplitter
public PKIndexSplitter(Version version, Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex)
Split an index based on aFilter
. All documents that match the filter are sent to dir1, remaining ones to dir2.
-
PKIndexSplitter
public PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex, IndexWriterConfig config1, IndexWriterConfig config2)
-
PKIndexSplitter
public PKIndexSplitter(Version version, Directory input, Directory dir1, Directory dir2, Term midTerm)
Split an index based on a given primary key term and a 'middle' term. If the middle term is present, it's sent to dir2.
-
PKIndexSplitter
public PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Term midTerm, IndexWriterConfig config1, IndexWriterConfig config2)
-
-