|
|||||||||
| Home >> All >> org >> apache >> lucene >> [ index overview ] | PREV NEXT | ||||||||
A
- add(Document) - Method in class org.apache.lucene.index.FieldInfos
- Adds field info for a Document.
- add(Collection, boolean) - Method in class org.apache.lucene.index.FieldInfos
- Assumes the field is not storing term vectors
- add(String, boolean) - Method in class org.apache.lucene.index.FieldInfos
- Calls three parameter add with false for the storeTermVector parameter
- add(String, boolean, boolean) - Method in class org.apache.lucene.index.FieldInfos
- If the field is not yet known, adds it.
- add(int) - Method in class org.apache.lucene.index.MultipleTermPositions.IntQueue
- add(IndexReader) - Method in class org.apache.lucene.index.SegmentMerger
- Add an IndexReader to the collection of readers that are to be merged
- add(Term, TermInfo) - Method in class org.apache.lucene.index.TermInfosWriter
- Adds a new
pair to the set. - addDoc(IndexWriter, String) - Method in class org.apache.lucene.index.TestIndexReader
- addDoc(IndexWriter) - Method in class org.apache.lucene.index.TestIndexWriter
- addDoc(IndexWriter, String) - Method in class org.apache.lucene.index.TestSegmentTermDocs
- addDoc(IndexWriter, String) - Method in class org.apache.lucene.index.TestSegmentTermEnum
- addDocument(String, Document) - Method in class org.apache.lucene.index.DocumentWriter
- addDocument(Document) - Method in class org.apache.lucene.index.FieldsWriter
- addDocument(Document) - Method in class org.apache.lucene.index.IndexWriter
- Adds a document to this index.
- addDocument(Document, Analyzer) - Method in class org.apache.lucene.index.IndexWriter
- Adds a document to this index, using the provided analyzer instead of the value of
IndexWriter.getAnalyzer()55 .- addDocumentWithDifferentFields(IndexWriter) - Method in class org.apache.lucene.index.TestIndexReader
- addDocumentWithFields(IndexWriter) - Method in class org.apache.lucene.index.TestIndexReader
- addFile(String) - Method in class org.apache.lucene.index.CompoundFileWriter
- Add a source stream.
- addIndexed(Collection, boolean) - Method in class org.apache.lucene.index.FieldInfos
- addIndexes(Directory[]) - Method in class org.apache.lucene.index.IndexWriter
- Merges all segments from an array of indexes into this index.
- addIndexes(IndexReader[]) - Method in class org.apache.lucene.index.IndexWriter
- Merges the provided indexes into this index.
- addInternal(String, boolean, boolean) - Method in class org.apache.lucene.index.FieldInfos
- addPosition(String, String, int) - Method in class org.apache.lucene.index.DocumentWriter
- addTerm(String, int) - Method in class org.apache.lucene.index.TermVectorsWriter
- Add term to the field's term vector.
- addTermFreqVector(TermFreqVector) - Method in class org.apache.lucene.index.TermVectorsWriter
- Add specified vector to the document.
- addTermFreqVectorInternal(TermFreqVector) - Method in class org.apache.lucene.index.TermVectorsWriter
- addTermInternal(String, int) - Method in class org.apache.lucene.index.TermVectorsWriter
- addVectors(TermFreqVector[]) - Method in class org.apache.lucene.index.TermVectorsWriter
- Add specified vectors to the document.
- analyzer - Variable in class org.apache.lucene.index.DocumentWriter
- analyzer - Variable in class org.apache.lucene.index.IndexWriter
- appendPostings(SegmentMergeInfo[], int) - Method in class org.apache.lucene.index.SegmentMerger
- Process postings from multiple segments all positioned on the same term.
- aquireWriteLock() - Method in class org.apache.lucene.index.IndexReader
- Trys to acquire the WriteLock on this directory.
- assertEqualArrays(String, byte[], byte[], int, int) - Method in class org.apache.lucene.index.TestCompoundFile
- assertSameSeekBehavior(String, InputStream, InputStream) - Method in class org.apache.lucene.index.TestCompoundFile
- assertSameStreams(String, InputStream, InputStream) - Method in class org.apache.lucene.index.TestCompoundFile
- assertSameStreams(String, InputStream, InputStream, long) - Method in class org.apache.lucene.index.TestCompoundFile
- assertTermDocsCount(String, IndexReader, Term, int) - Method in class org.apache.lucene.index.TestIndexReader
B
- base - Variable in class org.apache.lucene.index.CompoundFileReader.CSInputStream
- base - Variable in class org.apache.lucene.index.MultiTermDocs
- base - Variable in class org.apache.lucene.index.SegmentMergeInfo
- buffer - Variable in class org.apache.lucene.index.MockInputStream
- buffer - Variable in class org.apache.lucene.index.SegmentTermEnum
- bufferSkip(int) - Method in class org.apache.lucene.index.SegmentMerger
- byName - Variable in class org.apache.lucene.index.FieldInfos
- byNumber - Variable in class org.apache.lucene.index.FieldInfos
- bytes - Variable in class org.apache.lucene.index.SegmentReader.Norm
C
- COMMIT_LOCK_NAME - Static variable in class org.apache.lucene.index.IndexWriter
- COMMIT_LOCK_TIMEOUT - Static variable in class org.apache.lucene.index.IndexWriter
- Default value is 10000.
- COMPOUND_EXTENSIONS - Static variable in class org.apache.lucene.index.SegmentMerger
- CompoundFileReader - class org.apache.lucene.index.CompoundFileReader.
- Class for accessing a compound stream.
- CompoundFileReader(Directory, String) - Constructor for class org.apache.lucene.index.CompoundFileReader
- CompoundFileReader.CSInputStream - class org.apache.lucene.index.CompoundFileReader.CSInputStream.
- Implementation of an InputStream that reads from a portion of the compound file.
- CompoundFileReader.CSInputStream(InputStream, long, long) - Constructor for class org.apache.lucene.index.CompoundFileReader.CSInputStream
- CompoundFileReader.FileEntry - class org.apache.lucene.index.CompoundFileReader.FileEntry.
- CompoundFileReader.FileEntry() - Constructor for class org.apache.lucene.index.CompoundFileReader.FileEntry
- CompoundFileWriter - class org.apache.lucene.index.CompoundFileWriter.
- Combines multiple files into a single compound file.
- CompoundFileWriter(Directory, String) - Constructor for class org.apache.lucene.index.CompoundFileWriter
- Create the compound stream in the specified file.
- CompoundFileWriter.FileEntry - class org.apache.lucene.index.CompoundFileWriter.FileEntry.
- CompoundFileWriter.FileEntry() - Constructor for class org.apache.lucene.index.CompoundFileWriter.FileEntry
- cfsReader - Variable in class org.apache.lucene.index.SegmentReader
- checkTermVector(TermVectorsReader, int, String) - Method in class org.apache.lucene.index.TestTermVectorsWriter
- checkValidFormat(InputStream) - Method in class org.apache.lucene.index.TermVectorsReader
- clear() - Method in class org.apache.lucene.index.MultipleTermPositions.IntQueue
- clone() - Method in class org.apache.lucene.index.SegmentTermEnum
- close() - Method in class org.apache.lucene.index.CompoundFileReader.CSInputStream
- Closes the stream to futher operations.
- close() - Method in class org.apache.lucene.index.CompoundFileReader
- close() - Method in class org.apache.lucene.index.CompoundFileWriter
- Merge files with the extensions added up to now.
- close() - Method in class org.apache.lucene.index.FieldsReader
- close() - Method in class org.apache.lucene.index.FieldsWriter
- close() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
- close() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
- close() - Method in class org.apache.lucene.index.IndexReader
- Closes files associated with this index.
- close() - Method in class org.apache.lucene.index.IndexWriter
- Flushes all changes to an index and closes all associated files.
- close() - Method in class org.apache.lucene.index.MockInputStream
- close() - Method in class org.apache.lucene.index.MultiTermDocs
- close() - Method in class org.apache.lucene.index.MultiTermEnum
- close() - Method in class org.apache.lucene.index.MultipleTermPositions
- Describe
closemethod here. - close() - Method in class org.apache.lucene.index.SegmentMergeInfo
- close() - Method in class org.apache.lucene.index.SegmentMergeQueue
- close() - Method in class org.apache.lucene.index.SegmentTermDocs
- close() - Method in class org.apache.lucene.index.SegmentTermEnum
- Closes the enumeration to further activity, freeing resources.
- close() - Method in class org.apache.lucene.index.SegmentTermPositions
- close() - Method in interface org.apache.lucene.index.TermDocs
- Frees associated resources.
- close() - Method in class org.apache.lucene.index.TermEnum
- Closes the enumeration to further activity, freeing resources.
- close() - Method in class org.apache.lucene.index.TermInfosReader
- close() - Method in class org.apache.lucene.index.TermInfosWriter
- Called to complete TermInfos creation.
- close() - Method in class org.apache.lucene.index.TermVectorsReader
- close() - Method in class org.apache.lucene.index.TermVectorsWriter
- Close all streams.
- closeDir - Variable in class org.apache.lucene.index.IndexWriter
- closeDirectory - Variable in class org.apache.lucene.index.IndexReader
- closeDocument() - Method in class org.apache.lucene.index.TermVectorsWriter
- closeField() - Method in class org.apache.lucene.index.TermVectorsWriter
- Finished processing current field.
- closeNorms() - Method in class org.apache.lucene.index.SegmentReader
- closeReaders() - Method in class org.apache.lucene.index.SegmentMerger
- close all IndexReaders that have been added.
- commit() - Method in class org.apache.lucene.index.IndexReader
- Commit changes resulting from delete, undeleteAll, or setNorm operations
- compareTo(Object) - Method in class org.apache.lucene.index.Term
- compareTo(Term) - Method in class org.apache.lucene.index.Term
- Compares two terms, returning an integer which is less than zero iff this term belongs after the argument, equal zero iff this term is equal to the argument, and greater than zero iff this term belongs after the argument.
- copyFile(CompoundFileWriter.FileEntry, OutputStream, byte[]) - Method in class org.apache.lucene.index.CompoundFileWriter
- Copy the contents of the file with specified extension into the provided output stream.
- count - Variable in class org.apache.lucene.index.SegmentTermDocs
- counter - Variable in class org.apache.lucene.index.SegmentInfos
- createCompoundFile() - Method in class org.apache.lucene.index.SegmentMerger
- createFile(String) - Method in class org.apache.lucene.index.CompoundFileReader
- Creates a new, empty file in the directory with the given name.
- createFile(String, String) - Method in class org.apache.lucene.index.TestDoc
- createRandomFile(Directory, String, int) - Method in class org.apache.lucene.index.TestCompoundFile
- Creates a file of the specified size with random data.
- createSequenceFile(Directory, String, byte, int) - Method in class org.apache.lucene.index.TestCompoundFile
- Creates a file of the specified size with sequential data.
- current - Variable in class org.apache.lucene.index.MultiTermDocs
- currentDocPointer - Variable in class org.apache.lucene.index.TermVectorsWriter
- currentField - Variable in class org.apache.lucene.index.TermVectorsWriter
D
- DEFAULT_MAX_FIELD_LENGTH - Static variable in class org.apache.lucene.index.IndexWriter
- Default value is 10000.
- DEFAULT_MAX_MERGE_DOCS - Static variable in class org.apache.lucene.index.IndexWriter
- Default value is Integer.MAX_VALUE>
Integer.MAX_VALUE55 . - DEFAULT_MERGE_FACTOR - Static variable in class org.apache.lucene.index.IndexWriter
- Default value is 10.
- DEFAULT_MIN_MERGE_DOCS - Static variable in class org.apache.lucene.index.IndexWriter
- Default value is 10.
- DocHelper - class org.apache.lucene.index.DocHelper.
- DocHelper() - Constructor for class org.apache.lucene.index.DocHelper
- DocTest - class org.apache.lucene.index.DocTest.
- DocTest() - Constructor for class org.apache.lucene.index.DocTest
- DocumentWriter - class org.apache.lucene.index.DocumentWriter.
- DocumentWriter(Directory, Analyzer, Similarity, int) - Constructor for class org.apache.lucene.index.DocumentWriter
- dataOffset - Variable in class org.apache.lucene.index.CompoundFileWriter.FileEntry
- temporary holder for the start of this file's data section
- delete(int) - Method in class org.apache.lucene.index.IndexReader
- Deletes the document numbered
docNum. - delete(Term) - Method in class org.apache.lucene.index.IndexReader
- Deletes all documents containing
term. - deleteFile(String) - Method in class org.apache.lucene.index.CompoundFileReader
- Removes an existing file in the directory.
- deleteFiles(Vector, Directory) - Method in class org.apache.lucene.index.IndexWriter
- deleteFiles(Vector, Vector) - Method in class org.apache.lucene.index.IndexWriter
- deleteReaderReaderConflict(boolean) - Method in class org.apache.lucene.index.TestIndexReader
- deleteReaderWriterConflict(boolean) - Method in class org.apache.lucene.index.TestIndexReader
- deleteSegments(Vector) - Method in class org.apache.lucene.index.IndexWriter
- deletedDocs - Variable in class org.apache.lucene.index.SegmentReader
- deletedDocs - Variable in class org.apache.lucene.index.SegmentTermDocs
- deletedDocsDirty - Variable in class org.apache.lucene.index.SegmentReader
- demo_FSInputStreamBug(FSDirectory, String) - Method in class org.apache.lucene.index.TestCompoundFile
- df - Variable in class org.apache.lucene.index.SegmentTermDocs
- dir - Variable in class org.apache.lucene.index.SegmentInfo
- dir - Variable in class org.apache.lucene.index.TestCompoundFile
- dir - Variable in class org.apache.lucene.index.TestDocumentWriter
- dir - Variable in class org.apache.lucene.index.TestFieldsReader
- dir - Variable in class org.apache.lucene.index.TestMultiReader
- dir - Variable in class org.apache.lucene.index.TestSegmentReader
- dir - Variable in class org.apache.lucene.index.TestSegmentTermDocs
- dir - Variable in class org.apache.lucene.index.TestSegmentTermEnum
- dir - Variable in class org.apache.lucene.index.TestTermVectorsReader
- dir - Variable in class org.apache.lucene.index.TestTermVectorsWriter
- directory - Variable in class org.apache.lucene.index.CompoundFileReader
- directory - Variable in class org.apache.lucene.index.CompoundFileWriter
- directory - Variable in class org.apache.lucene.index.DocumentWriter
- directory - Variable in class org.apache.lucene.index.IndexReader
- directory() - Method in class org.apache.lucene.index.IndexReader
- Returns the directory this index resides in.
- directory - Variable in class org.apache.lucene.index.IndexWriter
- directory - Variable in class org.apache.lucene.index.SegmentMerger
- directory - Variable in class org.apache.lucene.index.TermInfosReader
- directoryOffset - Variable in class org.apache.lucene.index.CompoundFileWriter.FileEntry
- temporary holder for the start of directory entry for this file
- directoryOwner - Variable in class org.apache.lucene.index.IndexReader
- dirty - Variable in class org.apache.lucene.index.SegmentReader.Norm
- doClose() - Method in class org.apache.lucene.index.FilterIndexReader
- doClose() - Method in class org.apache.lucene.index.IndexReader
- Implements close.
- doClose() - Method in class org.apache.lucene.index.MultiReader
- doClose() - Method in class org.apache.lucene.index.SegmentReader
- doCommit() - Method in class org.apache.lucene.index.FilterIndexReader
- doCommit() - Method in class org.apache.lucene.index.IndexReader
- Implements commit.
- doCommit() - Method in class org.apache.lucene.index.MultiReader
- doCommit() - Method in class org.apache.lucene.index.SegmentReader
- doDelete(int) - Method in class org.apache.lucene.index.FilterIndexReader
- doDelete(int) - Method in class org.apache.lucene.index.IndexReader
- Implements deletion of the document numbered
docNum. - doDelete(int) - Method in class org.apache.lucene.index.MultiReader
- doDelete(int) - Method in class org.apache.lucene.index.SegmentReader
- doSetNorm(int, String, byte) - Method in class org.apache.lucene.index.FilterIndexReader
- doSetNorm(int, String, byte) - Method in class org.apache.lucene.index.IndexReader
- Implements setNorm in subclass.
- doSetNorm(int, String, byte) - Method in class org.apache.lucene.index.MultiReader
- doSetNorm(int, String, byte) - Method in class org.apache.lucene.index.SegmentReader
- doUndeleteAll() - Method in class org.apache.lucene.index.FilterIndexReader
- doUndeleteAll() - Method in class org.apache.lucene.index.IndexReader
- Implements actual undeleteAll() in subclass.
- doUndeleteAll() - Method in class org.apache.lucene.index.MultiReader
- doUndeleteAll() - Method in class org.apache.lucene.index.SegmentReader
- doc(int) - Method in class org.apache.lucene.index.FieldsReader
- doc() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
- doc() - Method in class org.apache.lucene.index.MultiTermDocs
- doc() - Method in class org.apache.lucene.index.MultipleTermPositions
- Describe
docmethod here. - doc - Variable in class org.apache.lucene.index.SegmentTermDocs
- doc() - Method in class org.apache.lucene.index.SegmentTermDocs
- doc() - Method in interface org.apache.lucene.index.TermDocs
- Returns the current document number.
- doc1 - Variable in class org.apache.lucene.index.TestMultiReader
- doc1 - Variable in class org.apache.lucene.index.TestSegmentMerger
- doc2 - Variable in class org.apache.lucene.index.TestMultiReader
- doc2 - Variable in class org.apache.lucene.index.TestSegmentMerger
- docCount() - Method in class org.apache.lucene.index.IndexWriter
- Returns the number of documents currently in this index.
- docCount - Variable in class org.apache.lucene.index.SegmentInfo
- docFreq() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
- docFreq(Term) - Method in class org.apache.lucene.index.FilterIndexReader
- docFreq(Term) - Method in class org.apache.lucene.index.IndexReader
- Returns the number of documents containing the term
t. - docFreq(Term) - Method in class org.apache.lucene.index.MultiReader
- docFreq - Variable in class org.apache.lucene.index.MultiTermEnum
- docFreq() - Method in class org.apache.lucene.index.MultiTermEnum
- docFreq(Term) - Method in class org.apache.lucene.index.SegmentReader
- docFreq() - Method in class org.apache.lucene.index.SegmentTermEnum
- Returns the docFreq from the current TermInfo in the enumeration.
- docFreq() - Method in class org.apache.lucene.index.TermEnum
- Returns the docFreq of the current Term in the enumeration.
- docFreq - Variable in class org.apache.lucene.index.TermInfo
- The number of documents which contain the term.
- docMap - Variable in class org.apache.lucene.index.SegmentMergeInfo
- document(int) - Method in class org.apache.lucene.index.FilterIndexReader
- document(int) - Method in class org.apache.lucene.index.IndexReader
- Returns the stored fields of the
nthDocumentin this index. - document(int) - Method in class org.apache.lucene.index.MultiReader
- document(int) - Method in class org.apache.lucene.index.SegmentReader
E
- entries - Variable in class org.apache.lucene.index.CompoundFileReader
- entries - Variable in class org.apache.lucene.index.CompoundFileWriter
- enumerators - Variable in class org.apache.lucene.index.TermInfosReader
- equals(Object) - Method in class org.apache.lucene.index.Term
- Compares two terms, returning true iff they have the same field and text.
F
- FIELD_1_TEXT - Static variable in class org.apache.lucene.index.DocHelper
- FIELD_2_FREQS - Static variable in class org.apache.lucene.index.DocHelper
- FIELD_2_TEXT - Static variable in class org.apache.lucene.index.DocHelper
- FORMAT - Static variable in class org.apache.lucene.index.SegmentInfos
- The file format version, a negative number.
- FORMAT - Static variable in class org.apache.lucene.index.TermInfosWriter
- The file format version, a negative number.
- FORMAT_SIZE - Static variable in class org.apache.lucene.index.TermVectorsWriter
- FORMAT_VERSION - Static variable in class org.apache.lucene.index.TermVectorsWriter
- FieldInfo - class org.apache.lucene.index.FieldInfo.
- Copyright 2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
- FieldInfo(String, boolean, int, boolean) - Constructor for class org.apache.lucene.index.FieldInfo
- FieldInfos - class org.apache.lucene.index.FieldInfos.
- Access to the Field Info file that describes document fields and whether or not they are indexed.
- FieldInfos() - Constructor for class org.apache.lucene.index.FieldInfos
- FieldInfos(Directory, String) - Constructor for class org.apache.lucene.index.FieldInfos
- Construct a FieldInfos object using the directory and the name of the file InputStream
- FieldsReader - class org.apache.lucene.index.FieldsReader.
- Class responsible for access to stored document fields.
- FieldsReader(Directory, String, FieldInfos) - Constructor for class org.apache.lucene.index.FieldsReader
- FieldsWriter - class org.apache.lucene.index.FieldsWriter.
- FieldsWriter(Directory, String, FieldInfos) - Constructor for class org.apache.lucene.index.FieldsWriter
- FilterIndexReader - class org.apache.lucene.index.FilterIndexReader.
- A
FilterIndexReadercontains another IndexReader, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality. - FilterIndexReader(IndexReader) - Constructor for class org.apache.lucene.index.FilterIndexReader
- Construct a FilterIndexReader based on the specified base reader.
- FilterIndexReader.FilterTermDocs - class org.apache.lucene.index.FilterIndexReader.FilterTermDocs.
- Base class for filtering TermDocs implementations.
- FilterIndexReader.FilterTermDocs(TermDocs) - Constructor for class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
- FilterIndexReader.FilterTermEnum - class org.apache.lucene.index.FilterIndexReader.FilterTermEnum.
- Base class for filtering TermEnum implementations.
- FilterIndexReader.FilterTermEnum(TermEnum) - Constructor for class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
- FilterIndexReader.FilterTermPositions - class org.apache.lucene.index.FilterIndexReader.FilterTermPositions.
- Base class for filtering TermPositions implementations.
- FilterIndexReader.FilterTermPositions(TermPositions) - Constructor for class org.apache.lucene.index.FilterIndexReader.FilterTermPositions
- field - Variable in class org.apache.lucene.index.SegmentTermVector
- field - Variable in class org.apache.lucene.index.Term
- field() - Method in class org.apache.lucene.index.Term
- Returns the field of this term, an interned string.
- fieldBoosts - Variable in class org.apache.lucene.index.DocumentWriter
- fieldInfo(String) - Method in class org.apache.lucene.index.FieldInfos
- fieldInfo(int) - Method in class org.apache.lucene.index.FieldInfos
- fieldInfos - Variable in class org.apache.lucene.index.DocumentWriter
- fieldInfos - Variable in class org.apache.lucene.index.FieldsReader
- fieldInfos - Variable in class org.apache.lucene.index.FieldsWriter
- fieldInfos - Variable in class org.apache.lucene.index.SegmentMerger
- fieldInfos - Variable in class org.apache.lucene.index.SegmentReader
- fieldInfos - Variable in class org.apache.lucene.index.SegmentTermEnum
- fieldInfos - Variable in class org.apache.lucene.index.TermInfosReader
- fieldInfos - Variable in class org.apache.lucene.index.TermInfosWriter
- fieldInfos - Variable in class org.apache.lucene.index.TermVectorsReader
- fieldInfos - Variable in class org.apache.lucene.index.TermVectorsWriter
- fieldInfos - Variable in class org.apache.lucene.index.TestFieldsReader
- fieldInfos - Variable in class org.apache.lucene.index.TestTermVectorsReader
- fieldInfos - Variable in class org.apache.lucene.index.TestTermVectorsWriter
- fieldLengths - Variable in class org.apache.lucene.index.DocumentWriter
- fieldName(int) - Method in class org.apache.lucene.index.FieldInfos
- fieldNumber(String) - Method in class org.apache.lucene.index.FieldInfos
- fieldPositions - Variable in class org.apache.lucene.index.DocumentWriter
- fields - Variable in class org.apache.lucene.index.TermVectorsWriter
- fieldsReader - Variable in class org.apache.lucene.index.SegmentReader
- fieldsStream - Variable in class org.apache.lucene.index.FieldsReader
- fieldsStream - Variable in class org.apache.lucene.index.FieldsWriter
- file - Variable in class org.apache.lucene.index.CompoundFileWriter.FileEntry
- source file
- fileExists(String) - Method in class org.apache.lucene.index.CompoundFileReader
- Returns true iff a file with the given name exists.
- fileLength(String) - Method in class org.apache.lucene.index.CompoundFileReader
- Returns the length of a file in the directory.
- fileModified(String) - Method in class org.apache.lucene.index.CompoundFileReader
- Returns the time the named file was last modified.
- fileName - Variable in class org.apache.lucene.index.CompoundFileReader
- fileName - Variable in class org.apache.lucene.index.CompoundFileWriter
- fileOffset - Variable in class org.apache.lucene.index.CompoundFileReader.CSInputStream
- files() - Method in class org.apache.lucene.index.SegmentReader
- files - Variable in class org.apache.lucene.index.TestDoc
- finalize() - Method in class org.apache.lucene.index.IndexReader
- Release the write lock, if needed.
- finalize() - Method in class org.apache.lucene.index.IndexWriter
- Release the write lock, if needed.
- flushRamSegments() - Method in class org.apache.lucene.index.IndexWriter
- Merges all RAM-resident segments.
- format - Variable in class org.apache.lucene.index.SegmentTermEnum
- formatM1SkipInterval - Variable in class org.apache.lucene.index.SegmentTermEnum
- freq() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
- freq() - Method in class org.apache.lucene.index.MultiTermDocs
- freq() - Method in class org.apache.lucene.index.MultipleTermPositions
- Describe
freqmethod here. - freq - Variable in class org.apache.lucene.index.Posting
- freq - Variable in class org.apache.lucene.index.SegmentTermDocs
- freq() - Method in class org.apache.lucene.index.SegmentTermDocs
- freq() - Method in interface org.apache.lucene.index.TermDocs
- Returns the frequency of the term within the current document.
- freq - Variable in class org.apache.lucene.index.TermVectorsWriter.TVTerm
- freqOutput - Variable in class org.apache.lucene.index.SegmentMerger
- freqPointer - Variable in class org.apache.lucene.index.SegmentTermDocs
- freqPointer() - Method in class org.apache.lucene.index.SegmentTermEnum
- freqPointer - Variable in class org.apache.lucene.index.TermInfo
- freqStream - Variable in class org.apache.lucene.index.SegmentReader
- freqStream - Variable in class org.apache.lucene.index.SegmentTermDocs
G
- get(Term) - Method in class org.apache.lucene.index.TermInfosReader
- Returns the TermInfo for a Term in the set, or null.
- get(int) - Method in class org.apache.lucene.index.TermInfosReader
- Returns the nth term in the set.
- get(int, String) - Method in class org.apache.lucene.index.TermVectorsReader
- Retrieve the term vector for the given document and field
- get(int) - Method in class org.apache.lucene.index.TermVectorsReader
- Return all term vectors stored for this document or null if the could not be read in.
- getAnalyzer() - Method in class org.apache.lucene.index.IndexWriter
- Returns the analyzer used by this index.
- getCurrentVersion(String) - Static method in class org.apache.lucene.index.IndexReader
- Reads version number from segments files.
- getCurrentVersion(File) - Static method in class org.apache.lucene.index.IndexReader
- Reads version number from segments files.
- getCurrentVersion(Directory) - Static method in class org.apache.lucene.index.IndexReader
- Reads version number from segments files.
- getDirectory() - Method in class org.apache.lucene.index.CompoundFileReader
- getDirectory() - Method in class org.apache.lucene.index.CompoundFileWriter
- Returns the directory of the compound file.
- getDirectory(boolean) - Method in class org.apache.lucene.index.TestIndexReader
- getEnum() - Method in class org.apache.lucene.index.TermInfosReader
- getField() - Method in class org.apache.lucene.index.SegmentTermVector
- getField() - Method in interface org.apache.lucene.index.TermFreqVector
- getFieldNames() - Method in class org.apache.lucene.index.FilterIndexReader
- getFieldNames(boolean) - Method in class org.apache.lucene.index.FilterIndexReader
- getFieldNames() - Method in class org.apache.lucene.index.IndexReader
- Returns a list of all unique field names that exist in the index pointed to by this IndexReader.
- getFieldNames(boolean) - Method in class org.apache.lucene.index.IndexReader
- Returns a list of all unique field names that exist in the index pointed to by this IndexReader.
- getFieldNames() - Method in class org.apache.lucene.index.MultiReader
- getFieldNames(boolean) - Method in class org.apache.lucene.index.MultiReader
- getFieldNames() - Method in class org.apache.lucene.index.SegmentReader
- getFieldNames(boolean) - Method in class org.apache.lucene.index.SegmentReader
- getIndexOffset(Term) - Method in class org.apache.lucene.index.TermInfosReader
- Returns the offset of the greatest index entry which is less than or equal to term.
- getIndexedFieldNames(boolean) - Method in class org.apache.lucene.index.FilterIndexReader
- getIndexedFieldNames(boolean) - Method in class org.apache.lucene.index.IndexReader
- getIndexedFieldNames(boolean) - Method in class org.apache.lucene.index.MultiReader
- getIndexedFieldNames(boolean) - Method in class org.apache.lucene.index.SegmentReader
- getName() - Method in class org.apache.lucene.index.CompoundFileReader
- getName() - Method in class org.apache.lucene.index.CompoundFileWriter
- Returns the name of the compound file.
- getPosition(Term) - Method in class org.apache.lucene.index.TermInfosReader
- Returns the position of a Term in the set or -1.
- getSegmentsCounter() - Method in class org.apache.lucene.index.IndexWriter
- getSimilarity() - Method in class org.apache.lucene.index.IndexWriter
- Expert: Return the Similarity implementation used by this IndexWriter.
- getSkipInterval() - Method in class org.apache.lucene.index.TermInfosReader
- getTermFreqVector(int, String) - Method in class org.apache.lucene.index.FilterIndexReader
- getTermFreqVector(int, String) - Method in class org.apache.lucene.index.IndexReader
- Return a term frequency vector for the specified document and field.
- getTermFreqVector(int, String) - Method in class org.apache.lucene.index.MultiReader
- getTermFreqVector(int, String) - Method in class org.apache.lucene.index.SegmentReader
- Return a term frequency vector for the specified document and field.
- getTermFreqVectors(int) - Method in class org.apache.lucene.index.FilterIndexReader
- getTermFreqVectors(int) - Method in class org.apache.lucene.index.IndexReader
- Return an array of term frequency vectors for the specified document.
- getTermFreqVectors(int) - Method in class org.apache.lucene.index.MultiReader
- Return an array of term frequency vectors for the specified document.
- getTermFreqVectors(int) - Method in class org.apache.lucene.index.SegmentReader
- Return an array of term frequency vectors for the specified document.
- getTermFrequencies() - Method in class org.apache.lucene.index.SegmentTermVector
- getTermFrequencies() - Method in interface org.apache.lucene.index.TermFreqVector
- Array of term frequencies.
- getTermPositions(int) - Method in interface org.apache.lucene.index.TermPositionVector
- Returns an array of positions in which the term is found.
- getTerms() - Method in class org.apache.lucene.index.SegmentTermVector
- getTerms() - Method in interface org.apache.lucene.index.TermFreqVector
- getUseCompoundFile() - Method in class org.apache.lucene.index.IndexWriter
- Setting to turn on usage of a compound file.
- getVersion() - Method in class org.apache.lucene.index.SegmentInfos
- version number when this SegmentInfos was generated.
- growArray() - Method in class org.apache.lucene.index.MultipleTermPositions.IntQueue
- growBuffer(int) - Method in class org.apache.lucene.index.SegmentTermEnum
H
- hasChanges - Variable in class org.apache.lucene.index.IndexReader
- hasDeletions() - Method in class org.apache.lucene.index.FilterIndexReader
- hasDeletions() - Method in class org.apache.lucene.index.IndexReader
- Returns true if any documents have been deleted
- hasDeletions - Variable in class org.apache.lucene.index.MultiReader
- hasDeletions() - Method in class org.apache.lucene.index.MultiReader
- hasDeletions(SegmentInfo) - Static method in class org.apache.lucene.index.SegmentReader
- hasDeletions() - Method in class org.apache.lucene.index.SegmentReader
- hasSeparateNorms(SegmentInfo) - Static method in class org.apache.lucene.index.SegmentReader
- hasVectors() - Method in class org.apache.lucene.index.FieldInfos
- hashCode() - Method in class org.apache.lucene.index.Term
- Combines the hashCode() of the field and the text.
- haveSkipped - Variable in class org.apache.lucene.index.SegmentTermDocs
I
- IndexReader - class org.apache.lucene.index.IndexReader.
- IndexReader is an abstract class, providing an interface for accessing an index.
- IndexReader(Directory) - Constructor for class org.apache.lucene.index.IndexReader
- Constructor used if IndexReader is not owner of its directory.
- IndexReader(Directory, SegmentInfos, boolean) - Constructor for class org.apache.lucene.index.IndexReader
- Constructor used if IndexReader is owner of its directory.
- IndexWriter - class org.apache.lucene.index.IndexWriter.
- An IndexWriter creates and maintains an index.
- IndexWriter(String, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
- Constructs an IndexWriter for the index in
path. - IndexWriter(File, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
- Constructs an IndexWriter for the index in
path. - IndexWriter(Directory, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
- Constructs an IndexWriter for the index in
d. - IndexWriter(Directory, Analyzer, boolean, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
- ids - Variable in class org.apache.lucene.index.CompoundFileWriter
- in - Variable in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
- in - Variable in class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
- in - Variable in class org.apache.lucene.index.FilterIndexReader
- in - Variable in class org.apache.lucene.index.SegmentReader.Norm
- indexDir - Variable in class org.apache.lucene.index.TestDoc
- indexDoc(String, String) - Static method in class org.apache.lucene.index.DocTest
- indexDoc(String, String) - Method in class org.apache.lucene.index.TestDoc
- indexExists(String) - Static method in class org.apache.lucene.index.IndexReader
- Returns
trueif an index exists at the specified directory. - indexExists(File) - Static method in class org.apache.lucene.index.IndexReader
- Returns
trueif an index exists at the specified directory. - indexExists(Directory) - Static method in class org.apache.lucene.index.IndexReader
- Returns
trueif an index exists at the specified directory. - indexInfos - Variable in class org.apache.lucene.index.TermInfosReader
- indexInterval - Variable in class org.apache.lucene.index.SegmentTermEnum
- indexInterval - Variable in class org.apache.lucene.index.TermInfosWriter
- Expert: The fraction of terms in the "dictionary" which should be stored in RAM.
- indexOf(String) - Method in class org.apache.lucene.index.SegmentTermVector
- indexOf(String) - Method in interface org.apache.lucene.index.TermFreqVector
- Return an index in the term numbers array returned from
getTermsat which the term with the specifiedtermappears. - indexPointer - Variable in class org.apache.lucene.index.SegmentTermEnum
- indexPointers - Variable in class org.apache.lucene.index.TermInfosReader
- indexStream - Variable in class org.apache.lucene.index.FieldsReader
- indexStream - Variable in class org.apache.lucene.index.FieldsWriter
- indexTerms - Variable in class org.apache.lucene.index.TermInfosReader
- indexesOf(String[], int, int) - Method in class org.apache.lucene.index.SegmentTermVector
- indexesOf(String[], int, int) - Method in interface org.apache.lucene.index.TermFreqVector
- Just like
indexOf(int)but searches for a number of terms at the same time. - info(int) - Method in class org.apache.lucene.index.SegmentInfos
- infoStream - Variable in class org.apache.lucene.index.IndexWriter
- If non-null, information about merges will be printed to this.
- initialize(IndexReader[]) - Method in class org.apache.lucene.index.MultiReader
- initialize(SegmentInfo) - Method in class org.apache.lucene.index.SegmentReader
- initialize(Directory, String, FieldInfos, boolean) - Method in class org.apache.lucene.index.TermInfosWriter
- input - Variable in class org.apache.lucene.index.SegmentTermEnum
- invertDocument(Document) - Method in class org.apache.lucene.index.DocumentWriter
- isCSInputStream(InputStream) - Static method in class org.apache.lucene.index.TestCompoundFile
- isCSInputStreamOpen(InputStream) - Static method in class org.apache.lucene.index.TestCompoundFile
- isDeleted(int) - Method in class org.apache.lucene.index.FilterIndexReader
- isDeleted(int) - Method in class org.apache.lucene.index.IndexReader
- Returns true if document n has been deleted
- isDeleted(int) - Method in class org.apache.lucene.index.MultiReader
- isDeleted(int) - Method in class org.apache.lucene.index.SegmentReader
- isDocumentOpen() - Method in class org.apache.lucene.index.TermVectorsWriter
- isFieldOpen() - Method in class org.apache.lucene.index.TermVectorsWriter
- Return true if a field is currently open.
- isIndex - Variable in class org.apache.lucene.index.SegmentTermEnum
- isIndex - Variable in class org.apache.lucene.index.TermInfosWriter
- isIndexed - Variable in class org.apache.lucene.index.FieldInfo
- isLocked(Directory) - Static method in class org.apache.lucene.index.IndexReader
- Returns
trueiff the index in the named directory is currently locked. - isLocked(String) - Static method in class org.apache.lucene.index.