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 |
LogMergePolicy.findForcedDeletesMerges(SegmentInfos segmentInfos,
IndexWriter writer)
Finds merges necessary to force-merge all deletes from the
index.
|
MergePolicy.MergeSpecification |
NoMergePolicy.findForcedDeletesMerges(SegmentInfos segmentInfos,
IndexWriter writer) |
abstract MergePolicy.MergeSpecification |
MergePolicy.findForcedDeletesMerges(SegmentInfos segmentInfos,
IndexWriter writer)
Determine what set of merge operations is necessary in order to expunge all
deletes from the index.
|
MergePolicy.MergeSpecification |
UpgradeIndexMergePolicy.findForcedDeletesMerges(SegmentInfos segmentInfos,
IndexWriter writer) |
MergePolicy.MergeSpecification |
TieredMergePolicy.findForcedDeletesMerges(SegmentInfos infos,
IndexWriter writer) |
MergePolicy.MergeSpecification |
LogMergePolicy.findForcedMerges(SegmentInfos infos,
int maxNumSegments,
Map<SegmentCommitInfo,Boolean> segmentsToMerge,
IndexWriter writer)
Returns the merges necessary to merge the index down
to a specified number of segments.
|
MergePolicy.MergeSpecification |
NoMergePolicy.findForcedMerges(SegmentInfos segmentInfos,
int maxSegmentCount,
Map<SegmentCommitInfo,Boolean> segmentsToMerge,
IndexWriter writer) |
abstract MergePolicy.MergeSpecification |
MergePolicy.findForcedMerges(SegmentInfos segmentInfos,
int maxSegmentCount,
Map<SegmentCommitInfo,Boolean> segmentsToMerge,
IndexWriter writer)
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<SegmentCommitInfo,Boolean> segmentsToMerge,
IndexWriter writer) |
MergePolicy.MergeSpecification |
TieredMergePolicy.findForcedMerges(SegmentInfos infos,
int maxSegmentCount,
Map<SegmentCommitInfo,Boolean> segmentsToMerge,
IndexWriter writer) |
MergePolicy.MergeSpecification |
LogMergePolicy.findMerges(MergeTrigger mergeTrigger,
SegmentInfos infos,
IndexWriter writer)
Checks if any merges are now necessary and returns a
MergePolicy.MergeSpecification if so. |
MergePolicy.MergeSpecification |
NoMergePolicy.findMerges(MergeTrigger mergeTrigger,
SegmentInfos segmentInfos,
IndexWriter writer) |
abstract MergePolicy.MergeSpecification |
MergePolicy.findMerges(MergeTrigger mergeTrigger,
SegmentInfos segmentInfos,
IndexWriter writer)
Determine what set of merge operations are now necessary on the index.
|
MergePolicy.MergeSpecification |
UpgradeIndexMergePolicy.findMerges(MergeTrigger mergeTrigger,
SegmentInfos segmentInfos,
IndexWriter writer) |
MergePolicy.MergeSpecification |
TieredMergePolicy.findMerges(MergeTrigger mergeTrigger,
SegmentInfos infos,
IndexWriter writer) |
protected boolean |
LogMergePolicy.isMerged(SegmentInfos infos,
int maxNumSegments,
Map<SegmentCommitInfo,Boolean> segmentsToMerge,
IndexWriter writer)
Returns true if the number of segments eligible for
merging is less than or equal to the specified
maxNumSegments . |
protected boolean |
MergePolicy.isMerged(SegmentInfos infos,
SegmentCommitInfo info,
IndexWriter writer)
Returns true if this single info is already fully merged (has no
pending deletes, is in the same dir as the
writer, and matches the current compound file setting
|
boolean |
NoMergePolicy.useCompoundFile(SegmentInfos segments,
SegmentCommitInfo newSegment,
IndexWriter writer) |
boolean |
MergePolicy.useCompoundFile(SegmentInfos infos,
SegmentCommitInfo mergedInfo,
IndexWriter writer)
Returns true if a new segment (regardless of its origin) should use the
compound file format.
|
boolean |
UpgradeIndexMergePolicy.useCompoundFile(SegmentInfos segments,
SegmentCommitInfo newSegment,
IndexWriter writer) |
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.