|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.lucene.index.PKIndexSplitter
public class PKIndexSplitter
Split an index based on a Filter
.
Constructor Summary | |
---|---|
PKIndexSplitter(Directory input,
Directory dir1,
Directory dir2,
Filter docsInFirstIndex)
Deprecated. use PKIndexSplitter(Version, Directory, Directory, Directory, Filter) instead.
This constructor will be removed in Lucene 4.0. |
|
PKIndexSplitter(Directory input,
Directory dir1,
Directory dir2,
Filter docsInFirstIndex,
IndexWriterConfig config1,
IndexWriterConfig config2)
|
|
PKIndexSplitter(Directory input,
Directory dir1,
Directory dir2,
Term midTerm)
Deprecated. use PKIndexSplitter(Version, Directory, Directory, Directory, Term)
instead. This constructor will be removed in Lucene 4.0. |
|
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. |
Method Summary | |
---|---|
void |
split()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@Deprecated public PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Filter docsInFirstIndex)
PKIndexSplitter(Version, Directory, Directory, Directory, Filter)
instead.
This constructor will be removed in Lucene 4.0.
Filter
. All documents that match the filter
are sent to dir1, remaining ones to dir2.
@Deprecated public PKIndexSplitter(Directory input, Directory dir1, Directory dir2, Term midTerm)
PKIndexSplitter(Version, Directory, Directory, Directory, Term)
instead. This constructor will be removed in Lucene 4.0.
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)
Method Detail |
---|
public void split() throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |