org.apache.lucene.index |
|
Java Source File Name | Type | Comment |
CheckIndex.java | Class | Basic tool to check the health of an index and write a
new segments file that removes reference to problematic
segments. |
CompoundFileReader.java | Class | Class for accessing a compound stream. |
CompoundFileWriter.java | Class | Combines multiple files into a single compound file.
The file format:
- VInt fileCount
- {Directory}
fileCount entries with the following structure:
- long dataOffset
- String fileName
- {File Data}
fileCount entries with the raw data of the corresponding file
The fileCount integer indicates how many files are contained in this compound
file. |
ConcurrentMergeScheduler.java | Class | A
MergeScheduler that runs each merge using a
separate thread, up until a maximum number of threads
(
ConcurrentMergeScheduler.setMaxThreadCount ) at which points merges are
run in the foreground, serially. |
CorruptIndexException.java | Class | This exception is thrown when Lucene detects
an inconsistency in the index. |
DefaultSkipListReader.java | Class | Implements the skip list reader for the default posting list format
that stores positions and payloads. |
DefaultSkipListWriter.java | Class | Implements the skip list writer for the default posting list format
that stores positions and payloads. |
DirectoryIndexReader.java | Class | IndexReader implementation that has access to a Directory. |
DocHelper.java | Class | |
DocumentsWriter.java | Class | This class accepts multiple added documents and directly
writes a single segment file. |
FieldInfo.java | Class | Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. |
FieldInfos.java | Class | Access to the Fieldable Info file that describes document fields and whether or
not they are indexed. |
FieldNormModifier.java | Class | Given a directory and a list of fields, updates the fieldNorms in place for every document. |
FieldReaderException.java | Class | |
FieldSortedTermVectorMapper.java | Class | For each Field, store a sorted collection of
TermVectorEntry s
This is not thread-safe. |
FieldsReader.java | Class | Class responsible for access to stored document fields. |
FieldsWriter.java | Class | |
FilterIndexReader.java | Class | A FilterIndexReader contains another IndexReader, which it
uses as its basic source of data, possibly transforming the data along the
way or providing additional functionality. |
GCJSegmentReader.java | Class | |
GCJTermDocs.java | Class | |
IndexCommitPoint.java | Interface | |
IndexDeletionPolicy.java | Interface | Expert: policy for deletion of stale
IndexCommitPoint index commits . |
IndexFileDeleter.java | Class | |
IndexFileNameFilter.java | Class | Filename filter that accept filenames and extensions only created by Lucene. |
IndexFileNames.java | Class | |
IndexModifier.java | Class | [Note that as of 2.1, all but one of the
methods in this class are available via
IndexWriter . |
IndexReader.java | Class | IndexReader is an abstract class, providing an interface for accessing an
index. |
IndexWriter.java | Class | An IndexWriter creates and maintains an index.
The create argument to the
constructor
determines whether a new index is created, or whether an existing index is
opened. |
KeepOnlyLastCommitDeletionPolicy.java | Class | This
IndexDeletionPolicy implementation that
keeps only the most recent commit and immediately removes
all prior commits after a new commit is done. |
LogByteSizeMergePolicy.java | Class | This is a
LogMergePolicy that measures size of a
segment as the total byte size of the segment's files. |
LogDocMergePolicy.java | Class | This is a
LogMergePolicy that measures size of a
segment as the number of documents (not taking deletions
into account). |
LogMergePolicy.java | Class | This class implements a
MergePolicy that tries
to merge segments into levels of exponentially
increasing size, where each level has < mergeFactor
segments in it. |
MergePolicy.java | Class | Expert: a MergePolicy determines the sequence of
primitive merge operations to be used for overall merge
and optimize operations.
Whenever the segments in an index have been altered by
IndexWriter , either the addition of a newly
flushed segment, addition of many segments from
addIndexes* calls, or a previous merge that may now need
to cascade,
IndexWriter invokes
MergePolicy.findMerges to give the MergePolicy a chance to pick
merges that are now required. |
MergeScheduler.java | Class | Expert:
IndexWriter uses an instance
implementing this interface to execute the merges
selected by a
MergePolicy . |
MockIndexInput.java | Class | |
MultiLevelSkipListReader.java | Class | This abstract class reads skip lists with multiple levels.
See
MultiLevelSkipListWriter for the information about the encoding
of the multi level skip lists. |
MultiLevelSkipListWriter.java | Class | This abstract class writes skip lists with multiple levels. |
MultipleTermPositions.java | Class | Describe class MultipleTermPositions here. |
MultiReader.java | Class | An IndexReader which reads multiple indexes, appending their content. |
MultiSegmentReader.java | Class | An IndexReader which reads indexes with multiple segments. |
ParallelReader.java | Class | An IndexReader which reads multiple, parallel indexes. |
Payload.java | Class | A Payload is metadata that can be stored together with each occurrence
of a term. |
PositionBasedTermVectorMapper.java | Class | For each Field, store position by position information. |
SegmentInfo.java | Class | |
SegmentInfos.java | Class | |
SegmentMergeInfo.java | Class | |
SegmentMergeQueue.java | Class | |
SegmentMerger.java | Class | The SegmentMerger class combines two or more Segments, represented by an IndexReader (
SegmentMerger.add ,
into a single Segment. |
SegmentReader.java | Class | |
SegmentTermDocs.java | Class | |
SegmentTermEnum.java | Class | |
SegmentTermPositions.java | Class | |
SegmentTermPositionVector.java | Class | Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. |
SegmentTermVector.java | Class | |
SerialMergeScheduler.java | Class | A
MergeScheduler that simply does each merge
sequentially, using the current thread. |
SnapshotDeletionPolicy.java | Class | A
IndexDeletionPolicy that wraps around any other
IndexDeletionPolicy and adds the ability to hold and
later release a single "snapshot" of an index. |
SortedTermVectorMapper.java | Class | Store a sorted collection of
org.apache.lucene.index.TermVectorEntry s. |
StaleReaderException.java | Class | This exception is thrown when an
IndexReader tries to make changes to the index (via
IndexReader.deleteDocument ,
IndexReader.undeleteAll or
IndexReader.setNorm )
but changes have already been committed to the index
since this reader was instantiated. |
Term.java | Class | A Term represents a word from text. |
TermBuffer.java | Class | |
TermDocs.java | Interface | TermDocs provides an interface for enumerating <document, frequency>
pairs for a term. |
TermEnum.java | Class | Abstract class for enumerating terms.
Term enumerations are always ordered by Term.compareTo(). |
TermFreqVector.java | Interface | Provides access to stored term vector of
a document field. |
TermInfo.java | Class | A TermInfo is the record of information stored for a term. |
TermInfosReader.java | Class | This stores a monotonically increasing set of pairs in a
Directory. |
TermInfosWriter.java | Class | This stores a monotonically increasing set of pairs in a
Directory. |
TermPositions.java | Interface | TermPositions provides an interface for enumerating the <document,
frequency, <position>* > tuples for a term. |
TermPositionVector.java | Interface | Extends TermFreqVector to provide additional information about
positions in which each of the terms is found. |
TermVectorEntry.java | Class | Convenience class for holding TermVector information. |
TermVectorEntryFreqSortedComparator.java | Class | |
TermVectorMapper.java | Class | The TermVectorMapper can be used to map Term Vectors into your own
structure instead of the parallel array structure used by
org.apache.lucene.index.IndexReader.getTermFreqVector(intString) . |
TermVectorOffsetInfo.java | Class | The TermVectorOffsetInfo class holds information pertaining to a Term in a
org.apache.lucene.index.TermPositionVector 's
offset information. |
TermVectorsReader.java | Class | |
TermVectorsWriter.java | Class | |
TestAddIndexesNoOptimize.java | Class | |
TestAtomicUpdate.java | Class | |
TestBackwardsCompatibility.java | Class | |
TestCheckIndex.java | Class | |
TestCompoundFile.java | Class | |
TestConcurrentMergeScheduler.java | Class | |
TestDeletionPolicy.java | Class | |
TestDoc.java | Class | JUnit adaptation of an older test case DocTest. |
TestDocumentWriter.java | Class | |
TestFieldInfos.java | Class | |
TestFieldNormModifier.java | Class | Tests changing of field norms with a custom similarity and with fake norms. |
TestFieldsReader.java | Class | |
TestFilterIndexReader.java | Class | |
TestIndexFileDeleter.java | Class | |
TestIndexInput.java | Class | |
TestIndexModifier.java | Class | Tests for the "IndexModifier" class, including accesses from two threads at the
same time. |
TestIndexReader.java | Class | |
TestIndexReaderReopen.java | Class | |
TestIndexWriter.java | Class | |
TestIndexWriterDelete.java | Class | |
TestIndexWriterLockRelease.java | Class | This tests the patch for issue #LUCENE-715 (IndexWriter does not
release its write lock when trying to open an index which does not yet
exist). |
TestIndexWriterMergePolicy.java | Class | |
TestIndexWriterMerging.java | Class | |
TestLazyBug.java | Class | Test demonstrating EOF bug on the last field of the last doc
if other docs have allready been accessed. |
TestLazyProxSkipping.java | Class | Tests lazy skipping on the proximity file. |
TestMultiLevelSkipList.java | Class | This testcase tests whether multi-level skipping is being used
to reduce I/O while skipping through posting lists. |
TestMultiReader.java | Class | |
TestMultiSegmentReader.java | Class | |
TestNorms.java | Class | Test that norms info is preserved during index life - including
separate norms, addDocument, addIndexes, optimize. |
TestParallelReader.java | Class | |
TestParallelTermEnum.java | Class | |
TestPayloads.java | Class | |
TestPositionBasedTermVectorMapper.java | Class | |
TestSegmentMerger.java | Class | |
TestSegmentReader.java | Class | |
TestSegmentTermDocs.java | Class | |
TestSegmentTermEnum.java | Class | |
TestStressIndexing.java | Class | |
TestStressIndexing2.java | Class | |
TestTerm.java | Class | |
TestTermdocPerf.java | Class | |
TestTermVectorsReader.java | Class | |
TestThreadedOptimize.java | Class | |
TestWordlistLoader.java | Class | |