Package | Description |
---|---|
org.apache.lucene.codecs.lucene3x |
Codec to support Lucene 3.x indexes (readonly)
|
org.apache.lucene.index |
Code to maintain and access indices.
|
Modifier and Type | Method and Description |
---|---|
static void |
Lucene3xSegmentInfoReader.readLegacyInfos(SegmentInfos infos,
Directory directory,
IndexInput input,
int format)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SegmentInfos |
SegmentInfos.clone()
Returns a copy of this instance, also copying each
SegmentInfo.
|
Modifier and Type | Method and Description |
---|---|
MergePolicy.MergeSpecification |
TieredMergePolicy.findForcedDeletesMerges(SegmentInfos infos) |
MergePolicy.MergeSpecification |
LogMergePolicy.findForcedDeletesMerges(SegmentInfos segmentInfos)
Finds merges necessary to force-merge all deletes from the
index.
|
abstract MergePolicy.MergeSpecification |
MergePolicy.findForcedDeletesMerges(SegmentInfos segmentInfos)
Determine what set of merge operations is necessary in order to expunge all
deletes from the index.
|
MergePolicy.MergeSpecification |
UpgradeIndexMergePolicy.findForcedDeletesMerges(SegmentInfos segmentInfos) |
MergePolicy.MergeSpecification |
NoMergePolicy.findForcedDeletesMerges(SegmentInfos segmentInfos) |
MergePolicy.MergeSpecification |
TieredMergePolicy.findForcedMerges(SegmentInfos infos,
int maxSegmentCount,
Map<SegmentInfoPerCommit,Boolean> segmentsToMerge) |
MergePolicy.MergeSpecification |
LogMergePolicy.findForcedMerges(SegmentInfos infos,
int maxNumSegments,
Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)
Returns the merges necessary to merge the index down
to a specified number of segments.
|
abstract MergePolicy.MergeSpecification |
MergePolicy.findForcedMerges(SegmentInfos segmentInfos,
int maxSegmentCount,
Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)
Determine what set of merge operations is necessary in
order to merge to <= the specified segment count.
|
MergePolicy.MergeSpecification |
UpgradeIndexMergePolicy.findForcedMerges(SegmentInfos segmentInfos,
int maxSegmentCount,
Map<SegmentInfoPerCommit,Boolean> segmentsToMerge) |
MergePolicy.MergeSpecification |
NoMergePolicy.findForcedMerges(SegmentInfos segmentInfos,
int maxSegmentCount,
Map<SegmentInfoPerCommit,Boolean> segmentsToMerge) |
MergePolicy.MergeSpecification |
TieredMergePolicy.findMerges(MergePolicy.MergeTrigger mergeTrigger,
SegmentInfos infos) |
MergePolicy.MergeSpecification |
LogMergePolicy.findMerges(MergePolicy.MergeTrigger mergeTrigger,
SegmentInfos infos)
Checks if any merges are now necessary and returns a
MergePolicy.MergeSpecification if so. |
abstract MergePolicy.MergeSpecification |
MergePolicy.findMerges(MergePolicy.MergeTrigger mergeTrigger,
SegmentInfos segmentInfos)
Determine what set of merge operations are now necessary on the index.
|
MergePolicy.MergeSpecification |
UpgradeIndexMergePolicy.findMerges(MergePolicy.MergeTrigger mergeTrigger,
SegmentInfos segmentInfos) |
MergePolicy.MergeSpecification |
NoMergePolicy.findMerges(MergePolicy.MergeTrigger mergeTrigger,
SegmentInfos segmentInfos) |
protected boolean |
LogMergePolicy.isMerged(SegmentInfos infos,
int maxNumSegments,
Map<SegmentInfoPerCommit,Boolean> segmentsToMerge)
Returns true if the number of segments eligible for
merging is less than or equal to the specified
maxNumSegments . |
boolean |
TieredMergePolicy.useCompoundFile(SegmentInfos infos,
SegmentInfoPerCommit mergedInfo) |
boolean |
LogMergePolicy.useCompoundFile(SegmentInfos infos,
SegmentInfoPerCommit mergedInfo) |
abstract boolean |
MergePolicy.useCompoundFile(SegmentInfos segments,
SegmentInfoPerCommit newSegment)
Returns true if a new segment (regardless of its origin) should use the compound file format.
|
boolean |
UpgradeIndexMergePolicy.useCompoundFile(SegmentInfos segments,
SegmentInfoPerCommit newSegment) |
boolean |
NoMergePolicy.useCompoundFile(SegmentInfos segments,
SegmentInfoPerCommit newSegment) |
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.