Constructor and Description |
---|
PKIndexSplitter(Directory input,
Directory dir1,
Directory dir2,
Filter docsInFirstIndex,
IndexWriterConfig config1,
IndexWriterConfig config2) |
PKIndexSplitter(Directory input,
Directory dir1,
Directory dir2,
Term midTerm,
IndexWriterConfig config1,
IndexWriterConfig config2) |
PKIndexSplitter(Version version,
Directory input,
Directory dir1,
Directory dir2,
Filter docsInFirstIndex)
Split an index based on a
Filter . |
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.
|
public PKIndexSplitter(Version version, Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex)
Filter
. All documents that match the filter
are sent to dir1, remaining ones to dir2.public PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex, IndexWriterConfig config1, IndexWriterConfig config2)
public PKIndexSplitter(Version version, Directory input, Directory dir1, Directory dir2, Term midTerm)
public PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Term midTerm, IndexWriterConfig config1, IndexWriterConfig config2)
public void split() throws IOException
IOException
Copyright © 2010 - 2020 Adobe. All Rights Reserved