Constructor PKIndexSplitter
PKIndexSplitter(LuceneVersion, Directory, Directory, Directory, Filter)
Split an index based on a Filter. All documents that match the filter
are sent to dir1, remaining ones to dir2.
Declaration
public PKIndexSplitter(LuceneVersion version, Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex)
Parameters
PKIndexSplitter(Directory, Directory, Directory, Filter, IndexWriterConfig, IndexWriterConfig)
Declaration
public PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex, IndexWriterConfig config1, IndexWriterConfig config2)
Parameters
PKIndexSplitter(LuceneVersion, Directory, Directory, Directory, Term)
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.
Declaration
public PKIndexSplitter(LuceneVersion version, Directory input, Directory dir1, Directory dir2, Term midTerm)
Parameters
PKIndexSplitter(Directory, Directory, Directory, Term, IndexWriterConfig, IndexWriterConfig)
Declaration
public PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Term midTerm, IndexWriterConfig config1, IndexWriterConfig config2)
Parameters