A B C D E F G H I J K L M N O P Q R S T U W _

A

ACRONYM - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
add_escapes(String) - Method in class org.apache.lucene.analysis.standard.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
add_escapes(String) - Method in class org.apache.lucene.queryParser.ParseException
Used to convert raw characters to their escaped version when these raw version cannot be used as part of an ASCII string literal.
add(BooleanClause) - Method in class org.apache.lucene.search.BooleanQuery
Adds a clause to a boolean query.
add(Field) - Method in class org.apache.lucene.document.Document
Adds a field to a document.
add(Query, boolean, boolean) - Method in class org.apache.lucene.search.BooleanQuery
Adds a clause to a boolean query.
add(Term) - Method in class org.apache.lucene.search.PhraseQuery
Adds a term to the end of the query phrase.
addDocument(Document) - Method in class org.apache.lucene.index.IndexWriter
Adds a document to this index.
addEscapes(String) - Static method in class org.apache.lucene.analysis.standard.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addEscapes(String) - Static method in class org.apache.lucene.queryParser.TokenMgrError
Replaces unprintable characters by their espaced (or unicode escaped) equivalents in the given string
addIndexes(Directory[]) - Method in class org.apache.lucene.index.IndexWriter
Merges all segments from an array of indexes into this index.
adjustTop() - Method in class org.apache.lucene.util.PriorityQueue
Should be called when the Object at top changes values.
After(String, Date) - Static method in class org.apache.lucene.search.DateFilter
Constructs a filter for field f matching dates after date.
After(String, long) - Static method in class org.apache.lucene.search.DateFilter
Constructs a filter for field f matching times after time.
ALPHA - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
ALPHANUM - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
Analyzer - class org.apache.lucene.analysis.Analyzer.
An Analyzer builds TokenStreams, which analyze text.
Analyzer() - Constructor for class org.apache.lucene.analysis.Analyzer
 
AND - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
APOSTROPHE - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
Arrays - class org.apache.lucene.util.Arrays.
This class contains various methods for manipulating arrays (such as sorting and searching).
Arrays() - Constructor for class org.apache.lucene.util.Arrays
 

B

backup(int) - Method in interface org.apache.lucene.analysis.standard.CharStream
Backs up the input stream by amount steps.
backup(int) - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
backup(int) - Method in interface org.apache.lucene.queryParser.CharStream
Backs up the input stream by amount steps.
backup(int) - Method in class org.apache.lucene.queryParser.FastCharStream
 
Before(String, Date) - Static method in class org.apache.lucene.search.DateFilter
Constructs a filter for field f matching dates before date.
Before(String, long) - Static method in class org.apache.lucene.search.DateFilter
Constructs a filter for field f matching times before time.
beginColumn - Variable in class org.apache.lucene.analysis.standard.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginColumn - Variable in class org.apache.lucene.queryParser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class org.apache.lucene.analysis.standard.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
beginLine - Variable in class org.apache.lucene.queryParser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
BeginToken() - Method in interface org.apache.lucene.analysis.standard.CharStream
Returns the next character that marks the beginning of the next token.
BeginToken() - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
BeginToken() - Method in interface org.apache.lucene.queryParser.CharStream
Returns the next character that marks the beginning of the next token.
BeginToken() - Method in class org.apache.lucene.queryParser.FastCharStream
 
bits - Variable in class org.apache.lucene.util.BitVector
This is public just so that methods will inline.
bits(IndexReader) - Method in class org.apache.lucene.search.Filter
Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.
bits(IndexReader) - Method in class org.apache.lucene.search.DateFilter
Returns a BitSet with true for documents which should be permitted in search results, and false for those that should not.
BitVector - class org.apache.lucene.util.BitVector.
Optimized implementation of a vector of bits.
BitVector(Directory, String) - Constructor for class org.apache.lucene.util.BitVector
Constructs a bit vector from the file name in Directory d, as written by the BitVector.write(org.apache.lucene.store.Directory, java.lang.String) method.
BitVector(int) - Constructor for class org.apache.lucene.util.BitVector
Constructs a vector capable of holding n bits.
BooleanClause - class org.apache.lucene.search.BooleanClause.
A clause in a BooleanQuery.
BooleanClause(Query, boolean, boolean) - Constructor for class org.apache.lucene.search.BooleanClause
Constructs a BooleanClause with query q, required r and prohibited p.
BooleanQuery - class org.apache.lucene.search.BooleanQuery.
A Query that matches documents matching boolean combinations of other queries, typically TermQuerys or PhraseQuerys.
BooleanQuery() - Constructor for class org.apache.lucene.search.BooleanQuery
Constructs an empty boolean query.
boost - Variable in class org.apache.lucene.search.Query
 
Boost - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 

C

CARAT - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
CharStream - interface org.apache.lucene.analysis.standard.CharStream.
This interface describes a character stream that maintains line and column number positions of the characters.
CharStream - interface org.apache.lucene.queryParser.CharStream.
This interface describes a character stream that maintains line and column number positions of the characters.
CharTokenizer - class org.apache.lucene.analysis.CharTokenizer.
An abstract base class for simple, character-oriented tokenizers.
CharTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.CharTokenizer
 
Clause(String) - Method in class org.apache.lucene.queryParser.QueryParser
 
clear() - Method in class org.apache.lucene.util.PriorityQueue
Removes all entries from the PriorityQueue.
clear(int) - Method in class org.apache.lucene.util.BitVector
Sets the value of bit to zero.
clone() - Method in class org.apache.lucene.store.InputStream
 
close() - Method in class org.apache.lucene.analysis.TokenStream
Releases resources associated with this stream.
close() - Method in class org.apache.lucene.analysis.TokenFilter
Close the input TokenStream.
close() - Method in class org.apache.lucene.analysis.Tokenizer
By default, closes the input Reader.
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.IndexReader
Closes files associated with this index.
close() - Method in class org.apache.lucene.index.IndexWriter
Flushes all changes to an index, closes all associated files, and closes the directory that the index is stored in.
close() - Method in interface org.apache.lucene.index.TermDocs
Frees associated resources.
close() - Method in class org.apache.lucene.search.Searcher
Frees resources associated with this Searcher.
close() - Method in class org.apache.lucene.search.MultiSearcher
Frees resources associated with this Searcher.
close() - Method in class org.apache.lucene.search.FilteredTermEnum
Closes the enumeration to further activity, freeing resources.
close() - Method in class org.apache.lucene.search.FuzzyTermEnum
 
close() - Method in class org.apache.lucene.search.IndexSearcher
Frees resources associated with this Searcher.
close() - Method in class org.apache.lucene.search.WildcardTermEnum
 
close() - Method in class org.apache.lucene.store.OutputStream
 
close() - Method in class org.apache.lucene.store.Directory
Closes the store.
close() - Method in class org.apache.lucene.store.FSDirectory
Closes the store to future operations.
close() - Method in class org.apache.lucene.store.RAMDirectory
Closes the store to future operations.
close() - Method in class org.apache.lucene.store.InputStream
 
collect(int, float) - Method in class org.apache.lucene.search.HitCollector
Called once for every non-zero scoring document, with the document number and its score.
COLON - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
COMPANY - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
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.
Conjunction() - Method in class org.apache.lucene.queryParser.QueryParser
 
Constants - class org.apache.lucene.util.Constants.
Some useful constants.
count() - Method in class org.apache.lucene.util.BitVector
Returns the total number of one bits in this vector.
createFile(String) - Method in class org.apache.lucene.store.Directory
Creates a new, empty file in the directory with the given name.
createFile(String) - Method in class org.apache.lucene.store.FSDirectory
Creates a new, empty file in the directory with the given name.
createFile(String) - Method in class org.apache.lucene.store.RAMDirectory
Creates a new, empty file in the directory with the given name.
curChar - Variable in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
curChar - Variable in class org.apache.lucene.queryParser.QueryParserTokenManager
 
currentToken - Variable in class org.apache.lucene.analysis.standard.ParseException
This is the last token that has been consumed successfully.
currentToken - Variable in class org.apache.lucene.queryParser.ParseException
This is the last token that has been consumed successfully.

D

DateField - class org.apache.lucene.document.DateField.
Provides support for converting dates to strings and vice-versa.
DateFilter - class org.apache.lucene.search.DateFilter.
A Filter that restricts search results to a range of time.
DateFilter(String, Date, Date) - Constructor for class org.apache.lucene.search.DateFilter
Constructs a filter for field f matching dates between from and to.
DateFilter(String, long, long) - Constructor for class org.apache.lucene.search.DateFilter
Constructs a filter for field f matching times between from and to.
dateToString(Date) - Static method in class org.apache.lucene.document.DateField
Converts a Date to a string suitable for indexing.
debugStream - Variable in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
debugStream - Variable in class org.apache.lucene.queryParser.QueryParserTokenManager
 
DEFAULT - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
DEFAULT - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
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.store.Directory
Removes an existing file in the directory.
deleteFile(String) - Method in class org.apache.lucene.store.FSDirectory
Removes an existing file in the directory.
deleteFile(String) - Method in class org.apache.lucene.store.RAMDirectory
Removes an existing file in the directory.
difference() - Method in class org.apache.lucene.search.FilteredTermEnum
Equality measure on the term
difference() - Method in class org.apache.lucene.search.FuzzyTermEnum
 
difference() - Method in class org.apache.lucene.search.WildcardTermEnum
 
DIGIT - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
Directory - class org.apache.lucene.store.Directory.
A Directory is a flat list of files.
Directory() - Constructor for class org.apache.lucene.store.Directory
 
disable_tracing() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
disable_tracing() - Method in class org.apache.lucene.queryParser.QueryParser
 
doBody() - Method in class org.apache.lucene.store.Lock.With
Code to execute with exclusive access.
doc() - Method in interface org.apache.lucene.index.TermDocs
Returns the current document number.
doc(int) - Method in class org.apache.lucene.search.Searcher
For use by HitCollector implementations.
doc(int) - Method in class org.apache.lucene.search.MultiSearcher
For use by HitCollector implementations.
doc(int) - Method in class org.apache.lucene.search.IndexSearcher
For use by HitCollector implementations.
doc(int) - Method in class org.apache.lucene.search.Hits
Returns the nth document in this set.
docCount() - Method in class org.apache.lucene.index.IndexWriter
Returns the number of documents currently in this index.
docFreq() - Method in class org.apache.lucene.index.TermEnum
Returns the docFreq of the current Term in the enumeration.
docFreq() - Method in class org.apache.lucene.search.FilteredTermEnum
Returns the docFreq of the current Term in the enumeration.
docFreq(Term) - Method in class org.apache.lucene.index.IndexReader
Returns the number of documents containing the term t.
Document - class org.apache.lucene.document.Document.
Documents are the unit of indexing and search.
Document() - Constructor for class org.apache.lucene.document.Document
Constructs a new document with no fields.
document(int) - Method in class org.apache.lucene.index.IndexReader
Returns the stored fields of the nth Document in this index.
Done() - Method in interface org.apache.lucene.analysis.standard.CharStream
The lexer calls this function to indicate that it is done with the stream and hence implementations can free any resources held by this class.
Done() - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
Done() - Method in interface org.apache.lucene.queryParser.CharStream
The lexer calls this function to indicate that it is done with the stream and hence implementations can free any resources held by this class.
Done() - Method in class org.apache.lucene.queryParser.FastCharStream
 

E

EMAIL - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
enable_tracing() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
enable_tracing() - Method in class org.apache.lucene.queryParser.QueryParser
 
endColumn - Variable in class org.apache.lucene.analysis.standard.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endColumn - Variable in class org.apache.lucene.queryParser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endEnum() - Method in class org.apache.lucene.search.FilteredTermEnum
Indiciates the end of the enumeration has been reached
endEnum() - Method in class org.apache.lucene.search.FuzzyTermEnum
 
endEnum() - Method in class org.apache.lucene.search.WildcardTermEnum
 
endLine - Variable in class org.apache.lucene.analysis.standard.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endLine - Variable in class org.apache.lucene.queryParser.Token
beginLine and beginColumn describe the position of the first character of this token; endLine and endColumn describe the position of the last character of this token.
endOffset() - Method in class org.apache.lucene.analysis.Token
Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text.
ENGLISH_STOP_WORDS - Static variable in class org.apache.lucene.analysis.StopAnalyzer
An array containing some common English words that are not usually useful for searching.
EOF - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
EOF - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
eol - Variable in class org.apache.lucene.analysis.standard.ParseException
The end of line string for this machine.
eol - Variable in class org.apache.lucene.queryParser.ParseException
The end of line string for this machine.
equals(Object) - Method in class org.apache.lucene.index.Term
Compares two terms, returning true iff they have the same field and text.
expectedTokenSequences - Variable in class org.apache.lucene.analysis.standard.ParseException
Each entry in this array is an array of integers.
expectedTokenSequences - Variable in class org.apache.lucene.queryParser.ParseException
Each entry in this array is an array of integers.

F

FastCharStream - class org.apache.lucene.analysis.standard.FastCharStream.
An efficient implementation of JavaCC's CharStream interface.
FastCharStream - class org.apache.lucene.queryParser.FastCharStream.
An efficient implementation of JavaCC's CharStream interface.
FastCharStream(Reader) - Constructor for class org.apache.lucene.analysis.standard.FastCharStream
Constructs from a Reader.
FastCharStream(Reader) - Constructor for class org.apache.lucene.queryParser.FastCharStream
Constructs from a Reader.
Field - class org.apache.lucene.document.Field.
A field is a section of a Document.
field() - Method in class org.apache.lucene.index.Term
Returns the field of this term, an interned string.
Field(String, String, boolean, boolean, boolean) - Constructor for class org.apache.lucene.document.Field
 
fields() - Method in class org.apache.lucene.document.Document
Returns an Enumeration of all the fields in a document.
fileExists(String) - Method in class org.apache.lucene.store.Directory
Returns true iff a file with the given name exists.
fileExists(String) - Method in class org.apache.lucene.store.FSDirectory
Returns true iff a file with the given name exists.
fileExists(String) - Method in class org.apache.lucene.store.RAMDirectory
Returns true iff the named file exists in this directory.
fileLength(String) - Method in class org.apache.lucene.store.Directory
Returns the length of a file in the directory.
fileLength(String) - Method in class org.apache.lucene.store.FSDirectory
Returns the length in bytes of a file in the directory.
fileLength(String) - Method in class org.apache.lucene.store.RAMDirectory
Returns the length in bytes of a file in the directory.
fileModified(File, String) - Static method in class org.apache.lucene.store.FSDirectory
Returns the time the named file was last modified.
fileModified(String) - Method in class org.apache.lucene.store.Directory
Returns the time the named file was last modified.
fileModified(String) - Method in class org.apache.lucene.store.FSDirectory
Returns the time the named file was last modified.
fileModified(String) - Method in class org.apache.lucene.store.RAMDirectory
Returns the time the named file was last modified.
Filter - class org.apache.lucene.search.Filter.
Abstract base class providing a mechanism to restrict searches to a subset of an index.
Filter() - Constructor for class org.apache.lucene.search.Filter
 
FilteredTermEnum - class org.apache.lucene.search.FilteredTermEnum.
Abstract class for enumerating a subset of all terms.
FilteredTermEnum(IndexReader, Term) - Constructor for class org.apache.lucene.search.FilteredTermEnum
 
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.
flush() - Method in class org.apache.lucene.store.OutputStream
 
flushBuffer(byte[], int) - Method in class org.apache.lucene.store.OutputStream
 
freq() - Method in interface org.apache.lucene.index.TermDocs
Returns the frequency of the term within the current document.
FSDirectory - class org.apache.lucene.store.FSDirectory.
Straightforward implementation of Directory as a directory of files.
FUZZY - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
FUZZY_THRESHOLD - Static variable in class org.apache.lucene.search.FuzzyTermEnum
Compute Levenshtein distance
FuzzyQuery - class org.apache.lucene.search.FuzzyQuery.
Implements the fuzzy search query
FuzzyQuery(Term) - Constructor for class org.apache.lucene.search.FuzzyQuery
 
FuzzyTermEnum - class org.apache.lucene.search.FuzzyTermEnum.
Subclass of FilteredTermEnum for enumerating all terms that are similiar to the specified filter term.
FuzzyTermEnum(IndexReader, Term) - Constructor for class org.apache.lucene.search.FuzzyTermEnum
 

G

generateParseException() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
generateParseException() - Method in class org.apache.lucene.queryParser.QueryParser
 
GermanAnalyzer - class org.apache.lucene.analysis.de.GermanAnalyzer.
Analyzer for German language.
GermanAnalyzer() - Constructor for class org.apache.lucene.analysis.de.GermanAnalyzer
Builds an analyzer.
GermanAnalyzer(File) - Constructor for class org.apache.lucene.analysis.de.GermanAnalyzer
Builds an analyzer with the given stop words.
GermanAnalyzer(Hashtable) - Constructor for class org.apache.lucene.analysis.de.GermanAnalyzer
Builds an analyzer with the given stop words.
GermanAnalyzer(String[]) - Constructor for class org.apache.lucene.analysis.de.GermanAnalyzer
Builds an analyzer with the given stop words.
GermanStemFilter - class org.apache.lucene.analysis.de.GermanStemFilter.
A filter that stems German words.
GermanStemFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.de.GermanStemFilter
 
GermanStemFilter(TokenStream, Hashtable) - Constructor for class org.apache.lucene.analysis.de.GermanStemFilter
Builds a GermanStemFilter that uses an exclusiontable.
GermanStemmer - class org.apache.lucene.analysis.de.GermanStemmer.
A stemmer for German words.
GermanStemmer() - Constructor for class org.apache.lucene.analysis.de.GermanStemmer
 
get(int) - Method in class org.apache.lucene.util.BitVector
Returns true if bit is one and false if it is zero.
get(String) - Method in class org.apache.lucene.document.Document
Returns the string value of the field with the given name if any exist in this document, or null.
getBeginColumn() - Method in interface org.apache.lucene.analysis.standard.CharStream
Returns the column number of the first character for current token (being matched after the last call to BeginTOken).
getBeginColumn() - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
getBeginColumn() - Method in interface org.apache.lucene.queryParser.CharStream
Returns the column number of the first character for current token (being matched after the last call to BeginTOken).
getBeginColumn() - Method in class org.apache.lucene.queryParser.FastCharStream
 
getBeginLine() - Method in interface org.apache.lucene.analysis.standard.CharStream
Returns the line number of the first character for current token (being matched after the last call to BeginTOken).
getBeginLine() - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
getBeginLine() - Method in interface org.apache.lucene.queryParser.CharStream
Returns the line number of the first character for current token (being matched after the last call to BeginTOken).
getBeginLine() - Method in class org.apache.lucene.queryParser.FastCharStream
 
getBoost() - Method in class org.apache.lucene.search.Query
Gets the boost for this term.
getColumn() - Method in interface org.apache.lucene.analysis.standard.CharStream
Deprecated.  
getColumn() - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
getColumn() - Method in interface org.apache.lucene.queryParser.CharStream
Deprecated.  
getColumn() - Method in class org.apache.lucene.queryParser.FastCharStream
 
getDirectory(File, boolean) - Static method in class org.apache.lucene.store.FSDirectory
Returns the directory instance for the named location.
getDirectory(String, boolean) - Static method in class org.apache.lucene.store.FSDirectory
Returns the directory instance for the named location.
getEndColumn() - Method in interface org.apache.lucene.analysis.standard.CharStream
Returns the column number of the last character for current token (being matched after the last call to BeginTOken).
getEndColumn() - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
getEndColumn() - Method in interface org.apache.lucene.queryParser.CharStream
Returns the column number of the last character for current token (being matched after the last call to BeginTOken).
getEndColumn() - Method in class org.apache.lucene.queryParser.FastCharStream
 
getEndLine() - Method in interface org.apache.lucene.analysis.standard.CharStream
Returns the line number of the last character for current token (being matched after the last call to BeginTOken).
getEndLine() - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
getEndLine() - Method in interface org.apache.lucene.queryParser.CharStream
Returns the line number of the last character for current token (being matched after the last call to BeginTOken).
getEndLine() - Method in class org.apache.lucene.queryParser.FastCharStream
 
getField(String) - Method in class org.apache.lucene.document.Document
Returns a field with the given name if any exist in this document, or null.
getFilePointer() - Method in class org.apache.lucene.store.OutputStream
RandomAccessFile-like methods @see java.io.RandomAccessFile
getFilePointer() - Method in class org.apache.lucene.store.InputStream
RandomAccessFile-like methods @see java.io.RandomAccessFile
GetImage() - Method in interface org.apache.lucene.analysis.standard.CharStream
Returns a string made up of characters from the marked token beginning to the current buffer position.
GetImage() - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
GetImage() - Method in interface org.apache.lucene.queryParser.CharStream
Returns a string made up of characters from the marked token beginning to the current buffer position.
GetImage() - Method in class org.apache.lucene.queryParser.FastCharStream
 
getLine() - Method in interface org.apache.lucene.analysis.standard.CharStream
Deprecated.  
getLine() - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
getLine() - Method in interface org.apache.lucene.queryParser.CharStream
Deprecated.  
getLine() - Method in class org.apache.lucene.queryParser.FastCharStream
 
getMessage() - Method in class org.apache.lucene.analysis.standard.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in class org.apache.lucene.analysis.standard.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in class org.apache.lucene.queryParser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in class org.apache.lucene.queryParser.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getNextToken() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
getNextToken() - Method in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
getNextToken() - Method in class org.apache.lucene.queryParser.QueryParser
 
getNextToken() - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
 
getPhraseSlop() - Method in class org.apache.lucene.queryParser.QueryParser
Gets the default slop for phrases.
getSlop() - Method in class org.apache.lucene.search.PhraseQuery
Returns the slop.
GetSuffix(int) - Method in interface org.apache.lucene.analysis.standard.CharStream
Returns an array of characters that make up the suffix of length 'len' for the currently matched token.
GetSuffix(int) - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
GetSuffix(int) - Method in interface org.apache.lucene.queryParser.CharStream
Returns an array of characters that make up the suffix of length 'len' for the currently matched token.
GetSuffix(int) - Method in class org.apache.lucene.queryParser.FastCharStream
 
getToken(int) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
getToken(int) - Method in class org.apache.lucene.queryParser.QueryParser
 
getWordtable(File) - Static method in class org.apache.lucene.analysis.de.WordlistLoader
 
getWordtable(String) - Static method in class org.apache.lucene.analysis.de.WordlistLoader
 
getWordtable(String, String) - Static method in class org.apache.lucene.analysis.de.WordlistLoader
 

H

HAS_DIGIT - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
hashCode() - Method in class org.apache.lucene.index.Term
Combines the hashCode() of the field and the text.
HitCollector - class org.apache.lucene.search.HitCollector.
Lower-level search API.
HitCollector() - Constructor for class org.apache.lucene.search.HitCollector
 
Hits - class org.apache.lucene.search.Hits.
A ranked list of documents, used to hold search results.
HOST - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 

I

image - Variable in class org.apache.lucene.analysis.standard.Token
The string image of the token.
image - Variable in class org.apache.lucene.queryParser.Token
The string image of the token.
indexExists(Directory) - Static method in class org.apache.lucene.index.IndexReader
Returns true if an index exists at the specified directory.
indexExists(File) - Static method in class org.apache.lucene.index.IndexReader
Returns true if an index exists at the specified directory.
indexExists(String) - Static method in class org.apache.lucene.index.IndexReader
Returns true if an index exists at the specified directory.
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
 
IndexSearcher - class org.apache.lucene.search.IndexSearcher.
Implements search over a single IndexReader.
IndexSearcher(Directory) - Constructor for class org.apache.lucene.search.IndexSearcher
Creates a searcher searching the index in the provided directory.
IndexSearcher(IndexReader) - Constructor for class org.apache.lucene.search.IndexSearcher
Creates a searcher searching the provided index.
IndexSearcher(String) - Constructor for class org.apache.lucene.search.IndexSearcher
Creates a searcher searching the index in the named directory.
IndexWriter - class org.apache.lucene.index.IndexWriter.
An IndexWriter creates and maintains an index.
IndexWriter(Directory, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
Constructs an IndexWriter for the index in d.
IndexWriter(File, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
Constructs an IndexWriter for the index in path.
IndexWriter(String, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
Constructs an IndexWriter for the index in path.
infoStream - Variable in class org.apache.lucene.index.IndexWriter
If non-null, information about merges will be printed to this.
initialize(int) - Method in class org.apache.lucene.util.PriorityQueue
Subclass constructors must call this.
input - Variable in class org.apache.lucene.analysis.TokenFilter
The source of tokens for this filter.
input - Variable in class org.apache.lucene.analysis.Tokenizer
The text source for this Tokenizer.
InputStream - class org.apache.lucene.store.InputStream.
A random-access input stream
InputStream() - Constructor for class org.apache.lucene.store.InputStream
 
isDeleted(int) - Method in class org.apache.lucene.index.IndexReader
Returns true if document n has been deleted
isIndexed() - Method in class org.apache.lucene.document.Field
True iff the value of the field is to be indexed, so that it may be searched on.
isLocked(Directory) - Static method in class org.apache.lucene.index.IndexReader
Returns true iff the index in the named directory is currently locked.
isLocked(String) - Static method in class org.apache.lucene.index.IndexReader
Returns true iff the index in the named directory is currently locked.
isStored() - Method in class org.apache.lucene.document.Field
True iff the value of the field is to be stored in the index for return with search hits.
isTokenChar(char) - Method in class org.apache.lucene.analysis.CharTokenizer
Returns true iff a character should be included in a token.
isTokenChar(char) - Method in class org.apache.lucene.analysis.LetterTokenizer
Collects only characters which satisfy Character#isLetter(char).
isTokenChar(char) - Method in class org.apache.lucene.analysis.WhitespaceTokenizer
Collects only characters which do not satisfy Character#isWhitespace(char).
isTokenized() - Method in class org.apache.lucene.document.Field
True iff the value of the field should be tokenized as text prior to indexing.

J

JAVA_1_1 - Static variable in class org.apache.lucene.util.Constants
True iff this is Java version 1.1.
JAVA_1_2 - Static variable in class org.apache.lucene.util.Constants
True iff this is Java version 1.2.
JAVA_1_3 - Static variable in class org.apache.lucene.util.Constants
True iff this is Java version 1.3.
JAVA_VERSION - Static variable in class org.apache.lucene.util.Constants
The value of System.getProperty("java.version").
jj_nt - Variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
jj_nt - Variable in class org.apache.lucene.queryParser.QueryParser
 
jjnewLexState - Static variable in class org.apache.lucene.queryParser.QueryParserTokenManager
 
jjstrLiteralImages - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
jjstrLiteralImages - Static variable in class org.apache.lucene.queryParser.QueryParserTokenManager
 

K

Keyword(String, String) - Static method in class org.apache.lucene.document.Field
Constructs a String-valued Field that is not tokenized, but is indexed and stored.
kind - Variable in class org.apache.lucene.analysis.standard.Token
An integer that describes the kind of this token.
kind - Variable in class org.apache.lucene.queryParser.Token
An integer that describes the kind of this token.

L

lastModified(Directory) - Static method in class org.apache.lucene.index.IndexReader
Returns the time the index in this directory was last modified.
lastModified(File) - Static method in class org.apache.lucene.index.IndexReader
Returns the time the index in the named directory was last modified.
lastModified(String) - Static method in class org.apache.lucene.index.IndexReader
Returns the time the index in the named directory was last modified.
length - Variable in class org.apache.lucene.store.InputStream
 
length() - Method in class org.apache.lucene.search.Hits
Returns the total number of hits available in this set.
length() - Method in class org.apache.lucene.store.OutputStream
 
length() - Method in class org.apache.lucene.store.InputStream
 
lessThan(Object, Object) - Method in class org.apache.lucene.util.PriorityQueue
Determines the ordering of objects in this priority queue.
LETTER - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
LetterTokenizer - class org.apache.lucene.analysis.LetterTokenizer.
A LetterTokenizer is a tokenizer that divides text at non-letters.
LetterTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.LetterTokenizer
Construct a new LetterTokenizer.
lexStateNames - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
lexStateNames - Static variable in class org.apache.lucene.queryParser.QueryParserTokenManager
 
LINUX - Static variable in class org.apache.lucene.util.Constants
True iff running on Linux.
list() - Method in class org.apache.lucene.store.Directory
Returns an array of strings, one for each file in the directory.
list() - Method in class org.apache.lucene.store.FSDirectory
Returns an array of strings, one for each file in the directory.
list() - Method in class org.apache.lucene.store.RAMDirectory
Returns an array of strings, one for each file in the directory.
Lock - class org.apache.lucene.store.Lock.
An interprocess mutex lock.
Lock.With - class org.apache.lucene.store.Lock.With.
Utility class for executing code with exclusive access.
Lock.With(Lock) - Constructor for class org.apache.lucene.store.Lock.With
Constructs an executor that will grab the named lock.
Lock() - Constructor for class org.apache.lucene.store.Lock
 
lookingAhead - Variable in class org.apache.lucene.queryParser.QueryParser
 
LowerCaseFilter - class org.apache.lucene.analysis.LowerCaseFilter.
Normalizes token text to lower case.
LowerCaseFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.LowerCaseFilter
 
LowerCaseTokenizer - class org.apache.lucene.analysis.LowerCaseTokenizer.
LowerCaseTokenizer performs the function of LetterTokenizer and LowerCaseFilter together.
LowerCaseTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.LowerCaseTokenizer
Construct a new LowerCaseTokenizer.
LPAREN - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 

M

main(String[]) - Static method in class org.apache.lucene.queryParser.QueryParser
 
makeLock(String) - Method in class org.apache.lucene.store.Directory
Construct a Lock.
makeLock(String) - Method in class org.apache.lucene.store.FSDirectory
Construct a Lock.
makeLock(String) - Method in class org.apache.lucene.store.RAMDirectory
Construct a Lock.
makeStopTable(String[]) - Static method in class org.apache.lucene.analysis.StopFilter
Builds a Hashtable from an array of stop words, appropriate for passing into the StopFilter constructor.
MAX_DATE_STRING() - Static method in class org.apache.lucene.document.DateField
 
maxDoc() - Method in class org.apache.lucene.index.IndexReader
Returns one greater than the largest possible document number.
maxFieldLength - Variable in class org.apache.lucene.index.IndexWriter
The maximum number of terms that will be indexed for a single field in a document.
maxMergeDocs - Variable in class org.apache.lucene.index.IndexWriter
Determines the largest number of documents ever merged by addDocument().
mergeFactor - Variable in class org.apache.lucene.index.IndexWriter
Determines how often segment indexes are merged by addDocument().
MIN_DATE_STRING() - Static method in class org.apache.lucene.document.DateField
 
MINUS - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
Modifiers() - Method in class org.apache.lucene.queryParser.QueryParser
 
MultiFieldQueryParser - class org.apache.lucene.queryParser.MultiFieldQueryParser.
A QueryParser which constructs queries to search multiple fields.
MultiFieldQueryParser(CharStream) - Constructor for class org.apache.lucene.queryParser.MultiFieldQueryParser
 
MultiFieldQueryParser(QueryParserTokenManager) - Constructor for class org.apache.lucene.queryParser.MultiFieldQueryParser
 
MultiFieldQueryParser(String, Analyzer) - Constructor for class org.apache.lucene.queryParser.MultiFieldQueryParser
 
MultiSearcher - class org.apache.lucene.search.MultiSearcher.
Implements search over a set of Searchers.
MultiSearcher(Searcher[]) - Constructor for class org.apache.lucene.search.MultiSearcher
Creates a searcher which searches searchers.
MultiTermQuery - class org.apache.lucene.search.MultiTermQuery.
A Query that matches documents containing a subset of terms provided by a FilteredTermEnum enumeration.
MultiTermQuery(Term) - Constructor for class org.apache.lucene.search.MultiTermQuery
Constructs a query for terms matching term.

N

name() - Method in class org.apache.lucene.document.Field
The name of the field (e.g., "date", "subject", "title", "body", etc.) as an interned string.
newToken(int) - Static method in class org.apache.lucene.analysis.standard.Token
Returns a new Token object, by default.
newToken(int) - Static method in class org.apache.lucene.queryParser.Token
Returns a new Token object, by default.
next - Variable in class org.apache.lucene.analysis.standard.Token
A reference to the next regular (non-special) token from the input stream.
next - Variable in class org.apache.lucene.queryParser.Token
A reference to the next regular (non-special) token from the input stream.
next() - Method in class org.apache.lucene.analysis.TokenStream
Returns the next token in the stream, or null at EOS.
next() - Method in class org.apache.lucene.analysis.PorterStemFilter
Returns the next input Token, after being stemmed
next() - Method in class org.apache.lucene.analysis.CharTokenizer
Returns the next token in the stream, or null at EOS.
next() - Method in class org.apache.lucene.analysis.LowerCaseFilter
 
next() - Method in class org.apache.lucene.analysis.StopFilter
Returns the next input Token whose termText() is not a stop word.
next() - Method in class org.apache.lucene.analysis.de.GermanStemFilter
 
next() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
Returns the next token in the stream, or null at EOS.
next() - Method in class org.apache.lucene.analysis.standard.StandardFilter
Returns the next token in the stream, or null at EOS.
next() - Method in class org.apache.lucene.index.TermEnum
Increments the enumeration to the next element.
next() - Method in interface org.apache.lucene.index.TermDocs
Moves to the next pair in the enumeration.
next() - Method in class org.apache.lucene.search.FilteredTermEnum
Increments the enumeration to the next element.
nextPosition() - Method in interface org.apache.lucene.index.TermPositions
Returns next position in the current document.
NOISE - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
norm(int) - Static method in class org.apache.lucene.search.Similarity
Computes the normalization byte for a document given the total number of terms contained in the document.
NORMAL_FIELD - Static variable in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
normalize(char) - Method in class org.apache.lucene.analysis.CharTokenizer
Called on each token character to normalize it before it is added to the token.
normalize(char) - Method in class org.apache.lucene.analysis.LowerCaseTokenizer
Collects only characters which satisfy Character#isLetter(char).
norms(String) - Method in class org.apache.lucene.index.IndexReader
Returns the byte-encoded normalization factor for the named field of every document.
NOT - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
NUM - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
NUMBER - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
numDocs() - Method in class org.apache.lucene.index.IndexReader
Returns the number of documents in this index.

O

obtain() - Method in class org.apache.lucene.store.Lock
Attempt to obtain exclusive access.
open(Directory) - Static method in class org.apache.lucene.index.IndexReader
Returns an IndexReader reading the index in the given Directory.
open(File) - Static method in class org.apache.lucene.index.IndexReader
Returns an IndexReader reading the index in an FSDirectory in the named path.
open(String) - Static method in class org.apache.lucene.index.IndexReader
Returns an IndexReader reading the index in an FSDirectory in the named path.
openFile(String) - Method in class org.apache.lucene.store.Directory
Returns a stream reading an existing file.
openFile(String) - Method in class org.apache.lucene.store.FSDirectory
Returns a stream reading an existing file.
openFile(String) - Method in class org.apache.lucene.store.RAMDirectory
Returns a stream reading an existing file.
optimize() - Method in class org.apache.lucene.index.IndexWriter
Merges all segments together into a single segment, optimizing an index for search.
OR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
org.apache.lucene.analysis - package org.apache.lucene.analysis
API and code to convert text into indexable tokens.
org.apache.lucene.analysis.de - package org.apache.lucene.analysis.de
Support for indexing and searching of German text.
org.apache.lucene.analysis.standard - package org.apache.lucene.analysis.standard
A grammar-based tokenizer constructed with JavaCC.
org.apache.lucene.document - package org.apache.lucene.document
The Document abstraction.
org.apache.lucene.index - package org.apache.lucene.index
Code to maintain and access indices.
org.apache.lucene.queryParser - package org.apache.lucene.queryParser
A simple query parser implemented with JavaCC.
org.apache.lucene.search - package org.apache.lucene.search
Search over indices.
org.apache.lucene.store - package org.apache.lucene.store
Binary i/o API, for storing index data.
org.apache.lucene.util - package org.apache.lucene.util
Some utility classes.
OS_NAME - Static variable in class org.apache.lucene.util.Constants
The value of System.getProperty("os.name").
OutputStream - class org.apache.lucene.store.OutputStream.
A random-access output stream
OutputStream() - Constructor for class org.apache.lucene.store.OutputStream
 

P

P - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
parse(String) - Method in class org.apache.lucene.queryParser.QueryParser
Parses a query string, returning a Query.
parse(String, String[], Analyzer) - Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
Parses a query which searches on the fields specified.
parse(String, String[], int[], Analyzer) - Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
Parses a query, searching on the fields specified.
parse(String, String, Analyzer) - Static method in class org.apache.lucene.queryParser.QueryParser
Parses a query string, returning a Query.
ParseException - exception org.apache.lucene.analysis.standard.ParseException.
This exception is thrown when parse errors are encountered.
ParseException - exception org.apache.lucene.queryParser.ParseException.
This exception is thrown when parse errors are encountered.
ParseException() - Constructor for class org.apache.lucene.analysis.standard.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException() - Constructor for class org.apache.lucene.queryParser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for class org.apache.lucene.analysis.standard.ParseException
 
ParseException(String) - Constructor for class org.apache.lucene.queryParser.ParseException
 
ParseException(Token, int[][], String[]) - Constructor for class org.apache.lucene.analysis.standard.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException(Token, int[][], String[]) - Constructor for class org.apache.lucene.queryParser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
PhraseQuery - class org.apache.lucene.search.PhraseQuery.
A Query that matches documents containing a particular sequence of terms.
PhraseQuery() - Constructor for class org.apache.lucene.search.PhraseQuery
Constructs an empty phrase query.
PLUS - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
pop() - Method in class org.apache.lucene.util.PriorityQueue
Removes and returns the least element of the PriorityQueue in log(size) time.
PorterStemFilter - class org.apache.lucene.analysis.PorterStemFilter.
Transforms the token stream as per the Porter stemming algorithm.
PorterStemFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.PorterStemFilter
 
PrefixQuery - class org.apache.lucene.search.PrefixQuery.
A Query that matches documents containing terms with a specified prefix.
PrefixQuery(Term) - Constructor for class org.apache.lucene.search.PrefixQuery
Constructs a query for terms starting with prefix.
PREFIXTERM - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
PriorityQueue - class org.apache.lucene.util.PriorityQueue.
A PriorityQueue maintains a partial ordering of its elements such that the least element can always be found in constant time.
PriorityQueue() - Constructor for class org.apache.lucene.util.PriorityQueue
 
prohibited - Variable in class org.apache.lucene.search.BooleanClause
If true, documents documents which do match this sub-query will not match the boolean query.
PROHIBITED_FIELD - Static variable in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
put(Object) - Method in class org.apache.lucene.util.PriorityQueue
Adds an Object to a PriorityQueue in log(size) time.

Q

query - Variable in class org.apache.lucene.search.BooleanClause
The query whose matching documents are combined by the boolean query.
Query - class org.apache.lucene.search.Query.
The abstract base class for queries.
Query() - Constructor for class org.apache.lucene.search.Query
 
Query(String) - Method in class org.apache.lucene.queryParser.QueryParser
 
QueryParser - class org.apache.lucene.queryParser.QueryParser.
This class is generated by JavaCC.
QueryParser(CharStream) - Constructor for class org.apache.lucene.queryParser.QueryParser
 
QueryParser(QueryParserTokenManager) - Constructor for class org.apache.lucene.queryParser.QueryParser
 
QueryParser(String, Analyzer) - Constructor for class org.apache.lucene.queryParser.QueryParser
Constructs a query parser.
QueryParserConstants - interface org.apache.lucene.queryParser.QueryParserConstants.
 
QueryParserTokenManager - class org.apache.lucene.queryParser.QueryParserTokenManager.
 
QueryParserTokenManager(CharStream) - Constructor for class org.apache.lucene.queryParser.QueryParserTokenManager
 
QueryParserTokenManager(CharStream, int) - Constructor for class org.apache.lucene.queryParser.QueryParserTokenManager
 
QUOTED - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 

R

RAMDirectory - class org.apache.lucene.store.RAMDirectory.
 
RAMDirectory() - Constructor for class org.apache.lucene.store.RAMDirectory
 
RANGEEX - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RANGEIN - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RangeQuery - class org.apache.lucene.search.RangeQuery.
A Query that matches documents within an exclusive range.
RangeQuery(Term, Term, boolean) - Constructor for class org.apache.lucene.search.RangeQuery
Constructs a query selecting all terms greater than lowerTerm but less than upperTerm.
read(int[], int[]) - Method in interface org.apache.lucene.index.TermDocs
Attempts to read multiple entries from the enumeration, up to length of docs.
readByte() - Method in class org.apache.lucene.store.InputStream
InputStream-like methods @see java.io.InputStream
readBytes(byte[], int, int) - Method in class org.apache.lucene.store.InputStream
 
readChar() - Method in interface org.apache.lucene.analysis.standard.CharStream
Returns the next character from the selected input.
readChar() - Method in class org.apache.lucene.analysis.standard.FastCharStream
 
readChar() - Method in interface org.apache.lucene.queryParser.CharStream
Returns the next character from the selected input.
readChar() - Method in class org.apache.lucene.queryParser.FastCharStream
 
readChars(char[], int, int) - Method in class org.apache.lucene.store.InputStream
 
readerValue() - Method in class org.apache.lucene.document.Field
The value of the field as a Reader, or null.
readInt() - Method in class org.apache.lucene.store.InputStream
 
readInternal(byte[], int, int) - Method in class org.apache.lucene.store.InputStream
 
readLong() - Method in class org.apache.lucene.store.InputStream
 
readString() - Method in class org.apache.lucene.store.InputStream
 
readVInt() - Method in class org.apache.lucene.store.InputStream
 
readVLong() - Method in class org.apache.lucene.store.InputStream
 
refill() - Method in class org.apache.lucene.store.InputStream
 
ReInit(CharStream) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
ReInit(CharStream) - Method in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
ReInit(CharStream) - Method in class org.apache.lucene.queryParser.QueryParser
 
ReInit(CharStream) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
 
ReInit(CharStream, int) - Method in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
ReInit(CharStream, int) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
 
ReInit(QueryParserTokenManager) - Method in class org.apache.lucene.queryParser.QueryParser
 
ReInit(StandardTokenizerTokenManager) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
release() - Method in class org.apache.lucene.store.Lock
Release exclusive access.
renameFile(String, String) - Method in class org.apache.lucene.store.Directory
Renames an existing file in the directory.
renameFile(String, String) - Method in class org.apache.lucene.store.FSDirectory
Renames an existing file in the directory.
renameFile(String, String) - Method in class org.apache.lucene.store.RAMDirectory
Removes an existing file in the directory.
required - Variable in class org.apache.lucene.search.BooleanClause
If true, documents documents which do not match this sub-query will not match the boolean query.
REQUIRED_FIELD - Static variable in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
RPAREN - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
run() - Method in class org.apache.lucene.store.Lock.With
Calls Lock.With.doBody() while lock is obtained.

S

SCALE_FACTOR - Static variable in class org.apache.lucene.search.FuzzyTermEnum
 
score(int) - Method in class org.apache.lucene.search.Hits
Returns the score for the nth document in this set.
search(Query) - Method in class org.apache.lucene.search.Searcher
Returns the documents matching query.
search(Query, Filter) - Method in class org.apache.lucene.search.Searcher
Returns the documents matching query and filter.
search(Query, Filter, HitCollector) - Method in class org.apache.lucene.search.Searcher
Lower-level search API.
search(Query, Filter, HitCollector) - Method in class org.apache.lucene.search.MultiSearcher
Lower-level search API.
search(Query, Filter, HitCollector) - Method in class org.apache.lucene.search.IndexSearcher
Lower-level search API.
search(Query, HitCollector) - Method in class org.apache.lucene.search.Searcher
Lower-level search API.
Searcher - class org.apache.lucene.search.Searcher.
The abstract base class for search implementations.
Searcher() - Constructor for class org.apache.lucene.search.Searcher
 
searcherIndex(int) - Method in class org.apache.lucene.search.MultiSearcher
For use by HitCollector implementations to identify the index of the sub-searcher that a particular hit came from.
seek(long) - Method in class org.apache.lucene.store.OutputStream
 
seek(long) - Method in class org.apache.lucene.store.InputStream
 
seek(Term) - Method in interface org.apache.lucene.index.TermDocs
Sets this to the data for a term.
seekInternal(long) - Method in class org.apache.lucene.store.InputStream
 
set(int) - Method in class org.apache.lucene.util.BitVector
Sets the value of bit to one.
setBoost(float) - Method in class org.apache.lucene.search.Query
Sets the boost for this term to b.
setDebugStream(PrintStream) - Method in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
setDebugStream(PrintStream) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
 
setEnum(FilteredTermEnum) - Method in class org.apache.lucene.search.MultiTermQuery
Set the TermEnum to be used
setEnum(TermEnum) - Method in class org.apache.lucene.search.FilteredTermEnum
 
setExclusionTable(Hashtable) - Method in class org.apache.lucene.analysis.de.GermanStemFilter
Set an alternative exclusion list for this filter.
setPhraseSlop(int) - Method in class org.apache.lucene.queryParser.QueryParser
Sets the default slop for phrases.
setSlop(int) - Method in class org.apache.lucene.search.PhraseQuery
Sets the number of other words permitted between words in query phrase.
setStemExclusionTable(File) - Method in class org.apache.lucene.analysis.de.GermanAnalyzer
Builds an exclusionlist from the words contained in the given file.
setStemExclusionTable(Hashtable) - Method in class org.apache.lucene.analysis.de.GermanAnalyzer
Builds an exclusionlist from a Hashtable.
setStemExclusionTable(String[]) - Method in class org.apache.lucene.analysis.de.GermanAnalyzer
Builds an exclusionlist from an array of Strings.
setStemmer(GermanStemmer) - Method in class org.apache.lucene.analysis.de.GermanStemFilter
Set a alternative/custom GermanStemmer for this filter.
Similarity - class org.apache.lucene.search.Similarity.
Internal class used for scoring.
SimpleAnalyzer - class org.apache.lucene.analysis.SimpleAnalyzer.
An Analyzer that filters LetterTokenizer with LowerCaseFilter.
SimpleAnalyzer() - Constructor for class org.apache.lucene.analysis.SimpleAnalyzer
 
size() - Method in class org.apache.lucene.util.BitVector
Returns the number of bits in this vector.
size() - Method in class org.apache.lucene.util.PriorityQueue
Returns the number of elements currently stored in the PriorityQueue.
skipTo(int) - Method in interface org.apache.lucene.index.TermDocs
Skips entries to the first beyond the current whose document number is greater than or equal to target.
SLOP - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
sort(String[]) - Static method in class org.apache.lucene.util.Arrays
Sorts the specified array of objects into ascending order, according to the natural comparison method of its elements.
specialConstructor - Variable in class org.apache.lucene.analysis.standard.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialConstructor - Variable in class org.apache.lucene.queryParser.ParseException
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
specialToken - Variable in class org.apache.lucene.analysis.standard.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
specialToken - Variable in class org.apache.lucene.queryParser.Token
This field is used to access special tokens that occur prior to this token, but after the immediately preceding regular (non-special) token.
StandardAnalyzer - class org.apache.lucene.analysis.standard.StandardAnalyzer.
Filters StandardTokenizer with StandardFilter, LowerCaseFilter and StopFilter.
StandardAnalyzer() - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Builds an analyzer.
StandardAnalyzer(String[]) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Builds an analyzer with the given stop words.
StandardFilter - class org.apache.lucene.analysis.standard.StandardFilter.
Normalizes tokens extracted with StandardTokenizer.
StandardFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.standard.StandardFilter
Construct filtering in.
StandardTokenizer - class org.apache.lucene.analysis.standard.StandardTokenizer.
A grammar-based tokenizer constructed with JavaCC.
StandardTokenizer(CharStream) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
 
StandardTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
Constructs a tokenizer for this Reader.
StandardTokenizer(StandardTokenizerTokenManager) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
 
StandardTokenizerConstants - interface org.apache.lucene.analysis.standard.StandardTokenizerConstants.
 
StandardTokenizerTokenManager - class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager.
 
StandardTokenizerTokenManager(CharStream) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
StandardTokenizerTokenManager(CharStream, int) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
startOffset() - Method in class org.apache.lucene.analysis.Token
Returns this Token's starting offset, the position of the first character corresponding to this token in the source text.
stem(String) - Method in class org.apache.lucene.analysis.de.GermanStemmer
Stemms the given term to an unique discriminator.
STOP_WORDS - Static variable in class org.apache.lucene.analysis.standard.StandardAnalyzer
An array containing some common English words that are usually not useful for searching.
StopAnalyzer - class org.apache.lucene.analysis.StopAnalyzer.
Filters LetterTokenizer with LowerCaseFilter and StopFilter.
StopAnalyzer() - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Builds an analyzer which removes words in ENGLISH_STOP_WORDS.
StopAnalyzer(String[]) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Builds an analyzer which removes words in the provided array.
StopFilter - class org.apache.lucene.analysis.StopFilter.
Removes stop words from a token stream.
StopFilter(TokenStream, Hashtable) - Constructor for class org.apache.lucene.analysis.StopFilter
Constructs a filter which removes words from the input TokenStream that are named in the Hashtable.
StopFilter(TokenStream, String[]) - Constructor for class org.apache.lucene.analysis.StopFilter
Constructs a filter which removes words from the input TokenStream that are named in the array of words.
stringToDate(String) - Static method in class org.apache.lucene.document.DateField
Converts a string-encoded date into a Date object.
stringToTime(String) - Static method in class org.apache.lucene.document.DateField
Converts a string-encoded date into a millisecond time.
stringValue() - Method in class org.apache.lucene.document.Field
The value of the field as a String, or null.
SUN_OS - Static variable in class org.apache.lucene.util.Constants
True iff running on SunOS.
SwitchTo(int) - Method in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
SwitchTo(int) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
 

T

Term - class org.apache.lucene.index.Term.
A Term represents a word from text.
TERM - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
term() - Method in class org.apache.lucene.index.TermEnum
Returns the current Term in the enumeration.
term() - Method in class org.apache.lucene.search.FilteredTermEnum
Returns the current Term in the enumeration.
Term(String) - Method in class org.apache.lucene.queryParser.QueryParser
 
Term(String, String) - Constructor for class org.apache.lucene.index.Term
Constructs a Term with the given field and text.
termCompare(Term) - Method in class org.apache.lucene.search.FilteredTermEnum
Equality compare on the term
termCompare(Term) - Method in class org.apache.lucene.search.FuzzyTermEnum
The termCompare method in FuzzyTermEnum uses Levenshtein distance to calculate the distance between the given term and the comparing term.
termCompare(Term) - Method in class org.apache.lucene.search.WildcardTermEnum
 
TermDocs - interface org.apache.lucene.index.TermDocs.
TermDocs provides an interface for enumerating <document, frequency> pairs for a term.
termDocs() - Method in class org.apache.lucene.index.IndexReader
Returns an unpositioned TermDocs enumerator.
termDocs(Term) - Method in class org.apache.lucene.index.IndexReader
Returns an enumeration of all the documents which contain term.
TermEnum - class org.apache.lucene.index.TermEnum.
Abstract class for enumerating terms.
TermEnum() - Constructor for class org.apache.lucene.index.TermEnum
 
TermPositions - interface org.apache.lucene.index.TermPositions.
TermPositions provides an interface for enumerating the <document, frequency, <position>* > tuples for a term.
termPositions() - Method in class org.apache.lucene.index.IndexReader
Returns an unpositioned TermPositions enumerator.
termPositions(Term) - Method in class org.apache.lucene.index.IndexReader
Returns an enumeration of all the documents which contain term.
TermQuery - class org.apache.lucene.search.TermQuery.
A Query that matches documents containing a term.
TermQuery(Term) - Constructor for class org.apache.lucene.search.TermQuery
Constructs a query for the term t.
terms() - Method in class org.apache.lucene.index.IndexReader
Returns an enumeration of all the terms in the index.
terms(Term) - Method in class org.apache.lucene.index.IndexReader
Returns an enumeration of all terms after a given term.
termText() - Method in class org.apache.lucene.analysis.Token
Returns the Token's term text.
text() - Method in class org.apache.lucene.index.Term
Returns the text of this term.
Text(String, Reader) - Static method in class org.apache.lucene.document.Field
Constructs a Reader-valued Field that is tokenized and indexed, but is not stored in the index verbatim.
Text(String, String) - Static method in class org.apache.lucene.document.Field
Constructs a String-valued Field that is tokenized and indexed, and is stored in the index, for return with hits.
timeToString(long) - Static method in class org.apache.lucene.document.DateField
Converts a millisecond time to a string suitable for indexing.
token - Variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
token - Variable in class org.apache.lucene.queryParser.QueryParser
 
Token - class org.apache.lucene.analysis.Token.
A Token is an occurence of a term from the text of a field.
Token - class org.apache.lucene.analysis.standard.Token.
Describes the input token stream.
Token - class org.apache.lucene.queryParser.Token.
Describes the input token stream.
token_source - Variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
token_source - Variable in class org.apache.lucene.queryParser.QueryParser
 
Token() - Constructor for class org.apache.lucene.analysis.standard.Token
 
Token() - Constructor for class org.apache.lucene.queryParser.Token
 
Token(String, int, int) - Constructor for class org.apache.lucene.analysis.Token
Constructs a Token with the given term text, and start & end offsets.
Token(String, int, int, String) - Constructor for class org.apache.lucene.analysis.Token
Constructs a Token with the given text, start and end offsets, & type.
TokenFilter - class org.apache.lucene.analysis.TokenFilter.
A TokenFilter is a TokenStream whose input is another token stream.
TokenFilter() - Constructor for class org.apache.lucene.analysis.TokenFilter
 
tokenImage - Variable in class org.apache.lucene.analysis.standard.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
tokenImage - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
tokenImage - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
tokenImage - Variable in class org.apache.lucene.queryParser.ParseException
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred.
Tokenizer - class org.apache.lucene.analysis.Tokenizer.
A Tokenizer is a TokenStream whose input is a Reader.
Tokenizer() - Constructor for class org.apache.lucene.analysis.Tokenizer
 
TokenMgrError - error org.apache.lucene.analysis.standard.TokenMgrError.
 
TokenMgrError - error org.apache.lucene.queryParser.TokenMgrError.
 
TokenMgrError() - Constructor for class org.apache.lucene.analysis.standard.TokenMgrError
 
TokenMgrError() - Constructor for class org.apache.lucene.queryParser.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class org.apache.lucene.analysis.standard.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class org.apache.lucene.queryParser.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class org.apache.lucene.analysis.standard.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class org.apache.lucene.queryParser.TokenMgrError
 
TokenStream - class org.apache.lucene.analysis.TokenStream.
A TokenStream enumerates the sequence of tokens, either from fields of a document or from query text.
TokenStream() - Constructor for class org.apache.lucene.analysis.TokenStream
 
tokenStream(Reader) - Method in class org.apache.lucene.analysis.Analyzer
Deprecated. use tokenStream(String, Reader) instead.
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.Analyzer
Creates a TokenStream which tokenizes all the text in the provided Reader.
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.WhitespaceAnalyzer
 
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.StopAnalyzer
Filters LowerCaseTokenizer with StopFilter.
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.SimpleAnalyzer
 
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.de.GermanAnalyzer
Creates a TokenStream which tokenizes all the text in the provided Reader.
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
Constructs a StandardTokenizer filtered by a StandardFilter, a LowerCaseFilter and a StopFilter.
top() - Method in class org.apache.lucene.util.PriorityQueue
Returns the least element of the PriorityQueue in constant time.
toString() - Method in class org.apache.lucene.analysis.standard.Token
Returns the image.
toString() - Method in class org.apache.lucene.document.Document
Prints the fields of a document for human consumption.
toString() - Method in class org.apache.lucene.document.Field
Prints a Field for human consumption.
toString() - Method in class org.apache.lucene.index.Term
 
toString() - Method in class org.apache.lucene.queryParser.Token
Returns the image.
toString() - Method in class org.apache.lucene.search.DateFilter
 
toString() - Method in class org.apache.lucene.store.FSDirectory
For debug output.
toString(String) - Method in class org.apache.lucene.search.Query
Prints a query to a string, with field as the default field for terms.
toString(String) - Method in class org.apache.lucene.search.RangeQuery
Prints a user-readable version of this query.
toString(String) - Method in class org.apache.lucene.search.MultiTermQuery
Prints a user-readable version of this query.
toString(String) - Method in class org.apache.lucene.search.PrefixQuery
Prints a user-readable version of this query.
toString(String) - Method in class org.apache.lucene.search.BooleanQuery
Prints a user-readable version of this query.
toString(String) - Method in class org.apache.lucene.search.FuzzyQuery
 
toString(String) - Method in class org.apache.lucene.search.PhraseQuery
Prints a user-readable version of this query.
toString(String) - Method in class org.apache.lucene.search.TermQuery
Prints a user-readable version of this query.
type() - Method in class org.apache.lucene.analysis.Token
Returns this Token's lexical type.

U

UnIndexed(String, String) - Static method in class org.apache.lucene.document.Field
Constructs a String-valued Field that is not tokenized nor indexed, but is stored in the index, for return with hits.
unlock(Directory) - Static method in class org.apache.lucene.index.IndexReader
Forcibly unlocks the index in the named directory.
UnStored(String, String) - Static method in class org.apache.lucene.document.Field
Constructs a String-valued Field that is tokenized and indexed, but that is not stored in the index.

W

WhitespaceAnalyzer - class org.apache.lucene.analysis.WhitespaceAnalyzer.
An Analyzer that uses WhitespaceTokenizer.
WhitespaceAnalyzer() - Constructor for class org.apache.lucene.analysis.WhitespaceAnalyzer
 
WhitespaceTokenizer - class org.apache.lucene.analysis.WhitespaceTokenizer.
A WhitespaceTokenizer is a tokenizer that divides text at whitespace.
WhitespaceTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.WhitespaceTokenizer
Construct a new WhitespaceTokenizer.
WILDCARD_CHAR - Static variable in class org.apache.lucene.search.WildcardTermEnum
 
WILDCARD_STRING - Static variable in class org.apache.lucene.search.WildcardTermEnum
String equality with support for wildcards
wildcardEquals(String, int, String, int) - Static method in class org.apache.lucene.search.WildcardTermEnum
Determines if a word matches a wildcard pattern.
WildcardQuery - class org.apache.lucene.search.WildcardQuery.
Implements the wildcard search query
WildcardQuery(Term) - Constructor for class org.apache.lucene.search.WildcardQuery
 
WildcardTermEnum - class org.apache.lucene.search.WildcardTermEnum.
Subclass of FilteredTermEnum for enumerating all terms that match the specified wildcard filter term.
WildcardTermEnum(IndexReader, Term) - Constructor for class org.apache.lucene.search.WildcardTermEnum
Creates new WildcardTermEnum
WILDTERM - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
WINDOWS - Static variable in class org.apache.lucene.util.Constants
True iff running on Windows.
WordlistLoader - class org.apache.lucene.analysis.de.WordlistLoader.
Loads a text file and adds every line as an entry to a Hashtable.
WordlistLoader() - Constructor for class org.apache.lucene.analysis.de.WordlistLoader
 
write(Directory, String) - Method in class org.apache.lucene.util.BitVector
Writes this vector to the file name in Directory d, in a format that can be read by the constructor BitVector.BitVector(Directory, String).
writeByte(byte) - Method in class org.apache.lucene.store.OutputStream
OutputStream-like methods @see java.io.InputStream
writeBytes(byte[], int) - Method in class org.apache.lucene.store.OutputStream
 
writeChars(String, int, int) - Method in class org.apache.lucene.store.OutputStream
 
writeInt(int) - Method in class org.apache.lucene.store.OutputStream
 
writeLong(long) - Method in class org.apache.lucene.store.OutputStream
 
writeString(String) - Method in class org.apache.lucene.store.OutputStream
 
writeVInt(int) - Method in class org.apache.lucene.store.OutputStream
 
writeVLong(long) - Method in class org.apache.lucene.store.OutputStream
 

_

_ESCAPED_CHAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
_NUM_CHAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
_TERM_CHAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
_TERM_START_CHAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
_WHITESPACE - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 

A B C D E F G H I J K L M N O P Q R S T U W _

Copyright © 2000-2002 Apache Software Foundation. All Rights Reserved.