Package | Description |
---|---|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Class and Description |
---|---|
class |
LogByteSizeMergePolicy
This is a
LogMergePolicy that measures size of a
segment as the total byte size of the segment's files. |
class |
LogDocMergePolicy
This is a
LogMergePolicy that measures size of a
segment as the number of documents (not taking deletions
into account). |
class |
LogMergePolicy
This class implements a
MergePolicy that tries
to merge segments into levels of exponentially
increasing size, where each level has fewer segments than
the value of the merge factor. |
Modifier and Type | Method and Description |
---|---|
MergePolicy |
IndexWriter.getMergePolicy()
Expert: returns the current MergePolicy in use by this writer.
|
Modifier and Type | Method and Description |
---|---|
void |
IndexWriter.setMergePolicy(MergePolicy mp)
Expert: set the merge policy used by this writer.
|
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.