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
 
ALPHA - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
ALPHANUM - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
AND - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
APOSTROPHE - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
AUTO - Static variable in class org.apache.lucene.search.SortField
Guess type of sort based on field contents.
After(String, Date) - Static method in class org.apache.lucene.search.DateFilter
Constructs a filter for field f matching dates on or after date.
After(String, long) - Static method in class org.apache.lucene.search.DateFilter
Constructs a filter for field f matching times on or after time.
Analyzer - class org.apache.lucene.analysis.Analyzer.
An Analyzer builds TokenStreams, which analyze text.
Analyzer() - Constructor for class org.apache.lucene.analysis.Analyzer
 
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(BooleanClause) - Method in class org.apache.lucene.search.BooleanQuery
Adds a clause to a boolean query.
add(Term) - Method in class org.apache.lucene.search.PhrasePrefixQuery
Add a single term at the next position in the phrase.
add(Term[]) - Method in class org.apache.lucene.search.PhrasePrefixQuery
Add multiple terms at the next position in the phrase.
add(Term[], int) - Method in class org.apache.lucene.search.PhrasePrefixQuery
Allows to specify the relative position of terms within the phrase.
add(Term) - Method in class org.apache.lucene.search.PhraseQuery
Adds a term to the end of the query phrase.
add(Term, int) - Method in class org.apache.lucene.search.PhraseQuery
Adds a term to the end of the query phrase.
addAnalyzer(String, Analyzer) - Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
Defines an analyzer to use for the specified field.
addClause(Vector, int, int, Query) - Method in class org.apache.lucene.queryParser.QueryParser
 
addDetail(Explanation) - Method in class org.apache.lucene.search.Explanation
Adds a sub-node to this explanation node.
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().
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.
addIndexes(IndexReader[]) - Method in class org.apache.lucene.index.IndexWriter
Merges the provided indexes into this index.
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.
adjustTop() - Method in class org.apache.lucene.util.PriorityQueue
Should be called when the Object at top changes values.

B

Before(String, Date) - Static method in class org.apache.lucene.search.DateFilter
Constructs a filter for field f matching dates on or before before date.
Before(String, long) - Static method in class org.apache.lucene.search.DateFilter
Constructs a filter for field f matching times on or before time.
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
 
BitVector - class org.apache.lucene.util.BitVector.
Optimized implementation of a vector of bits.
BitVector(int) - Constructor for class org.apache.lucene.util.BitVector
Constructs a vector capable of holding n 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 write(org.apache.lucene.store.Directory, java.lang.String) method.
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.
BooleanQuery.TooManyClauses - exception org.apache.lucene.search.BooleanQuery.TooManyClauses.
Thrown when an attempt is made to add more than BooleanQuery.getMaxClauseCount() clauses.
BooleanQuery.TooManyClauses() - Constructor for class org.apache.lucene.search.BooleanQuery.TooManyClauses
 
Boost - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
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
 
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.
bits(IndexReader) - Method in class org.apache.lucene.search.CachingWrapperFilter
 
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.
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.QueryFilter
 

C

CARAT - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
CJK - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
COLON - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
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.
COMPANY - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
CP1251 - Static variable in class org.apache.lucene.analysis.ru.RussianCharsets
 
CUSTOM - Static variable in class org.apache.lucene.search.SortField
Sort using a custom Comparator.
CachingWrapperFilter - class org.apache.lucene.search.CachingWrapperFilter.
Wraps another filters result and caches it.
CachingWrapperFilter(Filter) - Constructor for class org.apache.lucene.search.CachingWrapperFilter
 
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
 
Conjunction() - Method in class org.apache.lucene.queryParser.QueryParser
 
Constants - class org.apache.lucene.util.Constants.
Some useful constants.
clear(int) - Method in class org.apache.lucene.util.BitVector
Sets the value of bit to zero.
clear() - Method in class org.apache.lucene.util.PriorityQueue
Removes all entries from the PriorityQueue.
clone() - Method in class org.apache.lucene.search.BooleanQuery
 
clone() - Method in class org.apache.lucene.search.Query
Returns a clone of this query.
clone() - Method in class org.apache.lucene.store.InputStream
Returns a clone of this stream.
close() - Method in class org.apache.lucene.analysis.TokenFilter
Close the input TokenStream.
close() - Method in class org.apache.lucene.analysis.TokenStream
Releases resources associated with this stream.
close() - Method in class org.apache.lucene.analysis.Tokenizer
By default, closes the input Reader.
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.MultipleTermPositions
Describe close method here.
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.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
Note that the underlying IndexReader is not closed, if IndexSearcher was constructed with IndexSearcher(IndexReader r).
close() - Method in class org.apache.lucene.search.MultiSearcher
 
close() - Method in class org.apache.lucene.search.RemoteSearchable
 
close() - Method in interface org.apache.lucene.search.Searchable
Frees resources associated with this Searcher.
close() - Method in class org.apache.lucene.search.WildcardTermEnum
 
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.InputStream
Closes the stream to futher operations.
close() - Method in class org.apache.lucene.store.OutputStream
Closes this stream to further operations.
close() - Method in class org.apache.lucene.store.RAMDirectory
Closes the store to future operations.
close() - Method in class org.apache.lucene.store.RAMOutputStream
 
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.
combine(Query[]) - Method in class org.apache.lucene.search.MultiTermQuery
 
combine(Query[]) - Method in class org.apache.lucene.search.PrefixQuery
 
combine(Query[]) - Method in class org.apache.lucene.search.Query
Expert: called when re-writing queries under MultiSearcher.
combine(Query[]) - Method in class org.apache.lucene.search.RangeQuery
 
commit() - Method in class org.apache.lucene.index.IndexReader
Commit changes resulting from delete, undeleteAll, or setNorm operations
compare(ScoreDoc, ScoreDoc) - Method in interface org.apache.lucene.search.ScoreDocComparator
Compares two ScoreDoc objects and returns a result indicating their sort order.
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.
coord(int, int) - Method in class org.apache.lucene.search.DefaultSimilarity
Implemented as overlap / maxOverlap.
coord(int, int) - Method in class org.apache.lucene.search.Similarity
Computes a score factor based on the fraction of all query terms that a document contains.
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.
createWeight(Searcher) - Method in class org.apache.lucene.search.BooleanQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.FilteredQuery
Returns a Weight that applies the filter to the enclosed query's Weight.
createWeight(Searcher) - Method in class org.apache.lucene.search.PhrasePrefixQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.PhraseQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.Query
Expert: Constructs an appropriate Weight implementation for this query.
createWeight(Searcher) - Method in class org.apache.lucene.search.TermQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.spans.SpanQuery
 
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

DEFAULT - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
DEFAULT - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
DEFAULT - Static variable in interface org.apache.lucene.search.FieldCache
Expert: The cache used internally by sorting and range query classes.
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.
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.
DEFAULT_OPERATOR_AND - Static variable in class org.apache.lucene.queryParser.QueryParser
 
DEFAULT_OPERATOR_OR - Static variable in class org.apache.lucene.queryParser.QueryParser
 
DIGIT - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
DOC - Static variable in class org.apache.lucene.search.SortField
Sort by document number (index order).
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 inclusively.
DateFilter(String, long, long) - Constructor for class org.apache.lucene.search.DateFilter
Constructs a filter for field f matching times between from and to inclusively.
DefaultSimilarity - class org.apache.lucene.search.DefaultSimilarity.
Expert: Default scoring implementation.
DefaultSimilarity() - Constructor for class org.apache.lucene.search.DefaultSimilarity
 
Directory - class org.apache.lucene.store.Directory.
A Directory is a flat list of files.
Directory() - Constructor for class org.apache.lucene.store.Directory
 
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.
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
 
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
 
decodeNorm(byte) - Static method in class org.apache.lucene.search.Similarity
Decodes a normalization factor stored in an index.
defaultMinSimilarity - Static variable in class org.apache.lucene.search.FuzzyQuery
 
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
 
directory() - Method in class org.apache.lucene.index.IndexReader
Returns the directory this index resides in.
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.
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
 
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
 
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
 
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
 
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
 
doc() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
doc() - Method in class org.apache.lucene.index.MultipleTermPositions
Describe doc method here.
doc() - Method in interface org.apache.lucene.index.TermDocs
Returns the current document number.
doc(int) - Method in class org.apache.lucene.search.Hits
Returns the stored fields of the nth document in this set.
doc(int) - Method in class org.apache.lucene.search.IndexSearcher
 
doc(int) - Method in class org.apache.lucene.search.MultiSearcher
 
doc(int) - Method in class org.apache.lucene.search.RemoteSearchable
 
doc - Variable in class org.apache.lucene.search.ScoreDoc
Expert: A hit document's number.
doc() - Method in class org.apache.lucene.search.Scorer
Returns the current document number.
doc(int) - Method in interface org.apache.lucene.search.Searchable
Expert: Returns the stored fields of document i.
doc() - Method in interface org.apache.lucene.search.spans.Spans
Returns the document number of the current match.
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.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() - 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.search.IndexSearcher
 
docFreq(Term) - Method in class org.apache.lucene.search.MultiSearcher
 
docFreq(Term) - Method in class org.apache.lucene.search.ParallelMultiSearcher
TODO: parallelize this one too
docFreq(Term) - Method in class org.apache.lucene.search.RemoteSearchable
 
docFreq(Term) - Method in interface org.apache.lucene.search.Searchable
Expert: Returns the number of documents containing term.
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 nth Document in this index.
document(int) - Method in class org.apache.lucene.index.MultiReader
 

E

EMAIL - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
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
 
Explanation - class org.apache.lucene.search.Explanation.
Expert: Describes the score computation for document and query.
Explanation() - Constructor for class org.apache.lucene.search.Explanation
 
Explanation(float, String) - Constructor for class org.apache.lucene.search.Explanation
 
enable_tracing() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
enable_tracing() - Method in class org.apache.lucene.queryParser.QueryParser
 
encodeNorm(float) - Static method in class org.apache.lucene.search.Similarity
Encodes a normalization factor for storage in an index.
end() - Method in interface org.apache.lucene.search.spans.Spans
Returns the end position of the current match.
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.
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.
equals(Object) - Method in class org.apache.lucene.search.BooleanClause
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.BooleanQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.FilteredQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.PhraseQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.TermQuery
Returns true iff o is equal to this.
escape(String) - Static method in class org.apache.lucene.queryParser.QueryParser
Returns a String where those characters that QueryParser expects to be escaped are escaped, i.e.
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.
explain(Query, int) - Method in class org.apache.lucene.search.IndexSearcher
 
explain(Query, int) - Method in class org.apache.lucene.search.MultiSearcher
 
explain(Query, int) - Method in class org.apache.lucene.search.RemoteSearchable
 
explain(int) - Method in class org.apache.lucene.search.Scorer
Returns an explanation of the score for doc.
explain(Query, int) - Method in interface org.apache.lucene.search.Searchable
Returns an Explanation that describes how doc scored against query.
explain(IndexReader, int) - Method in interface org.apache.lucene.search.Weight
An explanation of the score computation for the named document.

F

FIELD_DOC - Static variable in class org.apache.lucene.search.SortField
Represents sorting by document number (index order).
FIELD_SCORE - Static variable in class org.apache.lucene.search.SortField
Represents sorting by document score (relevancy).
FLOAT - Static variable in class org.apache.lucene.search.SortField
Sort using term values as encoded Floats.
FSDirectory - class org.apache.lucene.store.FSDirectory.
Straightforward implementation of Directory as a directory of files.
FUZZY_SLOP - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
FastCharStream - class org.apache.lucene.analysis.standard.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 - class org.apache.lucene.queryParser.FastCharStream.
An efficient implementation of JavaCC's CharStream interface.
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(String, String, boolean, boolean, boolean) - Constructor for class org.apache.lucene.document.Field
Create a field by specifying all parameters except for storeTermVector, which is set to false.
Field(String, String, boolean, boolean, boolean, boolean) - Constructor for class org.apache.lucene.document.Field
 
FieldCache - interface org.apache.lucene.search.FieldCache.
Expert: Maintains caches of term values.
FieldCache.StringIndex - class org.apache.lucene.search.FieldCache.StringIndex.
Expert: Stores term text values and document ordering data.
FieldCache.StringIndex(int[], String[]) - Constructor for class org.apache.lucene.search.FieldCache.StringIndex
Creates one of these objects
FieldDoc - class org.apache.lucene.search.FieldDoc.
Expert: A ScoreDoc which also contains information about how to sort the referenced document.
FieldDoc(int, float) - Constructor for class org.apache.lucene.search.FieldDoc
Expert: Creates one of these objects with empty sort information.
FieldDoc(int, float, Comparable[]) - Constructor for class org.apache.lucene.search.FieldDoc
Expert: Creates one of these objects with the given sort information.
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
 
FilterIndexReader - class org.apache.lucene.index.FilterIndexReader.
A FilterIndexReader contains another IndexReader, which it uses as its basic source of data, possibly transforming the data along the way or providing additional functionality.
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
 
FilteredQuery - class org.apache.lucene.search.FilteredQuery.
A query that applies a filter to the results of another query.
FilteredQuery(Query, Filter) - Constructor for class org.apache.lucene.search.FilteredQuery
Constructs a new query which applies a filter to the results of the original query.
FilteredTermEnum - class org.apache.lucene.search.FilteredTermEnum.
Abstract class for enumerating a subset of all terms.
FilteredTermEnum() - Constructor for class org.apache.lucene.search.FilteredTermEnum
 
FuzzyQuery - class org.apache.lucene.search.FuzzyQuery.
Implements the fuzzy search query.
FuzzyQuery(Term, float, int) - Constructor for class org.apache.lucene.search.FuzzyQuery
Create a new FuzzyQuery that will match terms with a similarity of at least minimumSimilarity to term.
FuzzyQuery(Term, float) - Constructor for class org.apache.lucene.search.FuzzyQuery
Calls FuzzyQuery(term, minimumSimilarity, 0).
FuzzyQuery(Term) - Constructor for class org.apache.lucene.search.FuzzyQuery
Calls FuzzyQuery(term, 0.5f, 0).
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
Empty prefix and minSimilarity of 0.5f are used.
FuzzyTermEnum(IndexReader, Term, float) - Constructor for class org.apache.lucene.search.FuzzyTermEnum
This is the standard FuzzyTermEnum with an empty prefix.
FuzzyTermEnum(IndexReader, Term, float, int) - Constructor for class org.apache.lucene.search.FuzzyTermEnum
Constructor for enumeration of all terms from specified reader which share a prefix of length prefixLength with term and which have a fuzzy similarity > minSimilarity.
field() - Method in class org.apache.lucene.index.Term
Returns the field of this term, an interned string.
fields() - Method in class org.apache.lucene.document.Document
Returns an Enumeration of all the fields in a document.
fields - Variable in class org.apache.lucene.search.FieldDoc
Expert: The values which are used to sort the referenced document.
fields - Variable in class org.apache.lucene.search.TopFieldDocs
The fields which were used to sort results by.
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(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(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.RAMDirectory
Returns the time the named file was last modified.
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
Forces any buffered output to be written.
flushBuffer(byte[], int) - Method in class org.apache.lucene.store.OutputStream
Expert: implements buffer write.
flushBuffer(byte[], int) - Method in class org.apache.lucene.store.RAMOutputStream
 
freq() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
freq() - Method in class org.apache.lucene.index.MultipleTermPositions
Describe freq method here.
freq() - Method in interface org.apache.lucene.index.TermDocs
Returns the frequency of the term within the current document.

G

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(String[]) - 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(File) - 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
Deprecated. Use GermanStemFilter.GermanStemFilter(org.apache.lucene.analysis.TokenStream, java.util.Set) instead.
GermanStemFilter(TokenStream, Set) - 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
 
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
 
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
 
generateParseException() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
generateParseException() - Method in class org.apache.lucene.queryParser.QueryParser
 
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.
get(int) - Method in class org.apache.lucene.util.BitVector
Returns true if bit is one and false if it is zero.
getAnalyzer() - Method in class org.apache.lucene.index.IndexWriter
Returns the analyzer used by this index.
getAnalyzer() - Method in class org.apache.lucene.queryParser.QueryParser
 
getAuto(IndexReader, String) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found reads field to see if it contains integers, floats or strings, and then calls one of the other methods in this class to get the values.
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
 
getBooleanQuery(Vector) - Method in class org.apache.lucene.queryParser.QueryParser
Factory method for generating query, given a set of clauses.
getBoost() - Method in class org.apache.lucene.document.Document
Returns the boost factor for hits on any field of this document.
getBoost() - Method in class org.apache.lucene.document.Field
Returns the boost factor for hits on any field of this document.
getBoost() - Method in class org.apache.lucene.search.Query
Gets the boost for this clause.
getClauses() - Method in class org.apache.lucene.search.BooleanQuery
Returns the set of clauses in this query.
getClauses() - Method in class org.apache.lucene.search.spans.SpanNearQuery
Return the clauses whose spans are matched.
getClauses() - Method in class org.apache.lucene.search.spans.SpanOrQuery
Return the clauses whose spans are matched.
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
 
getComparable(String) - Method in class org.apache.lucene.search.SortComparator
Returns an object which, when sorted according to natural order, will order the Term values in the correct order.
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.
getCustom(IndexReader, String, SortComparator) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found reads the terms out of field and calls the given SortComparator to get the sort values.
getDefault() - Static method in class org.apache.lucene.search.Similarity
Return the default Similarity implementation used by indexing and search code.
getDescription() - Method in class org.apache.lucene.search.Explanation
A description of this explanation node.
getDetails() - Method in class org.apache.lucene.search.Explanation
The sub-nodes of this explanation node.
getDirectory(String, boolean) - Static method in class org.apache.lucene.store.FSDirectory
Returns the directory instance for the named location.
getDirectory(File, boolean) - Static method in class org.apache.lucene.store.FSDirectory
Returns the directory instance for the named location.
getEnd() - Method in class org.apache.lucene.search.spans.SpanFirstQuery
Return the maximum end position permitted in a match.
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
 
getEnum(IndexReader) - Method in class org.apache.lucene.search.FuzzyQuery
 
getEnum(IndexReader) - Method in class org.apache.lucene.search.MultiTermQuery
Construct the enumeration to be used, expanding the pattern term.
getEnum(IndexReader) - Method in class org.apache.lucene.search.WildcardQuery
 
getExclude() - Method in class org.apache.lucene.search.spans.SpanNotQuery
Return the SpanQuery whose matches must not overlap those returned.
getFactory() - Method in class org.apache.lucene.search.SortField
 
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.
getField() - Method in interface org.apache.lucene.index.TermFreqVector
 
getField() - Method in class org.apache.lucene.queryParser.QueryParser
 
getField() - Method in class org.apache.lucene.search.QueryTermVector
 
getField() - Method in class org.apache.lucene.search.RangeQuery
Returns the field name for this query
getField() - Method in class org.apache.lucene.search.SortField
Returns the name of the field.
getField() - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
getField() - Method in class org.apache.lucene.search.spans.SpanNearQuery
 
getField() - Method in class org.apache.lucene.search.spans.SpanNotQuery
 
getField() - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
getField() - Method in class org.apache.lucene.search.spans.SpanQuery
Returns the name of the field matched by this query.
getField() - Method in class org.apache.lucene.search.spans.SpanTermQuery
 
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
 
getFieldQuery(String, Analyzer, String) - Method in class org.apache.lucene.queryParser.QueryParser
Note that parameter analyzer is ignored.
getFieldQuery(String, String) - Method in class org.apache.lucene.queryParser.QueryParser
 
getFieldQuery(String, Analyzer, String, int) - Method in class org.apache.lucene.queryParser.QueryParser
Base implementation delegates to QueryParser.getFieldQuery(String, Analyzer, String).
getFieldQuery(String, String, int) - Method in class org.apache.lucene.queryParser.QueryParser
Base implementation delegates to QueryParser.getFieldQuery(String,String).
getFields(String) - Method in class org.apache.lucene.document.Document
Returns an array of Fields with the given name.
getFile() - Method in class org.apache.lucene.store.FSDirectory
 
getFilePointer() - Method in class org.apache.lucene.store.InputStream
Returns the current position in this file, where the next read will occur.
getFilePointer() - Method in class org.apache.lucene.store.OutputStream
Returns the current position in this file, where the next write will occur.
getFloats(IndexReader, String) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as floats and returns an array of size reader.maxDoc() of the value each document has in the given field.
getFuzzyMinSim() - Method in class org.apache.lucene.queryParser.QueryParser
Get the default minimal similarity for fuzzy queries.
getFuzzyQuery(String, String) - Method in class org.apache.lucene.queryParser.QueryParser
Factory method for generating a query (similar to (QueryParser.getWildcardQuery(java.lang.String, java.lang.String)).
getFuzzyQuery(String, String, float) - Method in class org.apache.lucene.queryParser.QueryParser
Factory method for generating a query (similar to (QueryParser.getWildcardQuery(java.lang.String, java.lang.String)).
getInclude() - Method in class org.apache.lucene.search.spans.SpanNotQuery
Return the SpanQuery whose matches are filtered.
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
 
getInts(IndexReader, String) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the terms in field as integers and returns an array of size reader.maxDoc() of the value each document has in the given field.
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
 
getLocale() - Method in class org.apache.lucene.queryParser.QueryParser
Returns current locale, allowing access by subclasses.
getLocale() - Method in class org.apache.lucene.search.SortField
Returns the Locale by which term values are interpreted.
getLowerTerm() - Method in class org.apache.lucene.search.RangeQuery
Returns the lower term of this range query
getLowercaseWildcardTerms() - Method in class org.apache.lucene.queryParser.QueryParser
 
getMatch() - Method in class org.apache.lucene.search.spans.SpanFirstQuery
Return the SpanQuery whose matches are filtered.
getMaxClauseCount() - Static method in class org.apache.lucene.search.BooleanQuery
Return the maximum number of clauses permitted, 1024 by default.
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.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in class org.apache.lucene.queryParser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMinSimilarity() - Method in class org.apache.lucene.search.FuzzyQuery
Returns the minimum similarity that is required for this query to match.
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
 
getOperator() - Method in class org.apache.lucene.queryParser.QueryParser
Gets implicit operator setting, which will be either DEFAULT_OPERATOR_AND or DEFAULT_OPERATOR_OR.
getPhraseSlop() - Method in class org.apache.lucene.queryParser.QueryParser
Gets the default slop for phrases.
getPositionIncrement() - Method in class org.apache.lucene.analysis.Token
Returns the position increment of this Token.
getPositions() - Method in class org.apache.lucene.search.PhrasePrefixQuery
Returns the relative positions of terms in this phrase.
getPositions() - Method in class org.apache.lucene.search.PhraseQuery
Returns the relative positions of terms in this phrase.
getPrefix() - Method in class org.apache.lucene.search.PrefixQuery
Returns the prefix of this query.
getPrefixLength() - Method in class org.apache.lucene.search.FuzzyQuery
Returns the prefix length, i.e.
getPrefixQuery(String, String) - Method in class org.apache.lucene.queryParser.QueryParser
Factory method for generating a query (similar to (QueryParser.getWildcardQuery(java.lang.String, java.lang.String)).
getQuery() - Method in class org.apache.lucene.search.FilteredQuery
 
getQuery() - Method in interface org.apache.lucene.search.Weight
The query that this concerns.
getRangeQuery(String, Analyzer, String, String, boolean) - Method in class org.apache.lucene.queryParser.QueryParser
Note that parameter analyzer is ignored.
getRangeQuery(String, String, String, boolean) - Method in class org.apache.lucene.queryParser.QueryParser
 
getReverse() - Method in class org.apache.lucene.search.SortField
Returns whether the sort should be reversed.
getSimilarity() - Method in class org.apache.lucene.index.IndexWriter
Expert: Return the Similarity implementation used by this IndexWriter.
getSimilarity(Searcher) - Method in class org.apache.lucene.search.Query
Expert: Returns the Similarity implementation to be used for this query.
getSimilarity() - Method in class org.apache.lucene.search.Scorer
Returns the Similarity implementation used by this scorer.
getSimilarity() - Method in class org.apache.lucene.search.Searcher
Expert: Return the Similarity implementation used by this Searcher.
getSlop() - Method in class org.apache.lucene.search.PhrasePrefixQuery
Sets the phrase slop for this query.
getSlop() - Method in class org.apache.lucene.search.PhraseQuery
Returns the slop.
getSlop() - Method in class org.apache.lucene.search.spans.SpanNearQuery
Return the maximum number of intervening unmatched positions permitted.
getSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
getSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanNearQuery
 
getSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanNotQuery
 
getSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
getSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanQuery
Expert: Returns the matches for this query in an index.
getSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanTermQuery
 
getStarts() - Method in class org.apache.lucene.search.MultiSearcher
 
getStringIndex(IndexReader, String) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found reads the term values in field and returns an array of them in natural order, along with an array telling which element in the term array each document uses.
getStrings(IndexReader, String) - Method in interface org.apache.lucene.search.FieldCache
Checks the internal cache for an appropriate entry, and if none is found, reads the term values in field and returns an array of size reader.maxDoc() containing the value each document has in the given field.
getTerm() - Method in class org.apache.lucene.search.MultiTermQuery
Returns the pattern term.
getTerm() - Method in class org.apache.lucene.search.TermQuery
Returns the term of this query.
getTerm() - Method in class org.apache.lucene.search.spans.SpanTermQuery
Return the term whose spans are matched.
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
 
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.
getTermFrequencies() - Method in interface org.apache.lucene.index.TermFreqVector
Array of term frequencies.
getTermFrequencies() - Method in class org.apache.lucene.search.QueryTermVector
 
getTermPositions(int) - Method in interface org.apache.lucene.index.TermPositionVector
Returns an array of positions in which the term is found.
getTerms() - Method in interface org.apache.lucene.index.TermFreqVector
 
getTerms() - Method in class org.apache.lucene.search.PhraseQuery
Returns the set of terms in this phrase.
getTerms() - Method in class org.apache.lucene.search.QueryTermVector
 
getTerms() - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
getTerms() - Method in class org.apache.lucene.search.spans.SpanNearQuery
 
getTerms() - Method in class org.apache.lucene.search.spans.SpanNotQuery
 
getTerms() - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
getTerms() - Method in class org.apache.lucene.search.spans.SpanQuery
Returns a collection of all terms matched by this query.
getTerms() - Method in class org.apache.lucene.search.spans.SpanTermQuery
 
getToken(int) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
getToken(int) - Method in class org.apache.lucene.queryParser.QueryParser
 
getType() - Method in class org.apache.lucene.search.SortField
Returns the type of contents in the field.
getUpperTerm() - Method in class org.apache.lucene.search.RangeQuery
Returns the upper term of this range query
getUseCompoundFile() - Method in class org.apache.lucene.index.IndexWriter
Setting to turn on usage of a compound file.
getValue() - Method in class org.apache.lucene.search.Explanation
The value assigned to this explanation node.
getValue() - Method in interface org.apache.lucene.search.Weight
The weight for this query.
getValues(String) - Method in class org.apache.lucene.document.Document
Returns an array of values of the field specified as the method parameter.
getWildcardQuery(String, String) - Method in class org.apache.lucene.queryParser.QueryParser
Factory method for generating a query.
getWordSet(File) - Static method in class org.apache.lucene.analysis.de.WordlistLoader
Loads a text file and adds every line as an entry to a HashSet (omitting leading and trailing whitespace).
getWordtable(String, String) - Static method in class org.apache.lucene.analysis.de.WordlistLoader
Deprecated. Use WordlistLoader.getWordSet(File) getWordSet(File)} instead
getWordtable(String) - Static method in class org.apache.lucene.analysis.de.WordlistLoader
Deprecated. Use WordlistLoader.getWordSet(File) getWordSet(File)} instead
getWordtable(File) - Static method in class org.apache.lucene.analysis.de.WordlistLoader
Deprecated. Use WordlistLoader.getWordSet(File) getWordSet(File)} instead

H

HAS_DIGIT - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
HOST - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
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.
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() - Method in class org.apache.lucene.index.MultiReader
 
hashCode() - Method in class org.apache.lucene.index.Term
Combines the hashCode() of the field and the text.
hashCode() - Method in class org.apache.lucene.search.BooleanClause
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.search.BooleanQuery
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.search.FilteredQuery
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.search.PhraseQuery
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.search.TermQuery
Returns a hash code value for this object.

I

INDEXORDER - Static variable in interface org.apache.lucene.search.ScoreDocComparator
Special comparator for sorting hits according to index order (document number).
INDEXORDER - Static variable in class org.apache.lucene.search.Sort
Represents sorting by index order.
INT - Static variable in class org.apache.lucene.search.SortField
Sort using term values as encoded Integers.
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.
IndexSearcher - class org.apache.lucene.search.IndexSearcher.
Implements search over a single IndexReader.
IndexSearcher(String) - Constructor for class org.apache.lucene.search.IndexSearcher
Creates a searcher searching the index in the named directory.
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.
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.
InputStream - class org.apache.lucene.store.InputStream.
Abstract base class for input from a file in a Directory.
InputStream() - Constructor for class org.apache.lucene.store.InputStream
 
id(int) - Method in class org.apache.lucene.search.Hits
Returns the id for the nth document in this set.
idf(int, int) - Method in class org.apache.lucene.search.DefaultSimilarity
Implemented as log(numDocs/(docFreq+1)) + 1.
idf(Term, Searcher) - Method in class org.apache.lucene.search.Similarity
Computes a score factor for a simple term.
idf(Collection, Searcher) - Method in class org.apache.lucene.search.Similarity
Computes a score factor for a phrase.
idf(int, int) - Method in class org.apache.lucene.search.Similarity
Computes a score factor based on a term's document frequency (the number of documents which contain the term).
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.
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
 
indexExists(String) - 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(Directory) - Static method in class org.apache.lucene.index.IndexReader
Returns true if an index exists at the specified directory.
indexOf(String) - Method in interface org.apache.lucene.index.TermFreqVector
Return an index in the term numbers array returned from getTerms at which the term with the specified term appears.
indexOf(String) - Method in class org.apache.lucene.search.QueryTermVector
 
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.
indexesOf(String[], int, int) - Method in class org.apache.lucene.search.QueryTermVector
 
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.
input_stream - Variable in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
input_stream - Variable in class org.apache.lucene.queryParser.QueryParserTokenManager
 
insert(Object) - Method in class org.apache.lucene.util.PriorityQueue
Adds element to the PriorityQueue in log(size) time if either the PriorityQueue is not full, or not lessThan(element, top()).
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
 
isInOrder() - Method in class org.apache.lucene.search.spans.SpanNearQuery
Return true if matches are required to be in-order.
isInclusive() - Method in class org.apache.lucene.search.RangeQuery
Returns true if the range query is inclusive
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.
isLocked() - Method in class org.apache.lucene.store.Lock
Returns true if the resource 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.
isTermVectorStored() - Method in class org.apache.lucene.document.Field
True iff the term or terms used to index this field are stored as a term vector, available from IndexReader.getTermFreqVector(int,String).
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).
isTokenChar(char) - Method in class org.apache.lucene.analysis.ru.RussianLetterTokenizer
Collects only characters which satisfy Character.isLetter(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").
jjFillToken() - Method in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
jjFillToken() - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
 
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

KOI8 - Static variable in class org.apache.lucene.analysis.ru.RussianCharsets
 
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.
Keyword(String, Date) - Static method in class org.apache.lucene.document.Field
Constructs a Date-valued Field that is not tokenized and is indexed, and stored in the index, for return with hits.
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

LETTER - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
LINUX - Static variable in class org.apache.lucene.util.Constants
True iff running on Linux.
LOCK_DIR - Static variable in class org.apache.lucene.store.FSDirectory
Directory specified by org.apache.lucene.lockdir or java.io.tmpdir system property
LOCK_POLL_INTERVAL - Static variable in class org.apache.lucene.store.Lock
 
LPAREN - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
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.
LexicalError(boolean, int, int, int, String, char) - Static method in class org.apache.lucene.analysis.standard.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
LexicalError(boolean, int, int, int, String, char) - Static method in class org.apache.lucene.queryParser.TokenMgrError
Returns a detailed message for the Error when it is thrown by the token manager to indicate a lexical error.
Lock - class org.apache.lucene.store.Lock.
An interprocess mutex lock.
Lock() - Constructor for class org.apache.lucene.store.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
Deprecated. Kept only to avoid breaking existing code.
Lock.With(Lock, long) - Constructor for class org.apache.lucene.store.Lock.With
Constructs an executor that will grab the named lock.
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.
lastModified(String) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Replaced by IndexReader.getCurrentVersion(String)
lastModified(File) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Replaced by IndexReader.getCurrentVersion(File)
lastModified(Directory) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Replaced by IndexReader.getCurrentVersion(Directory)
length() - Method in class org.apache.lucene.search.Hits
Returns the total number of hits available in this set.
length - Variable in class org.apache.lucene.store.InputStream
 
length() - Method in class org.apache.lucene.store.InputStream
The number of bytes in the file.
length() - Method in class org.apache.lucene.store.OutputStream
The number of bytes in the file.
length() - Method in class org.apache.lucene.store.RAMOutputStream
 
lengthNorm(String, int) - Method in class org.apache.lucene.search.DefaultSimilarity
Implemented as 1/sqrt(numTerms).
lengthNorm(String, int) - Method in class org.apache.lucene.search.Similarity
Computes the normalization value for a field given the total number of terms contained in a field.
lessThan(Object, Object) - Method in class org.apache.lucene.util.PriorityQueue
Determines the ordering of objects in this priority queue.
lexStateNames - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
lexStateNames - Static variable in class org.apache.lucene.queryParser.QueryParserTokenManager
 
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.
lookingAhead - Variable in class org.apache.lucene.queryParser.QueryParser
 
lookup - Variable in class org.apache.lucene.search.FieldCache.StringIndex
All the term values, in natural order.

M

MAX_DATE_STRING() - Static method in class org.apache.lucene.document.DateField
 
MINUS - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
MIN_DATE_STRING() - Static method in class org.apache.lucene.document.DateField
 
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(QueryParserTokenManager) - Constructor for class org.apache.lucene.queryParser.MultiFieldQueryParser
 
MultiFieldQueryParser(CharStream) - Constructor for class org.apache.lucene.queryParser.MultiFieldQueryParser
 
MultiFieldQueryParser(String, Analyzer) - Constructor for class org.apache.lucene.queryParser.MultiFieldQueryParser
 
MultiReader - class org.apache.lucene.index.MultiReader.
An IndexReader which reads multiple indexes, appending their content.
MultiReader(IndexReader[]) - Constructor for class org.apache.lucene.index.MultiReader
Construct a MultiReader aggregating the named set of (sub)readers.
MultiSearcher - class org.apache.lucene.search.MultiSearcher.
Implements search over a set of Searchables.
MultiSearcher(Searchable[]) - Constructor for class org.apache.lucene.search.MultiSearcher
Creates a searcher which searches searchables.
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.
MultipleTermPositions - class org.apache.lucene.index.MultipleTermPositions.
Describe class MultipleTermPositions here.
MultipleTermPositions(IndexReader, Term[]) - Constructor for class org.apache.lucene.index.MultipleTermPositions
Creates a new MultipleTermPositions instance.
main(String[]) - Static method in class org.apache.lucene.queryParser.QueryParser
 
main(String[]) - Static method in class org.apache.lucene.search.RemoteSearchable
Exports a searcher for the index in args[0] named "//localhost/Searchable".
makeLock(String) - Method in class org.apache.lucene.store.Directory
Construct a Lock.
makeLock(String) - Method in class org.apache.lucene.store.FSDirectory
Constructs a Lock with the specified name.
makeLock(String) - Method in class org.apache.lucene.store.RAMDirectory
Construct a Lock.
makeStopSet(String[]) - Static method in class org.apache.lucene.analysis.StopFilter
Builds a Set from an array of stop words, appropriate for passing into the StopFilter constructor.
makeStopTable(String[]) - Static method in class org.apache.lucene.analysis.StopFilter
Deprecated. Use StopFilter.makeStopSet(String[]) instead.
maxClauseCount - Static variable in class org.apache.lucene.search.BooleanQuery
Default value is 1024.
maxDoc() - Method in class org.apache.lucene.index.FilterIndexReader
 
maxDoc() - Method in class org.apache.lucene.index.IndexReader
Returns one greater than the largest possible document number.
maxDoc() - Method in class org.apache.lucene.index.MultiReader
 
maxDoc() - Method in class org.apache.lucene.search.IndexSearcher
 
maxDoc() - Method in class org.apache.lucene.search.MultiSearcher
 
maxDoc() - Method in class org.apache.lucene.search.RemoteSearchable
 
maxDoc() - Method in interface org.apache.lucene.search.Searchable
Expert: 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().
mergeBooleanQueries(Query[]) - Static method in class org.apache.lucene.search.Query
Expert: merges the clauses of a set of BooleanQuery's into a single BooleanQuery.
mergeFactor - Variable in class org.apache.lucene.index.IndexWriter
Determines how often segment indices are merged by addDocument().
minMergeDocs - Variable in class org.apache.lucene.index.IndexWriter
Determines the minimal number of documents required before the buffered in-memory documents are merging and a new Segment is created.

N

NOISE - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
NORMAL_FIELD - Static variable in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
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
 
name() - Method in class org.apache.lucene.document.Field
The name of the field (e.g., "date", "subject", "title", or "body") as an interned string.
newComparator(IndexReader, String) - Method in class org.apache.lucene.search.SortComparator
 
newComparator(IndexReader, String) - Method in interface org.apache.lucene.search.SortComparatorSource
Creates a comparator for the field in the given index.
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() - 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.PorterStemFilter
Returns the next input Token, after being stemmed
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.TokenStream
Returns the next token in the stream, or null at EOS.
next() - Method in class org.apache.lucene.analysis.de.GermanStemFilter
 
next() - Method in class org.apache.lucene.analysis.ru.RussianLowerCaseFilter
 
next() - Method in class org.apache.lucene.analysis.ru.RussianStemFilter
 
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.analysis.standard.StandardTokenizer
Returns the next token in the stream, or null at EOS.
next - Variable in class org.apache.lucene.analysis.standard.Token
A reference to the next regular (non-special) token from the input stream.
next() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
next() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
 
next() - Method in class org.apache.lucene.index.MultipleTermPositions
Describe next method here.
next() - Method in interface org.apache.lucene.index.TermDocs
Moves to the next pair in the enumeration.
next() - Method in class org.apache.lucene.index.TermEnum
Increments the enumeration to the next element.
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.search.FilteredTermEnum
Increments the enumeration to the next element.
next() - Method in class org.apache.lucene.search.Scorer
Advance to the next document matching the query.
next() - Method in interface org.apache.lucene.search.spans.Spans
Move to the next match, returning true iff any such exists.
nextPosition() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermPositions
 
nextPosition() - Method in class org.apache.lucene.index.MultipleTermPositions
Describe nextPosition method here.
nextPosition() - Method in interface org.apache.lucene.index.TermPositions
Returns next position in the current document.
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).
normalize(float) - Method in interface org.apache.lucene.search.Weight
Assigns the query normalization factor to this.
norms(String) - Method in class org.apache.lucene.index.FilterIndexReader
 
norms(String, byte[], int) - Method in class org.apache.lucene.index.FilterIndexReader
 
norms(String) - Method in class org.apache.lucene.index.IndexReader
Returns the byte-encoded normalization factor for the named field of every document.
norms(String, byte[], int) - Method in class org.apache.lucene.index.IndexReader
Reads the byte-encoded normalization factor for the named field of every document.
norms(String) - Method in class org.apache.lucene.index.MultiReader
 
norms(String, byte[], int) - Method in class org.apache.lucene.index.MultiReader
 
numDocs() - Method in class org.apache.lucene.index.FilterIndexReader
 
numDocs() - Method in class org.apache.lucene.index.IndexReader
Returns the number of documents in this index.
numDocs() - Method in class org.apache.lucene.index.MultiReader
 

O

OR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
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.
Abstract class for output to a file in a Directory.
OutputStream() - Constructor for class org.apache.lucene.store.OutputStream
 
obtain() - Method in class org.apache.lucene.store.Lock
Attempts to obtain exclusive access and immediately return upon success or failure.
obtain(long) - Method in class org.apache.lucene.store.Lock
Attempts to obtain an exclusive lock within amount of time given.
open(String) - Static method in class org.apache.lucene.index.IndexReader
Returns an IndexReader reading the index in an FSDirectory in the named path.
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(Directory) - Static method in class org.apache.lucene.index.IndexReader
Returns an IndexReader reading the index in the given Directory.
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.
order - Variable in class org.apache.lucene.search.FieldCache.StringIndex
For each document, an index into the lookup array.
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.ru - package org.apache.lucene.analysis.ru
Support for indexing and searching Russian 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.search.spans - package org.apache.lucene.search.spans
The calculus of spans.
org.apache.lucene.store - package org.apache.lucene.store
Binary i/o API, used for all index data.
org.apache.lucene.util - package org.apache.lucene.util
Some utility classes.

P

P - Static variable in interface org.apache.lucene.analysis.standard.StandardTokenizerConstants
 
PLUS - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
PREFIXTERM - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
PROHIBITED_FIELD - Static variable in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
ParallelMultiSearcher - class org.apache.lucene.search.ParallelMultiSearcher.
Implements parallel search over a set of Searchables.
ParallelMultiSearcher(Searchable[]) - Constructor for class org.apache.lucene.search.ParallelMultiSearcher
Creates a searcher which searches searchables.
ParseException - exception org.apache.lucene.analysis.standard.ParseException.
This exception is thrown when parse errors are encountered.
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() - 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(String) - Constructor for class org.apache.lucene.analysis.standard.ParseException
 
ParseException - exception org.apache.lucene.queryParser.ParseException.
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for class org.apache.lucene.queryParser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
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.queryParser.ParseException
 
PerFieldAnalyzerWrapper - class org.apache.lucene.analysis.PerFieldAnalyzerWrapper.
This analyzer is used to facilitate scenarios where different fields require different analysis techniques.
PerFieldAnalyzerWrapper(Analyzer) - Constructor for class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
Constructs with default analyzer.
PhrasePrefixQuery - class org.apache.lucene.search.PhrasePrefixQuery.
PhrasePrefixQuery is a generalized version of PhraseQuery, with an added method PhrasePrefixQuery.add(Term[]).
PhrasePrefixQuery() - Constructor for class org.apache.lucene.search.PhrasePrefixQuery
 
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.
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.
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
 
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.
parse(String) - Method in class org.apache.lucene.queryParser.QueryParser
Parses a query string, returning a Query.
pop() - Method in class org.apache.lucene.util.PriorityQueue
Removes and returns the least element of the PriorityQueue in log(size) time.
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.
put(Object) - Method in class org.apache.lucene.util.PriorityQueue
Adds an Object to a PriorityQueue in log(size) time.

Q

QUOTED - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
Query(String) - Method in class org.apache.lucene.queryParser.QueryParser
 
Query - class org.apache.lucene.search.Query.
The abstract base class for queries.
Query() - Constructor for class org.apache.lucene.search.Query
 
QueryFilter - class org.apache.lucene.search.QueryFilter.
Constrains search results to only match those which also match a provided query.
QueryFilter(Query) - Constructor for class org.apache.lucene.search.QueryFilter
Constructs a filter which only matches documents matching query.
QueryParser - class org.apache.lucene.queryParser.QueryParser.
This class is generated by JavaCC.
QueryParser(String, Analyzer) - Constructor for class org.apache.lucene.queryParser.QueryParser
Constructs a query parser.
QueryParser(CharStream) - Constructor for class org.apache.lucene.queryParser.QueryParser
 
QueryParser(QueryParserTokenManager) - Constructor for class org.apache.lucene.queryParser.QueryParser
 
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
 
QueryTermVector - class org.apache.lucene.search.QueryTermVector.
 
QueryTermVector(String[]) - Constructor for class org.apache.lucene.search.QueryTermVector
 
QueryTermVector(String, Analyzer) - Constructor for class org.apache.lucene.search.QueryTermVector
 
query - Variable in class org.apache.lucene.search.BooleanClause
The query whose matching documents are combined by the boolean query.
queryNorm(float) - Method in class org.apache.lucene.search.DefaultSimilarity
Implemented as 1/sqrt(sumOfSquaredWeights).
queryNorm(float) - Method in class org.apache.lucene.search.Similarity
Computes the normalization value for a query given the sum of the squared weights of each of the query terms.

R

RAMDirectory - class org.apache.lucene.store.RAMDirectory.
A memory-resident Directory implementation.
RAMDirectory() - Constructor for class org.apache.lucene.store.RAMDirectory
Constructs an empty Directory.
RAMDirectory(Directory) - Constructor for class org.apache.lucene.store.RAMDirectory
Creates a new RAMDirectory instance from a different Directory implementation.
RAMDirectory(File) - Constructor for class org.apache.lucene.store.RAMDirectory
Creates a new RAMDirectory instance from the FSDirectory.
RAMDirectory(String) - Constructor for class org.apache.lucene.store.RAMDirectory
Creates a new RAMDirectory instance from the FSDirectory.
RAMOutputStream - class org.apache.lucene.store.RAMOutputStream.
A memory-resident OutputStream implementation.
RAMOutputStream() - Constructor for class org.apache.lucene.store.RAMOutputStream
Construct an empty output buffer.
RANGEEX_END - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RANGEEX_GOOP - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RANGEEX_QUOTED - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RANGEEX_START - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RANGEEX_TO - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RANGEIN_END - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RANGEIN_GOOP - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RANGEIN_QUOTED - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RANGEIN_START - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RANGEIN_TO - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
RELEVANCE - Static variable in interface org.apache.lucene.search.ScoreDocComparator
Special comparator for sorting hits according to computed relevance (document score).
RELEVANCE - Static variable in class org.apache.lucene.search.Sort
Represents sorting by computed relevance.
REQUIRED_FIELD - Static variable in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
RPAREN - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
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.
ReInit(CharStream) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
ReInit(StandardTokenizerTokenManager) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
ReInit(CharStream) - Method in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
ReInit(CharStream, int) - Method in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
ReInit(CharStream) - Method in class org.apache.lucene.queryParser.QueryParser
 
ReInit(QueryParserTokenManager) - 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.queryParser.QueryParserTokenManager
 
RemoteSearchable - class org.apache.lucene.search.RemoteSearchable.
A remote searchable implementation.
RemoteSearchable(Searchable) - Constructor for class org.apache.lucene.search.RemoteSearchable
Constructs and exports a remote searcher.
RussianAnalyzer - class org.apache.lucene.analysis.ru.RussianAnalyzer.
Analyzer for Russian language.
RussianAnalyzer() - Constructor for class org.apache.lucene.analysis.ru.RussianAnalyzer
 
RussianAnalyzer(char[]) - Constructor for class org.apache.lucene.analysis.ru.RussianAnalyzer
Builds an analyzer.
RussianAnalyzer(char[], String[]) - Constructor for class org.apache.lucene.analysis.ru.RussianAnalyzer
Builds an analyzer with the given stop words.
RussianAnalyzer(char[], Hashtable) - Constructor for class org.apache.lucene.analysis.ru.RussianAnalyzer
Builds an analyzer with the given stop words.
RussianCharsets - class org.apache.lucene.analysis.ru.RussianCharsets.
RussianCharsets class contains encodings schemes (charsets) and toLowerCase() method implementation for russian characters in Unicode, KOI8 and CP1252.
RussianCharsets() - Constructor for class org.apache.lucene.analysis.ru.RussianCharsets
 
RussianLetterTokenizer - class org.apache.lucene.analysis.ru.RussianLetterTokenizer.
A RussianLetterTokenizer is a tokenizer that extends LetterTokenizer by additionally looking up letters in a given "russian charset".
RussianLetterTokenizer(Reader, char[]) - Constructor for class org.apache.lucene.analysis.ru.RussianLetterTokenizer
 
RussianLowerCaseFilter - class org.apache.lucene.analysis.ru.RussianLowerCaseFilter.
Normalizes token text to lower case, analyzing given ("russian") charset.
RussianLowerCaseFilter(TokenStream, char[]) - Constructor for class org.apache.lucene.analysis.ru.RussianLowerCaseFilter
 
RussianStemFilter - class org.apache.lucene.analysis.ru.RussianStemFilter.
A filter that stems Russian words.
RussianStemFilter(TokenStream, char[]) - Constructor for class org.apache.lucene.analysis.ru.RussianStemFilter
 
read(int[], int[]) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
read(int[], int[]) - Method in class org.apache.lucene.index.MultipleTermPositions
Describe read method here.
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
Reads and returns a single byte.
readBytes(byte[], int, int) - Method in class org.apache.lucene.store.InputStream
Reads a specified number of bytes into an array at the specified offset.
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
Reads UTF-8 encoded characters into an array.
readInt() - Method in class org.apache.lucene.store.InputStream
Reads four bytes and returns an int.
readInternal(byte[], int, int) - Method in class org.apache.lucene.store.InputStream
Expert: implements buffer refill.
readLong() - Method in class org.apache.lucene.store.InputStream
Reads eight bytes and returns a long.
readString() - Method in class org.apache.lucene.store.InputStream
Reads a string.
readVInt() - Method in class org.apache.lucene.store.InputStream
Reads an int stored in variable-length format.
readVLong() - Method in class org.apache.lucene.store.InputStream
Reads a long stored in variable-length format.
readerValue() - Method in class org.apache.lucene.document.Field
The value of the field as a Reader, or null.
release() - Method in class org.apache.lucene.store.Lock
Releases exclusive access.
removeField(String) - Method in class org.apache.lucene.document.Document
Removes field with the specified name from the document.
removeFields(String) - Method in class org.apache.lucene.document.Document
Removes all fields with the given name from the document.
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.
reset() - Method in class org.apache.lucene.store.RAMOutputStream
Resets this to an empty buffer.
rewrite(IndexReader) - Method in class org.apache.lucene.search.BooleanQuery
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.FilteredQuery
Rewrites the wrapped query.
rewrite(Query) - Method in class org.apache.lucene.search.IndexSearcher
 
rewrite(Query) - Method in class org.apache.lucene.search.MultiSearcher
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.MultiTermQuery
 
rewrite(Query) - Method in class org.apache.lucene.search.ParallelMultiSearcher
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.PrefixQuery
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.Query
Expert: called to re-write queries into primitive queries.
rewrite(IndexReader) - Method in class org.apache.lucene.search.RangeQuery
FIXME: Describe rewrite method here.
rewrite(Query) - Method in class org.apache.lucene.search.RemoteSearchable
 
rewrite(Query) - Method in interface org.apache.lucene.search.Searchable
Expert: called to re-write queries into primitive queries.
run() - Method in class org.apache.lucene.store.Lock.With
Calls Lock.With.doBody() while lock is obtained.

S

SCORE - Static variable in class org.apache.lucene.search.SortField
Sort by document score (relevancy).
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.
STRING - Static variable in class org.apache.lucene.search.SortField
Sort using term values as Strings.
STRING_INDEX - Static variable in interface org.apache.lucene.search.FieldCache
Indicator for StringIndex values in the cache.
SUN_OS - Static variable in class org.apache.lucene.util.Constants
True iff running on SunOS.
ScoreDoc - class org.apache.lucene.search.ScoreDoc.
Expert: Returned by low-level search implementations.
ScoreDoc(int, float) - Constructor for class org.apache.lucene.search.ScoreDoc
Expert: Constructs a ScoreDoc.
ScoreDocComparator - interface org.apache.lucene.search.ScoreDocComparator.
Expert: Compares two ScoreDoc objects for sorting.
Scorer - class org.apache.lucene.search.Scorer.
Expert: Implements scoring for a class of queries.
Scorer(Similarity) - Constructor for class org.apache.lucene.search.Scorer
Constructs a Scorer.
Searchable - interface org.apache.lucene.search.Searchable.
The interface for search implementations.
Searcher - class org.apache.lucene.search.Searcher.
An abstract base class for search implementations.
Searcher() - Constructor for class org.apache.lucene.search.Searcher
 
Similarity - class org.apache.lucene.search.Similarity.
Expert: Scoring API.
Similarity() - Constructor for class org.apache.lucene.search.Similarity
 
SimpleAnalyzer - class org.apache.lucene.analysis.SimpleAnalyzer.
An Analyzer that filters LetterTokenizer with LowerCaseFilter.
SimpleAnalyzer() - Constructor for class org.apache.lucene.analysis.SimpleAnalyzer
 
Sort - class org.apache.lucene.search.Sort.
Encapsulates sort criteria for returned hits.
Sort() - Constructor for class org.apache.lucene.search.Sort
Sorts by computed relevance.
Sort(String) - Constructor for class org.apache.lucene.search.Sort
Sorts by the terms in field then by index order (document number).
Sort(String, boolean) - Constructor for class org.apache.lucene.search.Sort
Sorts possibly in reverse by the terms in field then by index order (document number).
Sort(String[]) - Constructor for class org.apache.lucene.search.Sort
Sorts in succession by the terms in each field.
Sort(SortField) - Constructor for class org.apache.lucene.search.Sort
Sorts by the criteria in the given SortField.
Sort(SortField[]) - Constructor for class org.apache.lucene.search.Sort
Sorts in succession by the criteria in each SortField.
SortComparator - class org.apache.lucene.search.SortComparator.
Abstract base class for sorting hits returned by a Query.
SortComparator() - Constructor for class org.apache.lucene.search.SortComparator
 
SortComparatorSource - interface org.apache.lucene.search.SortComparatorSource.
Expert: returns a comparator for sorting ScoreDocs.
SortField - class org.apache.lucene.search.SortField.
Stores information about how to sort documents by terms in an individual field.
SortField(String) - Constructor for class org.apache.lucene.search.SortField
Creates a sort by terms in the given field where the type of term value is determined dynamically (AUTO).
SortField(String, boolean) - Constructor for class org.apache.lucene.search.SortField
Creates a sort, possibly in reverse, by terms in the given field where the type of term value is determined dynamically (AUTO).
SortField(String, int) - Constructor for class org.apache.lucene.search.SortField
Creates a sort by terms in the given field with the type of term values explicitly given.
SortField(String, int, boolean) - Constructor for class org.apache.lucene.search.SortField
Creates a sort, possibly in reverse, by terms in the given field with the type of term values explicitly given.
SortField(String, Locale) - Constructor for class org.apache.lucene.search.SortField
Creates a sort by terms in the given field sorted according to the given locale.
SortField(String, Locale, boolean) - Constructor for class org.apache.lucene.search.SortField
Creates a sort, possibly in reverse, by terms in the given field sorted according to the given locale.
SortField(String, SortComparatorSource) - Constructor for class org.apache.lucene.search.SortField
Creates a sort with a custom comparison function.
SortField(String, SortComparatorSource, boolean) - Constructor for class org.apache.lucene.search.SortField
Creates a sort, possibly in reverse, with a custom comparison function.
SpanFirstQuery - class org.apache.lucene.search.spans.SpanFirstQuery.
Matches spans near the beginning of a field.
SpanFirstQuery(SpanQuery, int) - Constructor for class org.apache.lucene.search.spans.SpanFirstQuery
Construct a SpanFirstQuery matching spans in match whose end position is less than or equal to end.
SpanNearQuery - class org.apache.lucene.search.spans.SpanNearQuery.
Matches spans which are near one another.
SpanNearQuery(SpanQuery[], int, boolean) - Constructor for class org.apache.lucene.search.spans.SpanNearQuery
Construct a SpanNearQuery.
SpanNotQuery - class org.apache.lucene.search.spans.SpanNotQuery.
Removes matches which overlap with another SpanQuery.
SpanNotQuery(SpanQuery, SpanQuery) - Constructor for class org.apache.lucene.search.spans.SpanNotQuery
Construct a SpanNotQuery matching spans from include which have no overlap with spans from exclude.
SpanOrQuery - class org.apache.lucene.search.spans.SpanOrQuery.
Matches the union of its clauses.
SpanOrQuery(SpanQuery[]) - Constructor for class org.apache.lucene.search.spans.SpanOrQuery
Construct a SpanOrQuery merging the provided clauses.
SpanQuery - class org.apache.lucene.search.spans.SpanQuery.
Base class for span-based queries.
SpanQuery() - Constructor for class org.apache.lucene.search.spans.SpanQuery
 
SpanTermQuery - class org.apache.lucene.search.spans.SpanTermQuery.
Matches spans containing a term.
SpanTermQuery(Term) - Constructor for class org.apache.lucene.search.spans.SpanTermQuery
Construct a SpanTermQuery matching the named term's spans.
Spans - interface org.apache.lucene.search.spans.Spans.
Expert: an enumeration of span matches.
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(Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
Constructs a tokenizer for this Reader.
StandardTokenizer(CharStream) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
 
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
 
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, 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.
StopFilter(TokenStream, Hashtable) - Constructor for class org.apache.lucene.analysis.StopFilter
Deprecated. Use StopFilter.StopFilter(TokenStream, Set) instead
StopFilter(TokenStream, Set) - Constructor for class org.apache.lucene.analysis.StopFilter
Constructs a filter which removes words from the input TokenStream that are named in the Set.
StringHelper - class org.apache.lucene.util.StringHelper.
Methods for manipulating strings.
SwitchTo(int) - Method in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
SwitchTo(int) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
 
score(int) - Method in class org.apache.lucene.search.Hits
Returns the score for the nth document in this set.
score - Variable in class org.apache.lucene.search.ScoreDoc
Expert: The score of this document for the query.
score(HitCollector) - Method in class org.apache.lucene.search.Scorer
Scores all documents and passes them to a collector.
score() - Method in class org.apache.lucene.search.Scorer
Returns the score of the current document.
scoreDocs - Variable in class org.apache.lucene.search.TopDocs
Expert: The top hits for the query.
scorer(IndexReader) - Method in interface org.apache.lucene.search.Weight
Constructs a scorer for this.
search(Query, Filter, int) - Method in class org.apache.lucene.search.IndexSearcher
 
search(Query, Filter, int, Sort) - Method in class org.apache.lucene.search.IndexSearcher
 
search(Query, Filter, HitCollector) - Method in class org.apache.lucene.search.IndexSearcher
 
search(Query, Filter, int) - Method in class org.apache.lucene.search.MultiSearcher
 
search(Query, Filter, int, Sort) - Method in class org.apache.lucene.search.MultiSearcher
 
search(Query, Filter, HitCollector) - Method in class org.apache.lucene.search.MultiSearcher
 
search(Query, Filter, int) - Method in class org.apache.lucene.search.ParallelMultiSearcher
A search implementation which spans a new thread for each Searchable, waits for each search to complete and merge the results back together.
search(Query, Filter, int, Sort) - Method in class org.apache.lucene.search.ParallelMultiSearcher
A search implementation allowing sorting which spans a new thread for each Searchable, waits for each search to complete and merges the results back together.
search(Query, Filter, HitCollector) - Method in class org.apache.lucene.search.ParallelMultiSearcher
Lower-level search API.
search(Query, Filter, HitCollector) - Method in class org.apache.lucene.search.RemoteSearchable
 
search(Query, Filter, int) - Method in class org.apache.lucene.search.RemoteSearchable
 
search(Query, Filter, int, Sort) - Method in class org.apache.lucene.search.RemoteSearchable
 
search(Query, Filter, HitCollector) - Method in interface org.apache.lucene.search.Searchable
Lower-level search API.
search(Query, Filter, int) - Method in interface org.apache.lucene.search.Searchable
Expert: Low-level search implementation.
search(Query, Filter, int, Sort) - Method in interface org.apache.lucene.search.Searchable
Expert: Low-level search implementation with arbitrary sorting.
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, Sort) - Method in class org.apache.lucene.search.Searcher
Returns documents matching query sorted by sort.
search(Query, Filter, Sort) - Method in class org.apache.lucene.search.Searcher
Returns documents matching query and filter, sorted by sort.
search(Query, HitCollector) - Method in class org.apache.lucene.search.Searcher
Lower-level search API.
searcherIndex(int) - Method in class org.apache.lucene.search.MultiSearcher
Deprecated.  
seek(Term) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
seek(TermEnum) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
seek(Term) - Method in class org.apache.lucene.index.MultipleTermPositions
Describe seek method here.
seek(TermEnum) - Method in class org.apache.lucene.index.MultipleTermPositions
 
seek(Term) - Method in interface org.apache.lucene.index.TermDocs
Sets this to the data for a term.
seek(TermEnum) - Method in interface org.apache.lucene.index.TermDocs
Sets this to the data for the current term in a TermEnum.
seek(long) - Method in class org.apache.lucene.store.InputStream
Sets current position in this file, where the next read will occur.
seek(long) - Method in class org.apache.lucene.store.OutputStream
Sets current position in this file, where the next write will occur.
seek(long) - Method in class org.apache.lucene.store.RAMOutputStream
 
seekInternal(long) - Method in class org.apache.lucene.store.InputStream
Expert: implements seek.
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.document.Document
Sets a boost factor for hits on any field of this document.
setBoost(float) - Method in class org.apache.lucene.document.Field
Sets the boost factor hits on this field.
setBoost(float) - Method in class org.apache.lucene.search.Query
Sets the boost for this query clause to b.
setDebugStream(PrintStream) - Method in class org.apache.lucene.analysis.standard.StandardTokenizerTokenManager
 
setDebugStream(PrintStream) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
 
setDefault(Similarity) - Static method in class org.apache.lucene.search.Similarity
Set the default Similarity implementation used by indexing and search code.
setDescription(String) - Method in class org.apache.lucene.search.Explanation
Sets the description of this explanation node.
setEnum(TermEnum) - Method in class org.apache.lucene.search.FilteredTermEnum
 
setExclusionSet(Set) - Method in class org.apache.lucene.analysis.de.GermanStemFilter
Set an alternative exclusion list for this filter.
setExclusionTable(Hashtable) - Method in class org.apache.lucene.analysis.de.GermanStemFilter
Deprecated. Use GermanStemFilter.setExclusionSet(java.util.Set) instead.
setFuzzyMinSim(float) - Method in class org.apache.lucene.queryParser.QueryParser
Set the default minimum similarity for fuzzy queries.
setLocale(Locale) - Method in class org.apache.lucene.queryParser.QueryParser
Set locale used by date range parsing.
setLowercaseWildcardTerms(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
 
setMaxClauseCount(int) - Static method in class org.apache.lucene.search.BooleanQuery
Set the maximum number of clauses permitted.
setNorm(int, String, byte) - Method in class org.apache.lucene.index.IndexReader
Expert: Resets the normalization factor for the named field of the named document.
setNorm(int, String, float) - Method in class org.apache.lucene.index.IndexReader
Expert: Resets the normalization factor for the named field of the named document.
setOperator(int) - Method in class org.apache.lucene.queryParser.QueryParser
Sets the boolean operator of the QueryParser.
setPhraseSlop(int) - Method in class org.apache.lucene.queryParser.QueryParser
Sets the default slop for phrases.
setPositionIncrement(int) - Method in class org.apache.lucene.analysis.Token
Set the position increment.
setSimilarity(Similarity) - Method in class org.apache.lucene.index.IndexWriter
Expert: Set the Similarity implementation used by this IndexWriter.
setSimilarity(Similarity) - Method in class org.apache.lucene.search.Searcher
Expert: Set the Similarity implementation used by this Searcher.
setSlop(int) - Method in class org.apache.lucene.search.PhrasePrefixQuery
Sets the phrase slop for this query.
setSlop(int) - Method in class org.apache.lucene.search.PhraseQuery
Sets the number of other words permitted between words in query phrase.
setSort(String) - Method in class org.apache.lucene.search.Sort
Sets the sort to the terms in field then by index order (document number).
setSort(String, boolean) - Method in class org.apache.lucene.search.Sort
Sets the sort to the terms in field possibly in reverse, then by index order (document number).
setSort(String[]) - Method in class org.apache.lucene.search.Sort
Sets the sort to the terms in each field in succession.
setSort(SortField) - Method in class org.apache.lucene.search.Sort
Sets the sort to the given criteria.
setSort(SortField[]) - Method in class org.apache.lucene.search.Sort
Sets the sort to the given criteria in succession.
setStemExclusionTable(String[]) - Method in class org.apache.lucene.analysis.de.GermanAnalyzer
Builds an exclusionlist from an array of Strings.
setStemExclusionTable(Hashtable) - Method in class org.apache.lucene.analysis.de.GermanAnalyzer
Builds an exclusionlist from a Hashtable.
setStemExclusionTable(File) - Method in class org.apache.lucene.analysis.de.GermanAnalyzer
Builds an exclusionlist from the words contained in the given file.
setStemmer(GermanStemmer) - Method in class org.apache.lucene.analysis.de.GermanStemFilter
Set a alternative/custom GermanStemmer for this filter.
setStemmer(RussianStemmer) - Method in class org.apache.lucene.analysis.ru.RussianStemFilter
Set a alternative/custom RussianStemmer for this filter.
setUseCompoundFile(boolean) - Method in class org.apache.lucene.index.IndexWriter
Setting to turn on usage of a compound file.
setValue(float) - Method in class org.apache.lucene.search.Explanation
Sets the value assigned to this explanation node.
size() - Method in interface org.apache.lucene.index.TermFreqVector
 
size() - Method in class org.apache.lucene.search.QueryTermVector
 
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 class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
skipTo(int) - Method in class org.apache.lucene.index.MultipleTermPositions
Describe skipTo method here.
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.
skipTo(Term) - Method in class org.apache.lucene.index.TermEnum
Skips terms to the first beyond the current whose value is greater or equal to target.
skipTo(int) - Method in class org.apache.lucene.search.Scorer
Skips to the first match beyond the current whose document number is greater than or equal to target.
skipTo(int) - Method in interface org.apache.lucene.search.spans.Spans
Skips to the first match beyond the current, whose document number is greater than or equal to target.
sloppyFreq(int) - Method in class org.apache.lucene.search.DefaultSimilarity
Implemented as 1 / (distance + 1).
sloppyFreq(int) - Method in class org.apache.lucene.search.Similarity
Computes the amount of a sloppy phrase match, based on an edit distance.
sortType() - Method in interface org.apache.lucene.search.ScoreDocComparator
Returns the type of sort.
sortValue(ScoreDoc) - Method in interface org.apache.lucene.search.ScoreDocComparator
Returns the value used to sort the given document.
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.
start() - Method in interface org.apache.lucene.search.spans.Spans
Returns the start position of the current match.
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.
stringDifference(String, String) - Static method in class org.apache.lucene.util.StringHelper
Compares two strings, character by character, and returns the first position where the two strings differ from one another.
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.
subDoc(int) - Method in class org.apache.lucene.search.MultiSearcher
Returns the document number of document n within its sub-index.
subSearcher(int) - Method in class org.apache.lucene.search.MultiSearcher
Returns index of the searcher for document n in the array used to construct this searcher.
sumOfSquaredWeights() - Method in interface org.apache.lucene.search.Weight
The sum of squared weights of contained query clauses.

T

TERM - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
Term - class org.apache.lucene.index.Term.
A Term represents a word from text.
Term(String, String) - Constructor for class org.apache.lucene.index.Term
Constructs a Term with the given field and text.
Term(String) - Method in class org.apache.lucene.queryParser.QueryParser
 
TermDocs - interface org.apache.lucene.index.TermDocs.
TermDocs provides an interface for enumerating <document, frequency> pairs for a term.
TermEnum - class org.apache.lucene.index.TermEnum.
Abstract class for enumerating terms.
TermEnum() - Constructor for class org.apache.lucene.index.TermEnum
 
TermFreqVector - interface org.apache.lucene.index.TermFreqVector.
Provides access to stored term vector of a document field.
TermPositionVector - interface org.apache.lucene.index.TermPositionVector.
Extends TermFreqVector to provide additional information about positions in which each of the terms is found.
TermPositions - interface org.apache.lucene.index.TermPositions.
TermPositions provides an interface for enumerating the <document, frequency, <position>* > tuples for a 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.
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.
Text(String, String, boolean) - 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.
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, Reader, boolean) - 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.
Token - class org.apache.lucene.analysis.Token.
A Token is an occurence of a term from the text of a field.
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.
Token - class org.apache.lucene.analysis.standard.Token.
Describes the input token stream.
Token() - Constructor for class org.apache.lucene.analysis.standard.Token
 
Token - class org.apache.lucene.queryParser.Token.
Describes the input token stream.
Token() - Constructor for class org.apache.lucene.queryParser.Token
 
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
Deprecated.  
TokenFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.TokenFilter
Construct a token stream filtering the given input.
TokenMgrError - error org.apache.lucene.analysis.standard.TokenMgrError.
 
TokenMgrError() - Constructor for class org.apache.lucene.analysis.standard.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class org.apache.lucene.analysis.standard.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for class org.apache.lucene.analysis.standard.TokenMgrError
 
TokenMgrError - error org.apache.lucene.queryParser.TokenMgrError.
 
TokenMgrError() - Constructor for class org.apache.lucene.queryParser.TokenMgrError
 
TokenMgrError(String, int) - Constructor for class org.apache.lucene.queryParser.TokenMgrError
 
TokenMgrError(boolean, int, int, int, String, char, 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
 
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
Construct a tokenizer with null input.
Tokenizer(Reader) - Constructor for class org.apache.lucene.analysis.Tokenizer
Construct a token stream processing the given input.
TopDocs - class org.apache.lucene.search.TopDocs.
Expert: Returned by low-level search implementations.
TopFieldDocs - class org.apache.lucene.search.TopFieldDocs.
Expert: Returned by low-level sorted search implementations.
term() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
 
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.
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() - Method in class org.apache.lucene.index.FilterIndexReader
 
termDocs(Term) - Method in class org.apache.lucene.index.IndexReader
Returns an enumeration of all the documents which contain term.
termDocs() - Method in class org.apache.lucene.index.IndexReader
Returns an unpositioned TermDocs enumerator.
termDocs() - Method in class org.apache.lucene.index.MultiReader
 
termPositions() - Method in class org.apache.lucene.index.FilterIndexReader
 
termPositions(Term) - Method in class org.apache.lucene.index.IndexReader
Returns an enumeration of all the documents which contain term.
termPositions() - Method in class org.apache.lucene.index.IndexReader
Returns an unpositioned TermPositions enumerator.
termPositions() - Method in class org.apache.lucene.index.MultiReader
 
termText() - Method in class org.apache.lucene.analysis.Token
Returns the Token's term text.
terms() - Method in class org.apache.lucene.index.FilterIndexReader
 
terms(Term) - Method in class org.apache.lucene.index.FilterIndexReader
 
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.
terms() - Method in class org.apache.lucene.index.MultiReader
 
terms(Term) - Method in class org.apache.lucene.index.MultiReader
 
text() - Method in class org.apache.lucene.index.Term
Returns the text of this term.
tf(float) - Method in class org.apache.lucene.search.DefaultSimilarity
Implemented as sqrt(freq).
tf(int) - Method in class org.apache.lucene.search.Similarity
Computes a score factor based on a term or phrase's frequency in a document.
tf(float) - Method in class org.apache.lucene.search.Similarity
Computes a score factor based on a term or phrase's frequency in a document.
timeToString(long) - Static method in class org.apache.lucene.document.DateField
Converts a millisecond time to a string suitable for indexing.
toHtml() - Method in class org.apache.lucene.search.Explanation
Render an explanation as HTML.
toLowerCase(char, char[]) - Static method in class org.apache.lucene.analysis.ru.RussianCharsets
 
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(String) - Method in class org.apache.lucene.search.BooleanQuery
Prints a user-readable version of this query.
toString() - Method in class org.apache.lucene.search.CachingWrapperFilter
 
toString() - Method in class org.apache.lucene.search.DateFilter
 
toString() - Method in class org.apache.lucene.search.Explanation
Render an explanation as text.
toString(String) - Method in class org.apache.lucene.search.FilteredQuery
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.MultiTermQuery
Prints a user-readable version of this query.
toString(String) - Method in class org.apache.lucene.search.PhrasePrefixQuery
Prints a user-readable version of this query.
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.PrefixQuery
Prints a user-readable version of this query.
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() - Method in class org.apache.lucene.search.Query
Prints a query to a string.
toString() - Method in class org.apache.lucene.search.QueryFilter
 
toString() - Method in class org.apache.lucene.search.QueryTermVector
 
toString(String) - Method in class org.apache.lucene.search.RangeQuery
Prints a user-readable version of this query.
toString() - Method in class org.apache.lucene.search.Sort
 
toString() - Method in class org.apache.lucene.search.SortField
 
toString(String) - Method in class org.apache.lucene.search.TermQuery
Prints a user-readable version of this query.
toString(String) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
toString(String) - Method in class org.apache.lucene.search.spans.SpanNearQuery
 
toString(String) - Method in class org.apache.lucene.search.spans.SpanNotQuery
 
toString(String) - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
toString(String) - Method in class org.apache.lucene.search.spans.SpanTermQuery
 
toString() - Method in class org.apache.lucene.store.FSDirectory
For debug output.
token - Variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
token - Variable in class org.apache.lucene.queryParser.QueryParser
 
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 - 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.
tokenImage - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
 
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.Analyzer
Creates a TokenStream which tokenizes all the text in the provided Reader.
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.PerFieldAnalyzerWrapper
 
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.SimpleAnalyzer
 
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.WhitespaceAnalyzer
 
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.ru.RussianAnalyzer
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.
token_source - Variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
token_source - Variable in class org.apache.lucene.queryParser.QueryParser
 
top() - Method in class org.apache.lucene.util.PriorityQueue
Returns the least element of the PriorityQueue in constant time.
totalHits - Variable in class org.apache.lucene.search.TopDocs
Expert: The total number of hits for the query.
touchFile(String) - Method in class org.apache.lucene.store.Directory
Set the modified time of an existing file to now.
touchFile(String) - Method in class org.apache.lucene.store.FSDirectory
Set the modified time of an existing file to now.
touchFile(String) - Method in class org.apache.lucene.store.RAMDirectory
Set the modified time of an existing file to now.
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.
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.
UnStored(String, String, boolean) - 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.
UnicodeRussian - Static variable in class org.apache.lucene.analysis.ru.RussianCharsets
 
undeleteAll() - Method in class org.apache.lucene.index.IndexReader
Undeletes all documents currently marked as deleted in this index.
unlock(Directory) - Static method in class org.apache.lucene.index.IndexReader
Forcibly unlocks the index in the named directory.

W

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
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.
WRITE_LOCK_NAME - Static variable in class org.apache.lucene.index.IndexWriter
 
WRITE_LOCK_TIMEOUT - Static variable in class org.apache.lucene.index.IndexWriter
Default value is 1000.
Weight - interface org.apache.lucene.search.Weight.
Expert: Calculate query weights and build query scorers.
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.
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 a new WildcardTermEnum.
WordlistLoader - class org.apache.lucene.analysis.de.WordlistLoader.
Loader for text files that represent a list of stopwords.
WordlistLoader() - Constructor for class org.apache.lucene.analysis.de.WordlistLoader
 
weight(Searcher) - Method in class org.apache.lucene.search.Query
Expert: Constructs an initializes a Weight for a top-level query.
wildcardEquals(String, int, String, int) - Static method in class org.apache.lucene.search.WildcardTermEnum
Determines if a word matches a wildcard pattern.
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(Directory, String).
writeByte(byte) - Method in class org.apache.lucene.store.OutputStream
Writes a single byte.
writeBytes(byte[], int) - Method in class org.apache.lucene.store.OutputStream
Writes an array of bytes.
writeChars(String, int, int) - Method in class org.apache.lucene.store.OutputStream
Writes a sequence of UTF-8 encoded characters from a string.
writeInt(int) - Method in class org.apache.lucene.store.OutputStream
Writes an int as four bytes.
writeLong(long) - Method in class org.apache.lucene.store.OutputStream
Writes a long as eight bytes.
writeString(String) - Method in class org.apache.lucene.store.OutputStream
Writes a string.
writeTo(OutputStream) - Method in class org.apache.lucene.store.RAMOutputStream
Copy the current contents of this buffer to the named output.
writeVInt(int) - Method in class org.apache.lucene.store.OutputStream
Writes an int in a variable-length format.
writeVLong(long) - Method in class org.apache.lucene.store.OutputStream
Writes an long in a variable-length format.

_

_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-2005 Apache Software Foundation. All Rights Reserved.