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

A

abort() - Method in class org.apache.lucene.index.IndexWriter
Deprecated. Please use IndexWriter.rollback() instead.
AbstractAllTermDocs - Class in org.apache.lucene.index
Base class for enumerating all but deleted docs.
AbstractAllTermDocs(int) - Constructor for class org.apache.lucene.index.AbstractAllTermDocs
 
AbstractField - Class in org.apache.lucene.document
 
AbstractField() - Constructor for class org.apache.lucene.document.AbstractField
 
AbstractField(String, Field.Store, Field.Index, Field.TermVector) - Constructor for class org.apache.lucene.document.AbstractField
 
accept(AttributeSource) - Method in class org.apache.lucene.analysis.TeeSinkTokenFilter.SinkFilter
Returns true, iff the current state of the passed-in AttributeSource shall be stored in the sink.
accept(String) - Method in interface org.apache.lucene.document.FieldSelector
 
accept(String) - Method in class org.apache.lucene.document.LoadFirstFieldSelector
 
accept(String) - Method in class org.apache.lucene.document.MapFieldSelector
Load field according to its associated value in fieldSelections
accept(String) - Method in class org.apache.lucene.document.SetBasedFieldSelector
Indicate whether to load the field with the given name or not.
accept(File, String) - Method in class org.apache.lucene.index.IndexFileNameFilter
 
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.Collector
Return true if this collector does not require the matching docIDs to be delivered in int sort order (smallest to largest) to Collector.collect(int).
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.HitCollectorWrapper
Deprecated.  
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.PositiveScoresOnlyCollector
 
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.TimeLimitingCollector
 
acceptsDocsOutOfOrder() - Method in class org.apache.lucene.search.TopFieldCollector
 
acquireWriteLock() - Method in class org.apache.lucene.index.IndexReader
Does nothing by default.
ACRONYM - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
ACRONYM_DEP - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
Deprecated. this solves a bug where HOSTs that end with '.' are identified as ACRONYMs. It is deprecated and will be removed in the next release.
actualEnum - Variable in class org.apache.lucene.search.FilteredTermEnum
the delegate enum - to set this member use FilteredTermEnum.setEnum(org.apache.lucene.index.TermEnum)
add(CharSequence) - Method in class org.apache.lucene.analysis.CharArraySet
Add this CharSequence into the set
add(String) - Method in class org.apache.lucene.analysis.CharArraySet
Add this String into the set
add(char[]) - Method in class org.apache.lucene.analysis.CharArraySet
Add this char[] directly to the set.
add(Object) - Method in class org.apache.lucene.analysis.CharArraySet
 
add(String, String) - Method in class org.apache.lucene.analysis.NormalizeCharMap
Records a replacement to be applied to the inputs stream.
add(Token) - Method in class org.apache.lucene.analysis.SinkTokenizer
Deprecated. Override this method to cache only certain tokens, or new tokens based on the old tokens.
add(Fieldable) - Method in class org.apache.lucene.document.Document
Adds a field to a document.
add(MergePolicy.OneMerge) - Method in class org.apache.lucene.index.MergePolicy.MergeSpecification
 
add(IndexReader) - Method in class org.apache.lucene.index.ParallelReader
Add an IndexReader.
add(IndexReader, boolean) - Method in class org.apache.lucene.index.ParallelReader
Add an IndexReader whose stored fields will not be returned.
add(Query, BooleanClause.Occur) - 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(Query) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Add a subquery to this disjunction
add(Collection) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Add a collection of disjuncts to this disjunction via Iterable
add(Term) - Method in class org.apache.lucene.search.MultiPhraseQuery
Add a single term at the next position in the phrase.
add(Term[]) - Method in class org.apache.lucene.search.MultiPhraseQuery
Add multiple terms at the next position in the phrase.
add(Term[], int) - Method in class org.apache.lucene.search.MultiPhraseQuery
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.
add(Object) - Method in class org.apache.lucene.util.PriorityQueue
Adds an Object to a PriorityQueue in log(size) time.
add_escapes(String) - Method in exception 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.
addAnalyzer(String, Analyzer) - Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
Defines an analyzer to use for the specified field.
addAttribute(Class) - Method in class org.apache.lucene.util.AttributeSource
The caller must pass in a Class<? extends Attribute> value.
addAttributeImpl(AttributeImpl) - Method in class org.apache.lucene.util.AttributeSource
Adds a custom AttributeImpl instance with one or more Attribute interfaces.
addBuffer(int) - Method in class org.apache.lucene.store.RAMFile
 
addClause(Vector, int, int, Query) - Method in class org.apache.lucene.queryParser.QueryParser
Deprecated. use QueryParser.addClause(List, int, int, Query) instead.
addClause(List, 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, Analyzer) - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Adds a document to this index, using the provided analyzer instead of the one specific in the constructor.
addDocument(Document) - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Adds a document to this index.
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 error org.apache.lucene.queryParser.TokenMgrError
Replaces unprintable characters by their escaped (or unicode escaped) equivalents in the given string
addIndexes(Directory[]) - Method in class org.apache.lucene.index.IndexWriter
Deprecated. Use IndexWriter.addIndexesNoOptimize(org.apache.lucene.store.Directory[]) instead, then separately call IndexWriter.optimize() afterwards if you need to.
addIndexes(IndexReader[]) - Method in class org.apache.lucene.index.IndexWriter
Merges the provided indexes into this index.
addIndexesNoOptimize(Directory[]) - Method in class org.apache.lucene.index.IndexWriter
Merges all segments from an array of indexes into this index.
addOffCorrectMap(int, int) - Method in class org.apache.lucene.analysis.BaseCharFilter
 
addPosition(int, int) - Method in class org.apache.lucene.search.SpanFilterResult.PositionInfo
 
addRange(String, String) - Method in class org.apache.lucene.util.NumericUtils.IntRangeBuilder
Overwrite this method, if you like to receive the already prefix encoded range bounds.
addRange(int, int, int) - Method in class org.apache.lucene.util.NumericUtils.IntRangeBuilder
Overwrite this method, if you like to receive the raw int range bounds.
addRange(String, String) - Method in class org.apache.lucene.util.NumericUtils.LongRangeBuilder
Overwrite this method, if you like to receive the already prefix encoded range bounds.
addRange(long, long, int) - Method in class org.apache.lucene.util.NumericUtils.LongRangeBuilder
Overwrite this method, if you like to receive the raw long range bounds.
addSinkTokenStream(TeeSinkTokenFilter.SinkTokenStream) - Method in class org.apache.lucene.analysis.TeeSinkTokenFilter
Adds a TeeSinkTokenFilter.SinkTokenStream created by another TeeSinkTokenFilter to this one.
adjustTop() - Method in class org.apache.lucene.util.PriorityQueue
Deprecated. use PriorityQueue.updateTop() which returns the new top element and saves an additional call to PriorityQueue.top().
adjustTop() - Method in class org.apache.lucene.util.ScorerDocQueue
Should be called when the scorer at top changes doc() value.
advance(int) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
 
advance(int) - Method in class org.apache.lucene.search.DocIdSetIterator
Advances to the first beyond the current whose document number is greater than or equal to target.
advance(int) - Method in class org.apache.lucene.search.FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator
 
advance(int) - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
 
advance(int) - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
 
advance(int) - Method in class org.apache.lucene.search.spans.SpanScorer
 
advance(int) - Method in class org.apache.lucene.util.OpenBitSetIterator
 
ALL - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
All fields
ALL - Static variable in class org.apache.lucene.index.SortedTermVectorMapper
Stand-in name for the field in TermVectorEntry.
ALPHANUM - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
AlreadyClosedException - Exception in org.apache.lucene.store
This exception is thrown when there is an attempt to access something that has already been closed.
AlreadyClosedException(String) - Constructor for exception org.apache.lucene.store.AlreadyClosedException
 
ANALYZED - Static variable in class org.apache.lucene.document.Field.Index
Index the tokens produced by running the field's value through an Analyzer.
ANALYZED_NO_NORMS - Static variable in class org.apache.lucene.document.Field.Index
Expert: Index the tokens produced by running the field's value through an Analyzer, and also separately disable the storing of norms.
Analyzer - Class in org.apache.lucene.analysis
An Analyzer builds TokenStreams, which analyze text.
Analyzer() - Constructor for class org.apache.lucene.analysis.Analyzer
 
analyzer - Variable in class org.apache.lucene.index.IndexModifier
Deprecated.  
AND - Static variable in class org.apache.lucene.queryParser.QueryParser.Operator
 
AND - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
and(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
 
AND_OPERATOR - Static variable in class org.apache.lucene.queryParser.QueryParser
Alternative form of QueryParser.Operator.AND
andNot(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
 
andNotCount(OpenBitSet, OpenBitSet) - Static method in class org.apache.lucene.util.OpenBitSet
Returns the popcount or cardinality of "a and not b" or "intersection(a, not(b))".
anyUnhandledExceptions() - Static method in class org.apache.lucene.index.ConcurrentMergeScheduler
Used for testing
APOSTROPHE - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
ArrayUtil - Class in org.apache.lucene.util
Methods for manipulating arrays.
ArrayUtil() - Constructor for class org.apache.lucene.util.ArrayUtil
 
ASCIIFoldingFilter - Class in org.apache.lucene.analysis
This class converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if one exists.
ASCIIFoldingFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.ASCIIFoldingFilter
 
assureOpen() - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Throw an IllegalStateException if the index is closed.
Attribute - Interface in org.apache.lucene.util
Base interface for attributes.
AttributeImpl - Class in org.apache.lucene.util
Base class for Attributes that can be added to a AttributeSource.
AttributeImpl() - Constructor for class org.apache.lucene.util.AttributeImpl
 
AttributeSource - Class in org.apache.lucene.util
An AttributeSource contains a list of different AttributeImpls, and methods to add and get them.
AttributeSource() - Constructor for class org.apache.lucene.util.AttributeSource
An AttributeSource using the default attribute factory AttributeSource.AttributeFactory.DEFAULT_ATTRIBUTE_FACTORY.
AttributeSource(AttributeSource) - Constructor for class org.apache.lucene.util.AttributeSource
An AttributeSource that uses the same attributes as the supplied one.
AttributeSource(AttributeSource.AttributeFactory) - Constructor for class org.apache.lucene.util.AttributeSource
An AttributeSource using the supplied AttributeSource.AttributeFactory for creating new Attribute instances.
AttributeSource.AttributeFactory - Class in org.apache.lucene.util
An AttributeFactory creates instances of AttributeImpls.
AttributeSource.AttributeFactory() - Constructor for class org.apache.lucene.util.AttributeSource.AttributeFactory
 
AttributeSource.State - Class in org.apache.lucene.util
This class holds the state of an AttributeSource.
AttributeSource.State() - Constructor for class org.apache.lucene.util.AttributeSource.State
 
AUTO - Static variable in class org.apache.lucene.search.SortField
Deprecated. Please specify the exact type, instead. Especially, guessing does not work with the new NumericField type.
AverageGuessMemoryModel - Class in org.apache.lucene.util
An average, best guess, MemoryModel that should work okay on most systems.
AverageGuessMemoryModel() - Constructor for class org.apache.lucene.util.AverageGuessMemoryModel
 
AveragePayloadFunction - Class in org.apache.lucene.search.payloads
Calculate the final score as the average score of all payloads seen.
AveragePayloadFunction() - Constructor for class org.apache.lucene.search.payloads.AveragePayloadFunction
 

B

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
 
BaseCharFilter - Class in org.apache.lucene.analysis
Base utility class for implementing a CharFilter.
BaseCharFilter(CharStream) - Constructor for class org.apache.lucene.analysis.BaseCharFilter
 
beginColumn - Variable in class org.apache.lucene.queryParser.Token
The column number of the first character of this Token.
beginLine - Variable in class org.apache.lucene.queryParser.Token
The line number of the first character of this Token.
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
 
binaryLength - Variable in class org.apache.lucene.document.AbstractField
 
binaryOffset - Variable in class org.apache.lucene.document.AbstractField
 
binarySearch(String[], String) - Static method in class org.apache.lucene.search.FieldComparator
 
binarySearch(String[], String, int, int) - Static method in class org.apache.lucene.search.FieldComparator
 
binarySearchLookup(String) - Method in class org.apache.lucene.search.FieldCache.StringIndex
 
binaryValue() - Method in class org.apache.lucene.document.Field
Deprecated. This method must allocate a new byte[] if the AbstractField.getBinaryOffset() is non-zero or AbstractField.getBinaryLength() is not the full length of the byte[]. Please use AbstractField.getBinaryValue() instead, which simply returns the byte[].
binaryValue() - Method in interface org.apache.lucene.document.Fieldable
The value of the field in Binary, or null.
binaryValue() - Method in class org.apache.lucene.document.NumericField
Returns always null for numeric fields
bitlist - Static variable in class org.apache.lucene.util.OpenBitSetIterator
 
bits(IndexReader) - Method in class org.apache.lucene.search.CachingSpanFilter
Deprecated. Use CachingSpanFilter.getDocIdSet(IndexReader) instead.
bits(IndexReader) - Method in class org.apache.lucene.search.CachingWrapperFilter
Deprecated. Use CachingWrapperFilter.getDocIdSet(IndexReader) instead.
bits(IndexReader) - Method in class org.apache.lucene.search.Filter
Deprecated. Use Filter.getDocIdSet(IndexReader) instead.
bits(IndexReader) - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
Deprecated. Use MultiTermQueryWrapperFilter.getDocIdSet(IndexReader) instead.
bits(IndexReader) - Method in class org.apache.lucene.search.QueryWrapperFilter
Deprecated. Use QueryWrapperFilter.getDocIdSet(IndexReader) instead.
bits - Variable in class org.apache.lucene.util.OpenBitSet
 
bits2words(long) - Static method in class org.apache.lucene.util.OpenBitSet
returns the number of 64 bit words it would take to hold numBits
bitSpans(IndexReader) - Method in class org.apache.lucene.search.CachingSpanFilter
 
bitSpans(IndexReader) - Method in class org.apache.lucene.search.SpanFilter
Returns a SpanFilterResult with true for documents which should be permitted in search results, and false for those that should not and Spans for where the true docs match.
bitSpans(IndexReader) - Method in class org.apache.lucene.search.SpanQueryFilter
 
BitUtil - Class in org.apache.lucene.util
A variety of high efficiency bit twiddling routines.
BitUtil() - Constructor for class org.apache.lucene.util.BitUtil
 
BitVector - Class in org.apache.lucene.util
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 BitVector.write(org.apache.lucene.store.Directory, java.lang.String) method.
BooleanClause - Class in org.apache.lucene.search
A clause in a BooleanQuery.
BooleanClause(Query, BooleanClause.Occur) - Constructor for class org.apache.lucene.search.BooleanClause
Constructs a BooleanClause.
BooleanClause.Occur - Class in org.apache.lucene.search
Specifies how clauses are to occur in matching documents.
BooleanQuery - Class in org.apache.lucene.search
A Query that matches documents matching boolean combinations of other queries, e.g.
BooleanQuery() - Constructor for class org.apache.lucene.search.BooleanQuery
Constructs an empty boolean query.
BooleanQuery(boolean) - Constructor for class org.apache.lucene.search.BooleanQuery
Constructs an empty boolean query.
BooleanQuery.BooleanWeight - Class in org.apache.lucene.search
Expert: the Weight for BooleanQuery, used to normalize, score and explain these queries.
BooleanQuery.BooleanWeight(Searcher) - Constructor for class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
BooleanQuery.TooManyClauses - Exception in org.apache.lucene.search
Thrown when an attempt is made to add more than BooleanQuery.getMaxClauseCount() clauses.
BooleanQuery.TooManyClauses() - Constructor for exception org.apache.lucene.search.BooleanQuery.TooManyClauses
 
boost - Variable in class org.apache.lucene.document.AbstractField
 
Boost - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
Lexical state.
boost(float) - Static method in class org.apache.lucene.util.ToStringUtils
for printing boost only if not 1.0
BoostingTermQuery - Class in org.apache.lucene.search.payloads
Deprecated. See PayloadTermQuery
BoostingTermQuery(Term) - Constructor for class org.apache.lucene.search.payloads.BoostingTermQuery
Deprecated.  
BoostingTermQuery(Term, boolean) - Constructor for class org.apache.lucene.search.payloads.BoostingTermQuery
Deprecated.  
BoostingTermQuery.BoostingTermWeight - Class in org.apache.lucene.search.payloads
Deprecated.  
BoostingTermQuery.BoostingTermWeight(BoostingTermQuery, Searcher) - Constructor for class org.apache.lucene.search.payloads.BoostingTermQuery.BoostingTermWeight
Deprecated.  
boosts - Variable in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
BUF_SIZE_INT - Static variable in class org.apache.lucene.util.NumericUtils
Expert: The maximum term length (used for char[] buffer size) for encoding int values.
BUF_SIZE_LONG - Static variable in class org.apache.lucene.util.NumericUtils
Expert: The maximum term length (used for char[] buffer size) for encoding long values.
buffer - Variable in class org.apache.lucene.store.BufferedIndexInput
 
BUFFER_SIZE - Static variable in class org.apache.lucene.store.BufferedIndexInput
Default buffer size
BufferedIndexInput - Class in org.apache.lucene.store
Base implementation class for buffered IndexInput.
BufferedIndexInput() - Constructor for class org.apache.lucene.store.BufferedIndexInput
 
BufferedIndexInput(int) - Constructor for class org.apache.lucene.store.BufferedIndexInput
Inits BufferedIndexInput with a specific bufferSize
BufferedIndexOutput - Class in org.apache.lucene.store
Base implementation class for buffered IndexOutput.
BufferedIndexOutput() - Constructor for class org.apache.lucene.store.BufferedIndexOutput
 
buffers - Variable in class org.apache.lucene.store.RAMFile
 
BYTE - Static variable in class org.apache.lucene.search.function.FieldScoreQuery.Type
field values are interpreted as numeric byte values.
BYTE - Static variable in class org.apache.lucene.search.SortField
Sort using term values as encoded Bytes.
byte315ToFloat(byte) - Static method in class org.apache.lucene.util.SmallFloat
byteToFloat(b, mantissaBits=3, zeroExponent=15)
byte52ToFloat(byte) - Static method in class org.apache.lucene.util.SmallFloat
byteToFloat(b, mantissaBits=5, zeroExponent=2)
byteAt(int) - Method in class org.apache.lucene.index.Payload
Returns the byte at the given index.
ByteFieldSource - Class in org.apache.lucene.search.function
Expert: obtains single byte field values from the FieldCache using getBytes() and makes those values available as other numeric types, casting as needed.
ByteFieldSource(String) - Constructor for class org.apache.lucene.search.function.ByteFieldSource
Create a cached byte field source with default string-to-byte parser.
ByteFieldSource(String, FieldCache.ByteParser) - Constructor for class org.apache.lucene.search.function.ByteFieldSource
Create a cached byte field source with a specific string-to-byte parser.
bytesDifference(byte[], int, byte[], int) - Static method in class org.apache.lucene.util.StringHelper
Compares two byte[] arrays, element by element, and returns the number of elements common to both arrays.
byteToFloat(byte, int, int) - Static method in class org.apache.lucene.util.SmallFloat
Converts an 8 bit float to a 32 bit float.

C

cache - Variable in class org.apache.lucene.search.CachingWrapperFilter
 
cache - Variable in class org.apache.lucene.search.FilterManager
The cache itself
Cache - Class in org.apache.lucene.util.cache
Base class for cache implementations.
Cache() - Constructor for class org.apache.lucene.util.cache.Cache
 
cacheCleanSize - Variable in class org.apache.lucene.search.FilterManager
Maximum allowed cache size
cachedFieldSourceEquals(FieldCacheSource) - Method in class org.apache.lucene.search.function.ByteFieldSource
 
cachedFieldSourceEquals(FieldCacheSource) - Method in class org.apache.lucene.search.function.FieldCacheSource
Check if equals to another FieldCacheSource, already knowing that cache and field are equal.
cachedFieldSourceEquals(FieldCacheSource) - Method in class org.apache.lucene.search.function.FloatFieldSource
 
cachedFieldSourceEquals(FieldCacheSource) - Method in class org.apache.lucene.search.function.IntFieldSource
 
cachedFieldSourceEquals(FieldCacheSource) - Method in class org.apache.lucene.search.function.ShortFieldSource
 
cachedFieldSourceHashCode() - Method in class org.apache.lucene.search.function.ByteFieldSource
 
cachedFieldSourceHashCode() - Method in class org.apache.lucene.search.function.FieldCacheSource
Return a hash code of a FieldCacheSource, without the hash-codes of the field and the cache (those are taken care of elsewhere).
cachedFieldSourceHashCode() - Method in class org.apache.lucene.search.function.FloatFieldSource
 
cachedFieldSourceHashCode() - Method in class org.apache.lucene.search.function.IntFieldSource
 
cachedFieldSourceHashCode() - Method in class org.apache.lucene.search.function.ShortFieldSource
 
CachingSpanFilter - Class in org.apache.lucene.search
Wraps another SpanFilter's result and caches it.
CachingSpanFilter(SpanFilter) - Constructor for class org.apache.lucene.search.CachingSpanFilter
New deletions always result in a cache miss, by default (CachingWrapperFilter.DeletesMode.RECACHE.
CachingSpanFilter(SpanFilter, CachingWrapperFilter.DeletesMode) - Constructor for class org.apache.lucene.search.CachingSpanFilter
 
CachingTokenFilter - Class in org.apache.lucene.analysis
This class can be used if the token attributes of a TokenStream are intended to be consumed more than once.
CachingTokenFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.CachingTokenFilter
 
CachingWrapperFilter - Class in org.apache.lucene.search
Wraps another filter's result and caches it.
CachingWrapperFilter(Filter) - Constructor for class org.apache.lucene.search.CachingWrapperFilter
New deletes are ignored by default, which gives higher cache hit rate on reopened readers.
CachingWrapperFilter(Filter, CachingWrapperFilter.DeletesMode) - Constructor for class org.apache.lucene.search.CachingWrapperFilter
Expert: by default, the cached filter will be shared across reopened segments that only had changes to their deletions.
CachingWrapperFilter.DeletesMode - Class in org.apache.lucene.search
Expert: Specifies how new deletions against a reopened reader should be handled.
calibrateSizeByDeletes - Variable in class org.apache.lucene.index.LogMergePolicy
 
cantOpenSegments - Variable in class org.apache.lucene.index.CheckIndex.Status
True if we were unable to open the segments_N file.
capacity() - Method in class org.apache.lucene.util.OpenBitSet
Returns the current capacity in bits (1 greater than the index of the last bit)
captureState() - Method in class org.apache.lucene.util.AttributeSource
Captures the state of all Attributes.
CARAT - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
cardinality() - Method in class org.apache.lucene.util.OpenBitSet
 
CharArraySet - Class in org.apache.lucene.analysis
A simple class that stores Strings as char[]'s in a hash table.
CharArraySet(int, boolean) - Constructor for class org.apache.lucene.analysis.CharArraySet
Create set with enough capacity to hold startSize terms
CharArraySet(Collection, boolean) - Constructor for class org.apache.lucene.analysis.CharArraySet
Create set from a Collection of char[] or String
CharArraySet.CharArraySetIterator - Class in org.apache.lucene.analysis
The Iterator for this set.
CharFilter - Class in org.apache.lucene.analysis
Subclasses of CharFilter can be chained to filter CharStream.
CharFilter(CharStream) - Constructor for class org.apache.lucene.analysis.CharFilter
 
CharReader - Class in org.apache.lucene.analysis
CharReader is a Reader wrapper.
CharStream - Class in org.apache.lucene.analysis
CharStream adds CharStream.correctOffset(int) functionality over Reader.
CharStream() - Constructor for class org.apache.lucene.analysis.CharStream
 
CharStream - Interface in org.apache.lucene.queryParser
This interface describes a character stream that maintains line and column number positions of the characters.
CharTokenizer - Class in org.apache.lucene.analysis
An abstract base class for simple, character-oriented tokenizers.
CharTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.CharTokenizer
 
CharTokenizer(AttributeSource, Reader) - Constructor for class org.apache.lucene.analysis.CharTokenizer
 
CharTokenizer(AttributeSource.AttributeFactory, Reader) - Constructor for class org.apache.lucene.analysis.CharTokenizer
 
check(Directory, boolean) - Static method in class org.apache.lucene.index.CheckIndex
Deprecated. Please instantiate a CheckIndex and then use CheckIndex.checkIndex() instead
check(Directory, boolean, List) - Static method in class org.apache.lucene.index.CheckIndex
Deprecated. Please instantiate a CheckIndex and then use CheckIndex.checkIndex(List) instead
check(FieldCache.CacheEntry[]) - Method in class org.apache.lucene.util.FieldCacheSanityChecker
Tests a CacheEntry[] for indication of "insane" cache usage.
CheckIndex - Class in org.apache.lucene.index
Basic tool and API to check the health of an index and write a new segments file that removes reference to problematic segments.
CheckIndex(Directory) - Constructor for class org.apache.lucene.index.CheckIndex
Create a new CheckIndex on the directory.
checkIndex() - Method in class org.apache.lucene.index.CheckIndex
Returns a CheckIndex.Status instance detailing the state of the index.
checkIndex(List) - Method in class org.apache.lucene.index.CheckIndex
Returns a CheckIndex.Status instance detailing the state of the index.
CheckIndex.Status - Class in org.apache.lucene.index
Returned from CheckIndex.checkIndex() detailing the health and status of the index.
CheckIndex.Status() - Constructor for class org.apache.lucene.index.CheckIndex.Status
 
CheckIndex.Status.FieldNormStatus - Class in org.apache.lucene.index
Status from testing field norms.
CheckIndex.Status.FieldNormStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.FieldNormStatus
 
CheckIndex.Status.SegmentInfoStatus - Class in org.apache.lucene.index
Holds the status of each segment in the index.
CheckIndex.Status.SegmentInfoStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
 
CheckIndex.Status.StoredFieldStatus - Class in org.apache.lucene.index
Status from testing stored fields.
CheckIndex.Status.StoredFieldStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.StoredFieldStatus
 
CheckIndex.Status.TermIndexStatus - Class in org.apache.lucene.index
Status from testing term index.
CheckIndex.Status.TermIndexStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
 
CheckIndex.Status.TermVectorStatus - Class in org.apache.lucene.index
Status from testing stored fields.
CheckIndex.Status.TermVectorStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.TermVectorStatus
 
checkSanity(FieldCache) - Static method in class org.apache.lucene.util.FieldCacheSanityChecker
Quick and dirty convenience method
checkSanity(FieldCache.CacheEntry[]) - Static method in class org.apache.lucene.util.FieldCacheSanityChecker
Quick and dirty convenience method that instantiates an instance with "good defaults" and uses it to test the CacheEntry[]
ChecksumIndexInput - Class in org.apache.lucene.store
Writes bytes through to a primary IndexOutput, computing checksum as it goes.
ChecksumIndexInput(IndexInput) - Constructor for class org.apache.lucene.store.ChecksumIndexInput
 
ChecksumIndexOutput - Class in org.apache.lucene.store
Writes bytes through to a primary IndexOutput, computing checksum.
ChecksumIndexOutput(IndexOutput) - Constructor for class org.apache.lucene.store.ChecksumIndexOutput
 
chunkSize - Variable in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
CJ - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
Clause(String) - Method in class org.apache.lucene.queryParser.QueryParser
 
clauses() - Method in class org.apache.lucene.search.BooleanQuery
Returns the list of clauses in this query.
clauses - Variable in class org.apache.lucene.search.spans.SpanNearQuery
 
clean - Variable in class org.apache.lucene.index.CheckIndex.Status
True if no problems were found with the index.
cleanSleepTime - Variable in class org.apache.lucene.search.FilterManager
Cache cleaning frequency
clear() - Method in class org.apache.lucene.analysis.Token
Resets the term text, payload, flags, and positionIncrement, startOffset, endOffset and token type to default.
clear() - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
 
clear() - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
 
clear() - Method in class org.apache.lucene.util.AttributeImpl
Clears the values in this AttributeImpl and resets it to its default value.
clear(int) - Method in class org.apache.lucene.util.BitVector
Sets the value of bit to zero.
clear(long) - Method in class org.apache.lucene.util.OpenBitSet
clears a bit, allowing access beyond the current set size without changing the size.
clear(int, int) - Method in class org.apache.lucene.util.OpenBitSet
Clears a range of bits.
clear(long, long) - Method in class org.apache.lucene.util.OpenBitSet
Clears a range of bits.
clear() - Method in class org.apache.lucene.util.PriorityQueue
Removes all entries from the PriorityQueue.
clear() - Method in class org.apache.lucene.util.ScorerDocQueue
Removes all entries from the ScorerDocQueue.
clearAttributes() - Method in class org.apache.lucene.util.AttributeSource
Resets all Attributes in this AttributeSource by calling AttributeImpl.clear() on each Attribute implementation.
clearLock(String) - Method in class org.apache.lucene.store.Directory
Attempt to clear (forcefully unlock and remove) the specified lock.
clearLock(String) - Method in class org.apache.lucene.store.LockFactory
Attempt to clear (forcefully unlock and remove) the specified lock.
clearLock(String) - Method in class org.apache.lucene.store.NativeFSLockFactory
 
clearLock(String) - Method in class org.apache.lucene.store.NoLockFactory
 
clearLock(String) - Method in class org.apache.lucene.store.SimpleFSLockFactory
 
clearLock(String) - Method in class org.apache.lucene.store.SingleInstanceLockFactory
 
clearLock(String) - Method in class org.apache.lucene.store.VerifyingLockFactory
 
clearTotalNumberOfTerms() - Method in class org.apache.lucene.search.MultiTermQuery
Expert: Resets the counting of unique terms.
clearTotalNumberOfTerms() - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
Expert: Resets the counting of unique terms.
clearUnhandledExceptions() - Static method in class org.apache.lucene.index.ConcurrentMergeScheduler
 
clone() - Method in class org.apache.lucene.analysis.Token
 
clone(char[], int, int, int, int) - Method in class org.apache.lucene.analysis.Token
Makes a clone, but replaces the term buffer & start/end offset in the process.
clone() - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
 
clone() - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
 
clone() - Method in class org.apache.lucene.index.IndexReader
Efficiently clones the IndexReader (sharing most internal state).
clone(boolean) - Method in class org.apache.lucene.index.IndexReader
Clones the IndexReader and optionally changes readOnly.
clone() - Method in class org.apache.lucene.index.MultiReader
Clones the subreaders.
clone() - Method in class org.apache.lucene.index.ParallelReader
 
clone() - Method in class org.apache.lucene.index.Payload
Clones this payload by creating a copy of the underlying byte array.
clone() - Method in class org.apache.lucene.index.SegmentInfo
 
clone() - Method in class org.apache.lucene.index.SegmentInfos
Returns a copy of this instance, also copying each SegmentInfo.
clone() - Method in class org.apache.lucene.index.SegmentReader
 
clone(boolean) - Method in class org.apache.lucene.index.SegmentReader
 
clone() - Method in class org.apache.lucene.search.BooleanQuery
 
clone() - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Create a shallow copy of us -- used in rewriting if necessary
clone() - Method in class org.apache.lucene.search.function.CustomScoreQuery
 
clone() - Method in class org.apache.lucene.search.payloads.PayloadNearQuery
 
clone() - Method in class org.apache.lucene.search.Query
Returns a clone of this query.
clone() - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
clone() - Method in class org.apache.lucene.search.spans.SpanNearQuery
 
clone() - Method in class org.apache.lucene.search.spans.SpanNotQuery
 
clone() - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
clone() - Method in class org.apache.lucene.store.BufferedIndexInput
 
clone() - Method in class org.apache.lucene.store.IndexInput
Returns a clone of this stream.
clone() - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
clone() - Method in class org.apache.lucene.util.AttributeImpl
Shallow clone.
clone() - Method in class org.apache.lucene.util.AttributeSource.State
 
clone() - Method in class org.apache.lucene.util.BitVector
 
clone() - Method in class org.apache.lucene.util.OpenBitSet
 
cloneAttributes() - Method in class org.apache.lucene.util.AttributeSource
Performs a clone of all AttributeImpl instances returned in a new AttributeSource instance.
cloneDeletedDocs(BitVector) - Method in class org.apache.lucene.index.SegmentReader
Clones the deleteDocs BitVector.
cloneNormBytes(byte[]) - Method in class org.apache.lucene.index.SegmentReader
Clones the norm bytes.
close() - Method in class org.apache.lucene.analysis.Analyzer
Frees persistent resources used by this Analyzer
close() - Method in class org.apache.lucene.analysis.CharFilter
 
close() - Method in class org.apache.lucene.analysis.CharReader
 
close() - Method in class org.apache.lucene.analysis.SinkTokenizer
Deprecated.  
close() - Method in class org.apache.lucene.analysis.TokenFilter
Close the input TokenStream.
close() - Method in class org.apache.lucene.analysis.Tokenizer
By default, closes the input Reader.
close() - Method in class org.apache.lucene.analysis.TokenStream
Releases resources associated with this stream.
close() - Method in class org.apache.lucene.index.AbstractAllTermDocs
 
close() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
 
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.IndexModifier
Deprecated. Close this index, writing all pending changes to disk.
close() - Method in class org.apache.lucene.index.IndexReader
Closes files associated with this index.
close() - Method in class org.apache.lucene.index.IndexWriter
Commits all changes to an index and closes all associated files.
close(boolean) - Method in class org.apache.lucene.index.IndexWriter
Closes the index with or without waiting for currently running merges to finish.
close() - Method in class org.apache.lucene.index.LogMergePolicy
 
close() - Method in class org.apache.lucene.index.MergePolicy
Release all resources for the policy.
close() - Method in class org.apache.lucene.index.MultipleTermPositions
 
close() - Method in class org.apache.lucene.index.SerialMergeScheduler
 
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 interface org.apache.lucene.search.Searchable
Frees resources associated with this Searcher.
close() - Method in class org.apache.lucene.search.Searcher
 
close() - Method in class org.apache.lucene.store.BufferedIndexOutput
Closes this stream to further operations.
close() - Method in class org.apache.lucene.store.ChecksumIndexInput
 
close() - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
close() - Method in class org.apache.lucene.store.Directory
Closes the store.
close() - Method in class org.apache.lucene.store.FileSwitchDirectory
 
close() - Method in class org.apache.lucene.store.FSDirectory
Closes the store to future operations.
close() - Method in class org.apache.lucene.store.IndexInput
Closes the stream to further operations.
close() - Method in class org.apache.lucene.store.IndexOutput
Closes this stream to further operations.
close() - Method in class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
 
close() - Method in class org.apache.lucene.store.RAMDirectory
Closes the store to future operations, releasing associated memory.
close() - Method in class org.apache.lucene.store.RAMOutputStream
 
close() - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
close() - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput.Descriptor
 
close() - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexOutput
 
close() - Method in class org.apache.lucene.util.cache.Cache
Closes the cache.
close() - Method in class org.apache.lucene.util.cache.SimpleMapCache
 
close() - Method in class org.apache.lucene.util.CloseableThreadLocal
 
CloseableThreadLocal - Class in org.apache.lucene.util
Java's builtin ThreadLocal has a serious flaw: it can take an arbitrarily long amount of time to dereference the things you had stored in it, even once the ThreadLocal instance itself is no longer referenced.
CloseableThreadLocal() - Constructor for class org.apache.lucene.util.CloseableThreadLocal
 
closeDir - Variable in class org.apache.lucene.index.IndexModifier
Deprecated.  
collect(int) - Method in class org.apache.lucene.search.Collector
Called once for every document matching a query, with the unbased document number.
collect(int, float) - Method in class org.apache.lucene.search.HitCollector
Deprecated. Called once for every document matching a query, with the document number and its raw score.
collect(int) - Method in class org.apache.lucene.search.HitCollectorWrapper
Deprecated.  
collect(int) - Method in class org.apache.lucene.search.PositiveScoresOnlyCollector
 
collect(int, float) - Method in class org.apache.lucene.search.TimeLimitedCollector
Deprecated. Calls collect() on the decorated HitCollector.
collect(int) - Method in class org.apache.lucene.search.TimeLimitingCollector
Calls Collector.collect(int) on the decorated Collector unless the allowed time has passed, in which case it throws an exception.
collect(int, float) - Method in class org.apache.lucene.search.TopDocCollector
Deprecated.  
collect(int, float) - Method in class org.apache.lucene.search.TopFieldDocCollector
Deprecated.  
Collector - Class in org.apache.lucene.search
Expert: Collectors are primarily meant to be used to gather raw results from a search, and implement sorting or custom result filtering, collation, etc.
Collector() - Constructor for class org.apache.lucene.search.Collector
 
COLON - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
combine(Query[]) - Method in class org.apache.lucene.search.Query
Expert: called when re-writing queries under MultiSearcher.
commit() - Method in class org.apache.lucene.index.IndexReader
Commit changes resulting from delete, undeleteAll, or setNorm operations If an exception is hit, then either no changes or all changes will have been committed to the index (transactional semantics).
commit(Map) - Method in class org.apache.lucene.index.IndexReader
Commit changes resulting from delete, undeleteAll, or setNorm operations If an exception is hit, then either no changes or all changes will have been committed to the index (transactional semantics).
commit() - Method in class org.apache.lucene.index.IndexWriter
Commits all pending changes (added & deleted documents, optimizations, segment merges, added indexes, etc.) to the index, and syncs all referenced index files, such that a reader will see the changes and the index updates will survive an OS or machine crash or power loss.
commit(Map) - Method in class org.apache.lucene.index.IndexWriter
Commits all changes to the index, specifying a commitUserData Map (String -> String).
COMPANY - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
comparators - Variable in class org.apache.lucene.search.FieldSortedHitQueue
Deprecated. Stores a comparator corresponding to each field being sorted by
comparators - Variable in class org.apache.lucene.search.FieldValueHitQueue
 
compare(Object, Object) - Method in class org.apache.lucene.index.TermVectorEntryFreqSortedComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator
Compare hit at slot1 with hit at slot2.
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.StringComparatorLocale
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
 
compare(int, int) - Method in class org.apache.lucene.search.FieldComparator.StringValComparator
 
compare(ScoreDoc, ScoreDoc) - Method in interface org.apache.lucene.search.ScoreDocComparator
Deprecated. Compares two ScoreDoc objects and returns a result indicating their sort order.
compare(int, int) - Method in class org.apache.lucene.util.SorterTemplate
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator
Compare the bottom of the queue with doc.
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.StringComparatorLocale
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
 
compareBottom(int) - Method in class org.apache.lucene.search.FieldComparator.StringValComparator
 
compareTo(Object) - Method in class org.apache.lucene.index.Term
 
compareTo(Term) - Method in class org.apache.lucene.index.Term
Compares two terms, returning a negative integer if this term belongs before the argument, zero if this term is equal to the argument, and a positive integer if this term belongs after the argument.
ComplexExplanation - Class in org.apache.lucene.search
Expert: Describes the score computation for document and query, and can distinguish a match independent of a positive value.
ComplexExplanation() - Constructor for class org.apache.lucene.search.ComplexExplanation
 
ComplexExplanation(boolean, float, String) - Constructor for class org.apache.lucene.search.ComplexExplanation
 
compound - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
True if segment is compound file format.
compress(byte[], int, int, int) - Static method in class org.apache.lucene.document.CompressionTools
Compresses the specified byte range using the specified compressionLevel (constants are defined in java.util.zip.Deflater).
compress(byte[], int, int) - Static method in class org.apache.lucene.document.CompressionTools
Compresses the specified byte range, with default BEST_COMPRESSION level
compress(byte[]) - Static method in class org.apache.lucene.document.CompressionTools
Compresses all bytes in the array, with default BEST_COMPRESSION level
COMPRESS - Static variable in class org.apache.lucene.document.Field.Store
Deprecated. Please use CompressionTools instead. For string fields that were previously indexed and stored using compression, the new way to achieve this is: First add the field indexed-only (no store) and additionally using the same field name as a binary, stored field with CompressionTools.compressString(java.lang.String).
CompressionTools - Class in org.apache.lucene.document
Simple utility class providing static methods to compress and decompress binary data for stored fields.
compressString(String) - Static method in class org.apache.lucene.document.CompressionTools
Compresses the String value, with default BEST_COMPRESSION level
compressString(String, int) - Static method in class org.apache.lucene.document.CompressionTools
Compresses the String value using the specified compressionLevel (constants are defined in java.util.zip.Deflater).
computeNorm(String, FieldInvertState) - Method in class org.apache.lucene.search.DefaultSimilarity
Implemented as state.getBoost()*lengthNorm(numTerms), where numTerms is FieldInvertState.getLength() if DefaultSimilarity.setDiscountOverlaps(boolean) is false, else it's FieldInvertState.getLength() - FieldInvertState.getNumOverlap().
computeNorm(String, FieldInvertState) - Method in class org.apache.lucene.search.Similarity
Compute the normalization value for a field, given the accumulated state of term processing for this field (see FieldInvertState).
computeNorm(String, FieldInvertState) - Method in class org.apache.lucene.search.SimilarityDelegator
 
ConcurrentMergeScheduler - Class in org.apache.lucene.index
A MergeScheduler that runs each merge using a separate thread, up until a maximum number of threads (ConcurrentMergeScheduler.setMaxThreadCount(int)) at which when a merge is needed, the thread(s) that are updating the index will pause until one or more merges completes.
ConcurrentMergeScheduler() - Constructor for class org.apache.lucene.index.ConcurrentMergeScheduler
 
ConcurrentMergeScheduler.MergeThread - Class in org.apache.lucene.index
 
ConcurrentMergeScheduler.MergeThread(IndexWriter, MergePolicy.OneMerge) - Constructor for class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
 
Conjunction() - Method in class org.apache.lucene.queryParser.QueryParser
 
CONSTANT_SCORE_AUTO_REWRITE_DEFAULT - Static variable in class org.apache.lucene.search.MultiTermQuery
Read-only default instance of MultiTermQuery.ConstantScoreAutoRewrite, with MultiTermQuery.ConstantScoreAutoRewrite.setTermCountCutoff(int) set to MultiTermQuery.ConstantScoreAutoRewrite.DEFAULT_TERM_COUNT_CUTOFF and MultiTermQuery.ConstantScoreAutoRewrite.setDocCountPercent(double) set to MultiTermQuery.ConstantScoreAutoRewrite.DEFAULT_DOC_COUNT_PERCENT.
CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.MultiTermQuery
Like MultiTermQuery.SCORING_BOOLEAN_QUERY_REWRITE except scores are not computed.
CONSTANT_SCORE_FILTER_REWRITE - Static variable in class org.apache.lucene.search.MultiTermQuery
A rewrite method that first creates a private Filter, by visiting each term in sequence and marking all docs for that term.
Constants - Class in org.apache.lucene.util
Some useful constants.
ConstantScoreQuery - Class in org.apache.lucene.search
A query that wraps a filter and simply returns a constant score equal to the query boost for every document in the filter.
ConstantScoreQuery(Filter) - Constructor for class org.apache.lucene.search.ConstantScoreQuery
 
ConstantScoreQuery.ConstantScorer - Class in org.apache.lucene.search
 
ConstantScoreQuery.ConstantScorer(Similarity, IndexReader, Weight) - Constructor for class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
 
ConstantScoreQuery.ConstantWeight - Class in org.apache.lucene.search
 
ConstantScoreQuery.ConstantWeight(Searcher) - Constructor for class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
 
ConstantScoreRangeQuery - Class in org.apache.lucene.search
Deprecated. Use TermRangeQuery for term ranges or NumericRangeQuery for numeric ranges instead. This class will be removed in Lucene 3.0.
ConstantScoreRangeQuery(String, String, String, boolean, boolean) - Constructor for class org.apache.lucene.search.ConstantScoreRangeQuery
Deprecated.  
ConstantScoreRangeQuery(String, String, String, boolean, boolean, Collator) - Constructor for class org.apache.lucene.search.ConstantScoreRangeQuery
Deprecated.  
consumeAllTokens() - Method in class org.apache.lucene.analysis.TeeSinkTokenFilter
TeeSinkTokenFilter passes all tokens to the added sinks when itself is consumed.
contains(char[], int, int) - Method in class org.apache.lucene.analysis.CharArraySet
true if the len chars of text starting at off are in the set
contains(CharSequence) - Method in class org.apache.lucene.analysis.CharArraySet
true if the CharSequence is in the set
contains(Object) - Method in class org.apache.lucene.analysis.CharArraySet
 
containsKey(Object) - Method in class org.apache.lucene.util.cache.Cache
Returns whether the given key is in this cache.
containsKey(Object) - Method in class org.apache.lucene.util.cache.SimpleMapCache
 
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.
coord(int, int) - Method in class org.apache.lucene.search.SimilarityDelegator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator
This method is called when a new hit is competitive.
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.StringComparatorLocale
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
 
copy(int, int) - Method in class org.apache.lucene.search.FieldComparator.StringValComparator
 
copy(Directory, Directory, boolean) - Static method in class org.apache.lucene.store.Directory
Copy contents of a directory src to a directory dest.
copyBytes(IndexInput, long) - Method in class org.apache.lucene.store.IndexOutput
Copy numBytes bytes from input to ourself.
copyText(UnicodeUtil.UTF16Result) - Method in class org.apache.lucene.util.UnicodeUtil.UTF16Result
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.Token
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
 
copyTo(AttributeImpl) - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
 
copyTo(byte[], int) - Method in class org.apache.lucene.index.Payload
Copies the payload data to a byte array.
copyTo(AttributeImpl) - Method in class org.apache.lucene.util.AttributeImpl
Copies the values from this Attribute into the passed-in target attribute.
correct(int) - Method in class org.apache.lucene.analysis.BaseCharFilter
Retrieve the corrected offset.
correct(int) - Method in class org.apache.lucene.analysis.CharFilter
Subclass may want to override to correct the current offset.
correctOffset(int) - Method in class org.apache.lucene.analysis.CharFilter
Chains the corrected offset through the input CharFilter.
correctOffset(int) - Method in class org.apache.lucene.analysis.CharReader
 
correctOffset(int) - Method in class org.apache.lucene.analysis.CharStream
Called by CharFilter(s) and Tokenizer to correct token offset.
correctOffset(int) - Method in class org.apache.lucene.analysis.Tokenizer
Return the corrected offset.
CorruptIndexException - Exception in org.apache.lucene.index
This exception is thrown when Lucene detects an inconsistency in the index.
CorruptIndexException(String) - Constructor for exception org.apache.lucene.index.CorruptIndexException
 
count - Variable in class org.apache.lucene.search.spans.TermSpans
 
count() - Method in class org.apache.lucene.util.BitVector
Returns the total number of one bits in this vector.
counter - Variable in class org.apache.lucene.index.SegmentInfos
 
create(SortField[], int) - Static method in class org.apache.lucene.search.FieldValueHitQueue
Creates a hit queue sorted by the given list of fields.
create(Sort, int, boolean, boolean, boolean, boolean) - Static method in class org.apache.lucene.search.TopFieldCollector
Creates a new TopFieldCollector from the given arguments.
create(int, boolean) - Static method in class org.apache.lucene.search.TopScoreDocCollector
Creates a new TopScoreDocCollector given the number of hits to collect and whether documents are scored in order by the input Scorer to TopScoreDocCollector.setScorer(Scorer).
createAttributeInstance(Class) - Method in class org.apache.lucene.util.AttributeSource.AttributeFactory
returns an AttributeImpl for the supplied Attribute interface class.
createIndexReader() - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Close the IndexWriter and open an IndexReader.
createIndexWriter() - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Close the IndexReader and open an IndexWriter.
createOutput(String) - Method in class org.apache.lucene.store.Directory
Creates a new, empty file in the directory with the given name.
createOutput(String) - Method in class org.apache.lucene.store.FileSwitchDirectory
 
createOutput(String) - Method in class org.apache.lucene.store.FSDirectory
Creates an IndexOutput for the file with the given name.
createOutput(String) - Method in class org.apache.lucene.store.MMapDirectory
Creates an IndexOutput for the file with the given name.
createOutput(String) - Method in class org.apache.lucene.store.NIOFSDirectory
Creates an IndexOutput for the file with the given name.
createOutput(String) - Method in class org.apache.lucene.store.RAMDirectory
Creates a new, empty file in the directory with the given name.
createOutput(String) - Method in class org.apache.lucene.store.SimpleFSDirectory
Creates an IndexOutput for the file with the given name.
createTerm(String) - Method in class org.apache.lucene.index.Term
Optimized construction of new Terms by reusing same field as this Term - avoids field.intern() overhead
createWeight(Searcher) - Method in class org.apache.lucene.search.BooleanQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.ConstantScoreQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
 
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.function.CustomScoreQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.function.ValueSourceQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.MatchAllDocsQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.MultiPhraseQuery
 
createWeight(Query) - Method in class org.apache.lucene.search.MultiSearcher
Create weight in multiple index scenario.
createWeight(Searcher) - Method in class org.apache.lucene.search.payloads.BoostingTermQuery
Deprecated.  
createWeight(Searcher) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.payloads.PayloadTermQuery
 
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(Query) - Method in class org.apache.lucene.search.Searcher
creates a weight for query
createWeight(Searcher) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.spans.SpanQuery
 
createWeight(Searcher) - Method in class org.apache.lucene.search.TermQuery
 
curChar - Variable in class org.apache.lucene.queryParser.QueryParserTokenManager
 
currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.search.payloads.AveragePayloadFunction
 
currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.search.payloads.MaxPayloadFunction
 
currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.search.payloads.MinPayloadFunction
 
currentScore(int, String, int, int, int, float, float) - Method in class org.apache.lucene.search.payloads.PayloadFunction
Calculate the score up to this point for this doc and field
currentTerm - Variable in class org.apache.lucene.search.FilteredTermEnum
the current term
currentToken - Variable in exception org.apache.lucene.queryParser.ParseException
This is the last token that has been consumed successfully.
CUSTOM - Static variable in class org.apache.lucene.search.SortField
Sort using a custom Comparator.
customExplain(int, Explanation, Explanation[]) - Method in class org.apache.lucene.search.function.CustomScoreProvider
Explain the custom score.
customExplain(int, Explanation, Explanation) - Method in class org.apache.lucene.search.function.CustomScoreProvider
Explain the custom score.
customExplain(int, Explanation, Explanation[]) - Method in class org.apache.lucene.search.function.CustomScoreQuery
Deprecated. Will be removed in Lucene 3.1. The doc is relative to the current reader, which is unknown to CustomScoreQuery when using per-segment search (since Lucene 2.9). Please override CustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.IndexReader) and return a subclass of CustomScoreProvider for the given IndexReader.
customExplain(int, Explanation, Explanation) - Method in class org.apache.lucene.search.function.CustomScoreQuery
Deprecated. Will be removed in Lucene 3.1. The doc is relative to the current reader, which is unknown to CustomScoreQuery when using per-segment search (since Lucene 2.9). Please override CustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.IndexReader) and return a subclass of CustomScoreProvider for the given IndexReader.
customScore(int, float, float[]) - Method in class org.apache.lucene.search.function.CustomScoreProvider
Compute a custom score by the subQuery score and a number of ValueSourceQuery scores.
customScore(int, float, float) - Method in class org.apache.lucene.search.function.CustomScoreProvider
Compute a custom score by the subQuery score and the ValueSourceQuery score.
customScore(int, float, float[]) - Method in class org.apache.lucene.search.function.CustomScoreQuery
Deprecated. Will be removed in Lucene 3.1. The doc is relative to the current reader, which is unknown to CustomScoreQuery when using per-segment search (since Lucene 2.9). Please override CustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.IndexReader) and return a subclass of CustomScoreProvider for the given IndexReader.
customScore(int, float, float) - Method in class org.apache.lucene.search.function.CustomScoreQuery
Deprecated. Will be removed in Lucene 3.1. The doc is relative to the current reader, which is unknown to CustomScoreQuery when using per-segment search (since Lucene 2.9). Please override CustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.IndexReader) and return a subclass of CustomScoreProvider for the given IndexReader.
CustomScoreProvider - Class in org.apache.lucene.search.function
An instance of this subclass should be returned by CustomScoreQuery.getCustomScoreProvider(org.apache.lucene.index.IndexReader), if you want to modify the custom score calculation of a CustomScoreQuery.
CustomScoreProvider(IndexReader) - Constructor for class org.apache.lucene.search.function.CustomScoreProvider
Creates a new instance of the provider class for the given IndexReader.
CustomScoreQuery - Class in org.apache.lucene.search.function
Query that sets document score as a programmatic function of several (sub) scores: the score of its subQuery (any query) (optional) the score of its ValueSourceQuery (or queries).
CustomScoreQuery(Query) - Constructor for class org.apache.lucene.search.function.CustomScoreQuery
Create a CustomScoreQuery over input subQuery.
CustomScoreQuery(Query, ValueSourceQuery) - Constructor for class org.apache.lucene.search.function.CustomScoreQuery
Create a CustomScoreQuery over input subQuery and a ValueSourceQuery.
CustomScoreQuery(Query, ValueSourceQuery[]) - Constructor for class org.apache.lucene.search.function.CustomScoreQuery
Create a CustomScoreQuery over input subQuery and a ValueSourceQuery.

D

data - Variable in class org.apache.lucene.index.Payload
the byte array containing the payload data
DateField - Class in org.apache.lucene.document
Deprecated. If you build a new index, use DateTools or NumericField instead. This class is included for use with existing indices and will be removed in a future release.
DateTools - Class in org.apache.lucene.document
Provides support for converting dates to strings and vice-versa.
DateTools.Resolution - Class in org.apache.lucene.document
Specifies the time granularity.
dateToString(Date) - Static method in class org.apache.lucene.document.DateField
Deprecated. Converts a Date to a string suitable for indexing.
dateToString(Date, DateTools.Resolution) - Static method in class org.apache.lucene.document.DateTools
Converts a Date to a string suitable for indexing.
DAY - Static variable in class org.apache.lucene.document.DateTools.Resolution
 
debugStream - Variable in class org.apache.lucene.queryParser.QueryParserTokenManager
Debug output.
decode(CharBuffer, ByteBuffer) - Static method in class org.apache.lucene.util.IndexableBinaryStringTools
Decodes the input char sequence into the output byte sequence.
decode(CharBuffer) - Static method in class org.apache.lucene.util.IndexableBinaryStringTools
Decodes the given char sequence, which must have been encoded by IndexableBinaryStringTools.encode(java.nio.ByteBuffer) or IndexableBinaryStringTools.encode(java.nio.ByteBuffer, java.nio.CharBuffer).
decodeNorm(byte) - Static method in class org.apache.lucene.search.Similarity
Decodes a normalization factor stored in an index.
decompress(byte[]) - Static method in class org.apache.lucene.document.CompressionTools
Decompress the byte array previously returned by compress
decompressString(byte[]) - Static method in class org.apache.lucene.document.CompressionTools
Decompress the byte array previously returned by compressString back into a String
decRef() - Method in class org.apache.lucene.index.IndexReader
Expert: decreases the refCount of this IndexReader instance.
DEFAULT - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
Lexical state.
DEFAULT - Static variable in interface org.apache.lucene.search.FieldCache
Expert: The cache used internally by sorting and range query classes.
DEFAULT_ATTRIBUTE_FACTORY - Static variable in class org.apache.lucene.util.AttributeSource.AttributeFactory
This is the default factory that creates AttributeImpls using the class name of the supplied Attribute interface class by appending Impl to it.
DEFAULT_BYTE_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for byte values, which are encoded by Byte.toString(byte)
DEFAULT_CACHE_CLEAN_SIZE - Static variable in class org.apache.lucene.search.FilterManager
The default maximum number of Filters in the cache
DEFAULT_CACHE_SLEEP_TIME - Static variable in class org.apache.lucene.search.FilterManager
The default frequency of cache cleanup
DEFAULT_DOC_COUNT_PERCENT - Static variable in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
 
DEFAULT_DOUBLE_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for double values, which are encoded by Double.toString(double)
DEFAULT_FLOAT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for float values, which are encoded by Float.toString(float)
DEFAULT_GREEDY - Variable in class org.apache.lucene.search.TimeLimitedCollector
Deprecated. Default for TimeLimitedCollector.isGreedy().
DEFAULT_GREEDY - Variable in class org.apache.lucene.search.TimeLimitingCollector
Default for TimeLimitingCollector.isGreedy().
DEFAULT_INT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for int values, which are encoded by Integer.toString(int)
DEFAULT_LONG_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for long values, which are encoded by Long.toString(long)
DEFAULT_MAX_BUFFERED_DELETE_TERMS - Static variable in class org.apache.lucene.index.IndexWriter
Disabled by default (because IndexWriter flushes by RAM usage by default).
DEFAULT_MAX_BUFFERED_DOCS - Static variable in class org.apache.lucene.index.IndexWriter
Disabled by default (because IndexWriter flushes by RAM usage by default).
DEFAULT_MAX_FIELD_LENGTH - Static variable in class org.apache.lucene.index.IndexWriter
Default value is 10,000.
DEFAULT_MAX_MERGE_DOCS - Static variable in class org.apache.lucene.index.IndexWriter
Deprecated.  
DEFAULT_MAX_MERGE_DOCS - Static variable in class org.apache.lucene.index.LogMergePolicy
Default maximum segment size.
DEFAULT_MAX_MERGE_MB - Static variable in class org.apache.lucene.index.LogByteSizeMergePolicy
Default maximum segment size.
DEFAULT_MAX_SYNC_PAUSE_SECONDS - Static variable in class org.apache.lucene.index.IndexWriter
Default for IndexWriter.getMaxSyncPauseSeconds().
DEFAULT_MAX_TOKEN_LENGTH - Static variable in class org.apache.lucene.analysis.standard.StandardAnalyzer
Default maximum allowed token length
DEFAULT_MERGE_FACTOR - Static variable in class org.apache.lucene.index.IndexWriter
Deprecated.  
DEFAULT_MERGE_FACTOR - Static variable in class org.apache.lucene.index.LogMergePolicy
Default merge factor, which is how many segments are merged at a time
DEFAULT_MIN_MERGE_DOCS - Static variable in class org.apache.lucene.index.LogDocMergePolicy
Default minimum segment size.
DEFAULT_MIN_MERGE_MB - Static variable in class org.apache.lucene.index.LogByteSizeMergePolicy
Default minimum segment size.
DEFAULT_NO_CFS_RATIO - Static variable in class org.apache.lucene.index.LogMergePolicy
Default noCFSRatio.
DEFAULT_RAM_BUFFER_SIZE_MB - Static variable in class org.apache.lucene.index.IndexWriter
Default value is 16 MB (which means flush when buffered docs consume 16 MB RAM).
DEFAULT_READ_CHUNK_SIZE - Static variable in class org.apache.lucene.store.FSDirectory
Default read chunk size.
DEFAULT_RESOLUTION - Static variable in class org.apache.lucene.search.TimeLimitedCollector
Deprecated. Default timer resolution.
DEFAULT_RESOLUTION - Static variable in class org.apache.lucene.search.TimeLimitingCollector
Default timer resolution.
DEFAULT_SHORT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
The default parser for short values, which are encoded by Short.toString(short)
DEFAULT_TERM_COUNT_CUTOFF - Static variable in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
 
DEFAULT_TERM_INDEX_INTERVAL - Static variable in class org.apache.lucene.index.IndexWriter
Default value is 128.
DEFAULT_TYPE - Static variable in class org.apache.lucene.analysis.Token
 
DEFAULT_TYPE - Static variable in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
 
defaultMinSimilarity - Static variable in class org.apache.lucene.search.FuzzyQuery
 
defaultPrefixLength - Static variable in class org.apache.lucene.search.FuzzyQuery
 
DefaultSimilarity - Class in org.apache.lucene.search
Expert: Default scoring implementation.
DefaultSimilarity() - Constructor for class org.apache.lucene.search.DefaultSimilarity
 
delete() - Method in class org.apache.lucene.index.IndexCommit
Delete this commit point.
delete() - Method in interface org.apache.lucene.index.IndexCommitPoint
Deprecated. Delete this commit point.
deleteAll() - Method in class org.apache.lucene.index.IndexWriter
Delete all documents in the index.
deleteDocument(int) - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Deletes the document numbered docNum.
deleteDocument(int) - Method in class org.apache.lucene.index.IndexReader
Deletes the document numbered docNum.
deleteDocuments(Term) - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Deletes all documents containing term.
deleteDocuments(Term) - Method in class org.apache.lucene.index.IndexReader
Deletes all documents that have a given term indexed.
deleteDocuments(Term) - Method in class org.apache.lucene.index.IndexWriter
Deletes the document(s) containing term.
deleteDocuments(Term[]) - Method in class org.apache.lucene.index.IndexWriter
Deletes the document(s) containing any of the terms.
deleteDocuments(Query) - Method in class org.apache.lucene.index.IndexWriter
Deletes the document(s) matching the provided query.
deleteDocuments(Query[]) - Method in class org.apache.lucene.index.IndexWriter
Deletes the document(s) matching any of the provided queries.
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.FileSwitchDirectory
 
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.
deletionsFileName - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Name of the current deletions file name.
description() - Method in class org.apache.lucene.search.function.ByteFieldSource
 
description() - Method in class org.apache.lucene.search.function.FieldCacheSource
 
description() - Method in class org.apache.lucene.search.function.FloatFieldSource
 
description() - Method in class org.apache.lucene.search.function.IntFieldSource
 
description() - Method in class org.apache.lucene.search.function.MultiValueSource
Deprecated.  
description() - Method in class org.apache.lucene.search.function.OrdFieldSource
 
description() - Method in class org.apache.lucene.search.function.ReverseOrdFieldSource
 
description() - Method in class org.apache.lucene.search.function.ShortFieldSource
 
description() - Method in class org.apache.lucene.search.function.ValueSource
description of field, used in explain()
diagnostics - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Map that includes certain debugging details that IndexWriter records into each segment it creates
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.PrefixTermEnum
 
difference() - Method in class org.apache.lucene.search.TermRangeTermEnum
 
difference() - Method in class org.apache.lucene.search.WildcardTermEnum
 
dir - Variable in class org.apache.lucene.index.CheckIndex.Status
Directory index is in.
dir - Variable in class org.apache.lucene.index.ConcurrentMergeScheduler
 
dir - Variable in class org.apache.lucene.index.SegmentInfo
 
directory() - Method in class org.apache.lucene.index.FilterIndexReader
 
directory - Variable in class org.apache.lucene.index.IndexModifier
Deprecated.  
directory() - Method in class org.apache.lucene.index.IndexReader
Returns the directory associated with this index.
directory() - Method in class org.apache.lucene.index.SegmentReader
Returns the directory this index resides in.
Directory - Class in org.apache.lucene.store
A Directory is a flat list of files.
Directory() - Constructor for class org.apache.lucene.store.Directory
 
directory - Variable in class org.apache.lucene.store.FSDirectory
The underlying filesystem directory
DISABLE_AUTO_FLUSH - Static variable in class org.apache.lucene.index.IndexWriter
Value to denote a flush trigger is disabled
disable_tracing() - Method in class org.apache.lucene.queryParser.QueryParser
Disable tracing.
discountOverlaps - Variable in class org.apache.lucene.search.DefaultSimilarity
 
DisjunctionMaxQuery - Class in org.apache.lucene.search
A query that generates the union of documents produced by its subqueries, and that scores each document with the maximum score for that document as produced by any subquery, plus a tie breaking increment for any additional matching subqueries.
DisjunctionMaxQuery(float) - Constructor for class org.apache.lucene.search.DisjunctionMaxQuery
Creates a new empty DisjunctionMaxQuery.
DisjunctionMaxQuery(Collection, float) - Constructor for class org.apache.lucene.search.DisjunctionMaxQuery
Creates a new DisjunctionMaxQuery
DisjunctionMaxQuery.DisjunctionMaxWeight - Class in org.apache.lucene.search
Expert: the Weight for DisjunctionMaxQuery, used to normalize, score and explain these queries.
DisjunctionMaxQuery.DisjunctionMaxWeight(Searcher) - Constructor for class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
 
doAfterFlush() - Method in class org.apache.lucene.index.IndexWriter
A hook for extending classes to execute operations after pending added and deleted documents have been flushed to the Directory but before the change is committed (new segments_N file written).
doBeforeFlush() - Method in class org.apache.lucene.index.IndexWriter
A hook for extending classes to execute operations before pending added and deleted documents are flushed to the Directory.
doBody(String) - Method in class org.apache.lucene.index.SegmentInfos.FindSegmentsFile
Subclass must implement this.
doBody() - Method in class org.apache.lucene.store.Lock.With
Code to execute with exclusive access.
doc - Variable in class org.apache.lucene.index.AbstractAllTermDocs
 
doc() - Method in class org.apache.lucene.index.AbstractAllTermDocs
 
doc() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
doc() - Method in class org.apache.lucene.index.MultipleTermPositions
 
doc() - Method in interface org.apache.lucene.index.TermDocs
Returns the current document number.
doc() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
Deprecated. use ConstantScoreQuery.ConstantScorer.docID() instead.
doc() - Method in class org.apache.lucene.search.DocIdSetIterator
Deprecated. use DocIdSetIterator.docID() instead.
doc() - Method in class org.apache.lucene.search.FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator
Deprecated. use FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator.docID() instead.
doc() - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
Deprecated. use FilteredDocIdSetIterator.docID() instead.
doc(int) - Method in class org.apache.lucene.search.Hits
Deprecated. Returns the stored fields of the nth document in this set.
doc(int) - Method in class org.apache.lucene.search.IndexSearcher
 
doc(int, FieldSelector) - Method in class org.apache.lucene.search.IndexSearcher
 
doc(int) - Method in class org.apache.lucene.search.MultiSearcher
 
doc(int, FieldSelector) - Method in class org.apache.lucene.search.MultiSearcher
 
doc() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
Deprecated. use ScoreCachingWrappingScorer.docID() instead.
doc - Variable in class org.apache.lucene.search.ScoreDoc
Expert: A hit document's number.
doc(int) - Method in interface org.apache.lucene.search.Searchable
Returns the stored fields of document i.
doc(int, FieldSelector) - Method in interface org.apache.lucene.search.Searchable
Get the Document at the nth position.
doc(int) - Method in class org.apache.lucene.search.Searcher
 
DOC - Static variable in class org.apache.lucene.search.SortField
Sort by document number (index order).
doc() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
doc() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
 
doc() - Method in class org.apache.lucene.search.spans.Spans
Returns the document number of the current match.
doc - Variable in class org.apache.lucene.search.spans.SpanScorer
 
doc() - Method in class org.apache.lucene.search.spans.SpanScorer
Deprecated. use SpanScorer.docID() instead.
doc - Variable in class org.apache.lucene.search.spans.TermSpans
 
doc() - Method in class org.apache.lucene.search.spans.TermSpans
 
doc() - Method in class org.apache.lucene.util.OpenBitSetIterator
Deprecated. use OpenBitSetIterator.docID() instead.
docCount - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Document count (does not take deletions into account).
docCount - Variable in class org.apache.lucene.index.CheckIndex.Status.StoredFieldStatus
Number of documents tested.
docCount - Variable in class org.apache.lucene.index.CheckIndex.Status.TermVectorStatus
Number of documents tested.
docCount() - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Returns the number of documents currently in this index.
docCount() - Method in class org.apache.lucene.index.IndexWriter
Deprecated. Please use IndexWriter.maxDoc() (same as this method) or IndexWriter.numDocs() (also takes deletions into account), instead.
docCount - Variable in class org.apache.lucene.index.SegmentInfo
 
docFreq(Term) - Method in class org.apache.lucene.index.FilterIndexReader
 
docFreq() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
 
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(Term) - Method in class org.apache.lucene.index.ParallelReader
 
docFreq(Term) - Method in class org.apache.lucene.index.SegmentReader
 
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 interface org.apache.lucene.search.Searchable
Expert: Returns the number of documents containing term.
docFreq(Term) - Method in class org.apache.lucene.search.Searcher
 
docFreqs(Term[]) - Method in interface org.apache.lucene.search.Searchable
Expert: For each term in the terms array, calculates the number of documents containing term.
docFreqs(Term[]) - Method in class org.apache.lucene.search.Searcher
 
docID() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
 
docID() - Method in class org.apache.lucene.search.DocIdSetIterator
Returns the following: -1 or DocIdSetIterator.NO_MORE_DOCS if DocIdSetIterator.nextDoc() or DocIdSetIterator.advance(int) were not called yet.
docID() - Method in class org.apache.lucene.search.FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator
 
docID() - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
 
docID() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
 
docID() - Method in class org.apache.lucene.search.spans.SpanScorer
 
docID() - Method in class org.apache.lucene.util.OpenBitSetIterator
 
DocIdBitSet - Class in org.apache.lucene.util
Simple DocIdSet and DocIdSetIterator backed by a BitSet
DocIdBitSet(BitSet) - Constructor for class org.apache.lucene.util.DocIdBitSet
 
DocIdSet - Class in org.apache.lucene.search
A DocIdSet contains a set of doc ids.
DocIdSet() - Constructor for class org.apache.lucene.search.DocIdSet
 
DocIdSetIterator - Class in org.apache.lucene.search
This abstract class defines methods to iterate over a set of non-decreasing doc ids.
DocIdSetIterator() - Constructor for class org.apache.lucene.search.DocIdSetIterator
 
docIdSetToCache(DocIdSet, IndexReader) - Method in class org.apache.lucene.search.CachingWrapperFilter
Provide the DocIdSet to be cached, using the DocIdSet provided by the wrapped Filter.
doClose() - Method in class org.apache.lucene.index.FilterIndexReader
 
doClose() - Method in class org.apache.lucene.index.IndexReader
Implements close.
doClose() - Method in class org.apache.lucene.index.MultiReader
 
doClose() - Method in class org.apache.lucene.index.ParallelReader
 
doClose() - Method in class org.apache.lucene.index.SegmentReader
 
doCommit() - Method in class org.apache.lucene.index.FilterIndexReader
Deprecated.  
doCommit(Map) - Method in class org.apache.lucene.index.FilterIndexReader
 
doCommit() - Method in class org.apache.lucene.index.IndexReader
Deprecated. Please implement instead.
doCommit() - Method in class org.apache.lucene.index.MultiReader
Deprecated.  
doCommit(Map) - Method in class org.apache.lucene.index.MultiReader
 
doCommit() - Method in class org.apache.lucene.index.ParallelReader
Deprecated.  
doCommit(Map) - Method in class org.apache.lucene.index.ParallelReader
 
doCommit() - Method in class org.apache.lucene.index.SegmentReader
Deprecated.  
doCommit(Map) - Method in class org.apache.lucene.index.SegmentReader
 
docScore(int, String, int, float) - Method in class org.apache.lucene.search.payloads.AveragePayloadFunction
 
docScore(int, String, int, float) - Method in class org.apache.lucene.search.payloads.MaxPayloadFunction
 
docScore(int, String, int, float) - Method in class org.apache.lucene.search.payloads.MinPayloadFunction
 
docScore(int, String, int, float) - Method in class org.apache.lucene.search.payloads.PayloadFunction
Calculate the final score for all the payloads seen so far for this doc/field
docStoreCompoundFile - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
True if the shared doc store files are compound file format.
docStoreOffset - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Doc store offset, if this segment shares the doc store files (stored fields and term vectors) with other segments.
docStoreSegment - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
String of the shared doc store segment, or null if this segment does not share the doc store files.
Document - Class in org.apache.lucene.document
Documents are the unit of indexing and search.
Document() - Constructor for class org.apache.lucene.document.Document
Constructs a new document with no fields.
document(int, FieldSelector) - 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, FieldSelector) - Method in class org.apache.lucene.index.IndexReader
Get the Document at the n th position.
document(int, FieldSelector) - Method in class org.apache.lucene.index.MultiReader
 
document(int, FieldSelector) - Method in class org.apache.lucene.index.ParallelReader
 
document(int, FieldSelector) - Method in class org.apache.lucene.index.SegmentReader
 
DocValues - Class in org.apache.lucene.search.function
Expert: represents field values as different types.
DocValues() - Constructor for class org.apache.lucene.search.function.DocValues
 
doDelete(int) - Method in class org.apache.lucene.index.FilterIndexReader
 
doDelete(int) - Method in class org.apache.lucene.index.IndexReader
Implements deletion of the document numbered docNum.
doDelete(int) - Method in class org.apache.lucene.index.MultiReader
 
doDelete(int) - Method in class org.apache.lucene.index.ParallelReader
 
doDelete(int) - Method in class org.apache.lucene.index.SegmentReader
 
doMerge(MergePolicy.OneMerge) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
Does the actual merge, by calling IndexWriter.merge(org.apache.lucene.index.MergePolicy.OneMerge)
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
 
doReopen(boolean) - Method in class org.apache.lucene.index.MultiReader
If clone is true then we clone each of the subreaders
doReopen(boolean) - Method in class org.apache.lucene.index.ParallelReader
 
doSetNorm(int, String, byte) - Method in class org.apache.lucene.index.FilterIndexReader
 
doSetNorm(int, String, byte) - Method in class org.apache.lucene.index.IndexReader
Implements setNorm in subclass.
doSetNorm(int, String, byte) - Method in class org.apache.lucene.index.MultiReader
 
doSetNorm(int, String, byte) - Method in class org.apache.lucene.index.ParallelReader
 
doSetNorm(int, String, byte) - Method in class org.apache.lucene.index.SegmentReader
 
DOUBLE - Static variable in class org.apache.lucene.search.SortField
Sort using term values as encoded Doubles.
doubleToPrefixCoded(double) - Static method in class org.apache.lucene.util.NumericUtils
Convenience method: this just returns: longToPrefixCoded(doubleToSortableLong(val))
doubleToSortableLong(double) - Static method in class org.apache.lucene.util.NumericUtils
Converts a double value to a sortable signed long.
doubleVal(int) - Method in class org.apache.lucene.search.function.DocValues
Return doc value as a double.
doUndeleteAll() - Method in class org.apache.lucene.index.FilterIndexReader
 
doUndeleteAll() - Method in class org.apache.lucene.index.IndexReader
Implements actual undeleteAll() in subclass.
doUndeleteAll() - Method in class org.apache.lucene.index.MultiReader
 
doUndeleteAll() - Method in class org.apache.lucene.index.ParallelReader
 
doUndeleteAll() - Method in class org.apache.lucene.index.SegmentReader
 
DYNAMIC - Static variable in class org.apache.lucene.search.CachingWrapperFilter.DeletesMode
 

E

EMAIL - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
EMPTY_DOCIDSET - Static variable in class org.apache.lucene.search.DocIdSet
An empty DocIdSet instance for easy use, e.g.
EMPTY_OFFSET_INFO - Static variable in class org.apache.lucene.index.TermVectorOffsetInfo
Convenience declaration when creating a TermPositionVector that stores only position information.
EMPTY_TOPDOCS - Static variable in class org.apache.lucene.search.TopDocsCollector
 
enable_tracing() - Method in class org.apache.lucene.queryParser.QueryParser
Enable tracing.
encode(ByteBuffer, CharBuffer) - Static method in class org.apache.lucene.util.IndexableBinaryStringTools
Encodes the input byte sequence into the output char sequence.
encode(ByteBuffer) - Static method in class org.apache.lucene.util.IndexableBinaryStringTools
Encodes the input byte sequence.
encodeNorm(float) - Static method in class org.apache.lucene.search.Similarity
Encodes a normalization factor for storage in an index.
end() - Method in class org.apache.lucene.analysis.CachingTokenFilter
 
end() - Method in class org.apache.lucene.analysis.CharTokenizer
 
end() - Method in class org.apache.lucene.analysis.KeywordTokenizer
 
end() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
end() - Method in class org.apache.lucene.analysis.TeeSinkTokenFilter
 
end() - Method in class org.apache.lucene.analysis.TeeSinkTokenFilter.SinkTokenStream
 
end() - Method in class org.apache.lucene.analysis.TokenFilter
Performs end-of-stream operations, if any, and calls then end() on the input TokenStream.

NOTE: Be sure to call super.end() first when overriding this method.

end() - Method in class org.apache.lucene.analysis.TokenStream
This method is called by the consumer after the last token has been consumed, after TokenStream.incrementToken() returned false (using the new TokenStream API).
end() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
end() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
 
end() - Method in class org.apache.lucene.search.spans.Spans
Returns the end position of the current match.
end() - Method in class org.apache.lucene.search.spans.TermSpans
 
endColumn - Variable in class org.apache.lucene.queryParser.Token
The column number of the last character of this Token.
endEnum() - Method in class org.apache.lucene.search.FilteredTermEnum
Indicates 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.PrefixTermEnum
 
endEnum() - Method in class org.apache.lucene.search.TermRangeTermEnum
 
endEnum() - Method in class org.apache.lucene.search.WildcardTermEnum
 
endLine - Variable in class org.apache.lucene.queryParser.Token
The line number 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.
endOffset() - Method in interface org.apache.lucene.analysis.tokenattributes.OffsetAttribute
Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text.
endOffset() - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
Returns this Token's ending offset, one greater than the position of the last character corresponding to this token in the source text.
ENGLISH_STOP_WORDS - Static variable in class org.apache.lucene.analysis.StopAnalyzer
Deprecated. Use StopAnalyzer.ENGLISH_STOP_WORDS_SET instead
ENGLISH_STOP_WORDS_SET - Static variable in class org.apache.lucene.analysis.StopAnalyzer
An unmodifiable set containing some common English words that are not usually useful for searching.
ensureCapacity(long) - Method in class org.apache.lucene.util.OpenBitSet
Ensure that the long[] is big enough to hold numBits, expanding it if necessary.
ensureCapacityWords(int) - Method in class org.apache.lucene.util.OpenBitSet
Expand the long[] with the size given as a number of words (64 bit longs).
ensureOpen() - Method in class org.apache.lucene.index.IndexReader
 
ensureOpen(boolean) - Method in class org.apache.lucene.index.IndexWriter
Used internally to throw an AlreadyClosedException if this IndexWriter has been closed.
ensureOpen() - Method in class org.apache.lucene.index.IndexWriter
 
ensureOpen() - Method in class org.apache.lucene.store.Directory
 
EOF - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
End of File.
eol - Variable in exception org.apache.lucene.queryParser.ParseException
The end of line string for this machine.
equals(Object) - Method in class org.apache.lucene.analysis.Token
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
 
equals(Object) - Method in class org.apache.lucene.document.FieldSelectorResult
 
equals(Object) - Method in class org.apache.lucene.index.IndexCommit
Two IndexCommits are equal if both their Directory and versions are equal.
equals(Object) - Method in class org.apache.lucene.index.Payload
 
equals(Object) - Method in class org.apache.lucene.index.SegmentInfo
We consider another SegmentInfo instance equal if it has the same dir and same name.
equals(Object) - Method in class org.apache.lucene.index.Term
 
equals(Object) - Method in class org.apache.lucene.index.TermVectorEntry
 
equals(Object) - Method in class org.apache.lucene.index.TermVectorOffsetInfo
Two TermVectorOffsetInfos are equals if both the start and end offsets are the same
equals(Object) - Method in class org.apache.lucene.search.BooleanClause
Returns true if 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.CachingSpanFilter
 
equals(Object) - Method in class org.apache.lucene.search.CachingWrapperFilter
 
equals(Object) - Method in class org.apache.lucene.search.ConstantScoreQuery
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Return true iff we represent the same query as o
equals(Object) - Method in class org.apache.lucene.search.FieldCacheRangeFilter
 
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.function.CustomScoreQuery
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.function.FieldCacheSource
 
equals(Object) - Method in class org.apache.lucene.search.function.MultiValueSource
Deprecated.  
equals(Object) - Method in class org.apache.lucene.search.function.OrdFieldSource
 
equals(Object) - Method in class org.apache.lucene.search.function.ReverseOrdFieldSource
 
equals(Object) - Method in class org.apache.lucene.search.function.ValueSource
Needed for possible caching of query results - used by ValueSourceQuery.equals(Object).
equals(Object) - Method in class org.apache.lucene.search.function.ValueSourceQuery
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.FuzzyQuery
 
equals(Object) - Method in class org.apache.lucene.search.MatchAllDocsQuery
 
equals(Object) - Method in class org.apache.lucene.search.MultiPhraseQuery
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
 
equals(Object) - Method in class org.apache.lucene.search.MultiTermQuery
 
equals(Object) - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
 
equals(Object) - Method in class org.apache.lucene.search.NumericRangeQuery
 
equals(Object) - Method in class org.apache.lucene.search.payloads.AveragePayloadFunction
 
equals(Object) - Method in class org.apache.lucene.search.payloads.BoostingTermQuery
Deprecated.  
equals(Object) - Method in class org.apache.lucene.search.payloads.MaxPayloadFunction
 
equals(Object) - Method in class org.apache.lucene.search.payloads.MinPayloadFunction
 
equals(Object) - Method in class org.apache.lucene.search.payloads.PayloadFunction
 
equals(Object) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery
 
equals(Object) - Method in class org.apache.lucene.search.payloads.PayloadTermQuery
 
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.PrefixQuery
 
equals(Object) - Method in class org.apache.lucene.search.Query
 
equals(Object) - Method in class org.apache.lucene.search.QueryFilter
Deprecated.  
equals(Object) - Method in class org.apache.lucene.search.QueryWrapperFilter
 
equals(Object) - Method in class org.apache.lucene.search.RangeQuery
Deprecated. Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.Sort
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.SortField
Returns true if o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.SpanQueryFilter
 
equals(Object) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
equals(Object) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
equals(Object) - Method in class org.apache.lucene.search.spans.SpanNearQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.spans.SpanNotQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
equals(Object) - Method in class org.apache.lucene.search.spans.SpanTermQuery
 
equals(Object) - Method in class org.apache.lucene.search.TermQuery
Returns true iff o is equal to this.
equals(Object) - Method in class org.apache.lucene.search.TermRangeQuery
 
equals(Object) - Method in class org.apache.lucene.search.WildcardQuery
 
equals(Object) - Method in class org.apache.lucene.util.AttributeImpl
All values used for computation of AttributeImpl.hashCode() should be checked here for equality.
equals(Object) - Method in class org.apache.lucene.util.AttributeSource
 
equals(Object) - Method in class org.apache.lucene.util.OpenBitSet
returns true if both sets have the same bits set
error - Variable in class org.apache.lucene.index.CheckIndex.Status.FieldNormStatus
Exception thrown during term index test (null on success)
error - Variable in class org.apache.lucene.index.CheckIndex.Status.StoredFieldStatus
Exception thrown during stored fields test (null on success)
error - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
Exception thrown during term index test (null on success)
error - Variable in class org.apache.lucene.index.CheckIndex.Status.TermVectorStatus
Exception thrown during term vector test (null on success)
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 by a preceding \.
estimateRamUsage(Object) - Method in class org.apache.lucene.util.RamUsageEstimator
 
estimateSize() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
 
estimateSize(RamUsageEstimator) - Method in class org.apache.lucene.search.FieldCache.CacheEntry
Computes (and stores) the estimated size of the cache Value
expandingWordNum(long) - Method in class org.apache.lucene.util.OpenBitSet
 
EXPECTED - Static variable in class org.apache.lucene.util.FieldCacheSanityChecker.InsanityType
Indicates an expected bit of "insanity".
expectedTokenSequences - Variable in exception org.apache.lucene.queryParser.ParseException
Each entry in this array is an array of integers.
explain(IndexReader, int) - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
explain(int) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
 
explain(IndexReader, int) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
 
explain(IndexReader, int) - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
 
explain() - Method in class org.apache.lucene.search.Explanation.IDFExplanation
This should be calculated lazily if possible.
explain(int) - Method in class org.apache.lucene.search.function.DocValues
Explain the scoring value for the input doc.
explain(Weight, int) - Method in class org.apache.lucene.search.IndexSearcher
 
explain(Weight, int) - Method in class org.apache.lucene.search.MultiSearcher
 
explain(int) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
 
explain(int) - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
 
explain(int) - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
 
explain(int) - Method in class org.apache.lucene.search.Scorer
Deprecated. Please use IndexSearcher.explain(org.apache.lucene.search.Weight, int) or Weight.explain(org.apache.lucene.index.IndexReader, int) instead.
explain(Weight, int) - Method in interface org.apache.lucene.search.Searchable
Expert: low-level implementation method Returns an Explanation that describes how doc scored against weight.
explain(Query, int) - Method in class org.apache.lucene.search.Searcher
Returns an Explanation that describes how doc scored against query.
explain(Weight, int) - Method in class org.apache.lucene.search.Searcher
 
explain(int) - Method in class org.apache.lucene.search.spans.SpanScorer
 
explain(IndexReader, int) - Method in class org.apache.lucene.search.spans.SpanWeight
 
explain(IndexReader, int) - Method in class org.apache.lucene.search.Weight
An explanation of the score computation for the named document.
Explanation - Class in org.apache.lucene.search
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
 
Explanation.IDFExplanation - Class in org.apache.lucene.search
Small Util class used to pass both an idf factor as well as an explanation for that factor.
Explanation.IDFExplanation() - Constructor for class org.apache.lucene.search.Explanation.IDFExplanation
 
expungeDeletes(boolean) - Method in class org.apache.lucene.index.IndexWriter
Just like IndexWriter.expungeDeletes(), except you can specify whether the call should block until the operation completes.
expungeDeletes() - Method in class org.apache.lucene.index.IndexWriter
Expunges all deletes from the index.
EXT_DEFAULT - Static variable in interface org.apache.lucene.search.ExtendedFieldCache
Deprecated. Use FieldCache.DEFAULT; this will be removed in Lucene 3.0
ExtendedFieldCache - Interface in org.apache.lucene.search
Deprecated. Use FieldCache, this will be removed in Lucene 3.0
ExtendedFieldCache.DoubleParser - Interface in org.apache.lucene.search
Deprecated. Use FieldCache.DoubleParser, this will be removed in Lucene 3.0
ExtendedFieldCache.LongParser - Interface in org.apache.lucene.search
Deprecated. Use FieldCache.LongParser, this will be removed in Lucene 3.0
extractTerms(Set) - Method in class org.apache.lucene.search.BooleanQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.ConstantScoreQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.FilteredQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.function.CustomScoreQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.function.ValueSourceQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.MatchAllDocsQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.MultiPhraseQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.PhraseQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.Query
Expert: adds all terms occurring in this query to the terms set.
extractTerms(Set) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.spans.SpanNearQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.spans.SpanNotQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.spans.SpanTermQuery
 
extractTerms(Set) - Method in class org.apache.lucene.search.TermQuery
 

F

failureReason - Variable in class org.apache.lucene.store.Lock
If a lock obtain called, this failureReason may be set with the "root cause" Exception as to why the lock was not obtained.
FastCharStream - Class in org.apache.lucene.queryParser
An efficient implementation of JavaCC's CharStream interface.
FastCharStream(Reader) - Constructor for class org.apache.lucene.queryParser.FastCharStream
Constructs from a Reader.
fastClear(int) - Method in class org.apache.lucene.util.OpenBitSet
clears a bit.
fastClear(long) - Method in class org.apache.lucene.util.OpenBitSet
clears a bit.
fastFlip(int) - Method in class org.apache.lucene.util.OpenBitSet
flips a bit.
fastFlip(long) - Method in class org.apache.lucene.util.OpenBitSet
flips a bit.
fastGet(int) - Method in class org.apache.lucene.util.OpenBitSet
Returns true or false for the specified bit index.
fastGet(long) - Method in class org.apache.lucene.util.OpenBitSet
Returns true or false for the specified bit index.
fastSet(int) - Method in class org.apache.lucene.util.OpenBitSet
Sets the bit at the specified index.
fastSet(long) - Method in class org.apache.lucene.util.OpenBitSet
Sets the bit at the specified index.
Field - Class in org.apache.lucene.document
A field is a section of a Document.
Field(String, String, Field.Store, Field.Index) - Constructor for class org.apache.lucene.document.Field
Create a field by specifying its name, value and how it will be saved in the index.
Field(String, String, Field.Store, Field.Index, Field.TermVector) - Constructor for class org.apache.lucene.document.Field
Create a field by specifying its name, value and how it will be saved in the index.
Field(String, boolean, String, Field.Store, Field.Index, Field.TermVector) - Constructor for class org.apache.lucene.document.Field
Create a field by specifying its name, value and how it will be saved in the index.
Field(String, Reader) - Constructor for class org.apache.lucene.document.Field
Create a tokenized and indexed field that is not stored.
Field(String, Reader, Field.TermVector) - Constructor for class org.apache.lucene.document.Field
Create a tokenized and indexed field that is not stored, optionally with storing term vectors.
Field(String, TokenStream) - Constructor for class org.apache.lucene.document.Field
Create a tokenized and indexed field that is not stored.
Field(String, TokenStream, Field.TermVector) - Constructor for class org.apache.lucene.document.Field
Create a tokenized and indexed field that is not stored, optionally with storing term vectors.
Field(String, byte[], Field.Store) - Constructor for class org.apache.lucene.document.Field
Create a stored field with binary value.
Field(String, byte[], int, int, Field.Store) - Constructor for class org.apache.lucene.document.Field
Create a stored field with binary value.
field() - Method in class org.apache.lucene.index.Term
Returns the field of this term, an interned string.
field - Variable in class org.apache.lucene.search.function.OrdFieldSource
 
field - Variable in class org.apache.lucene.search.function.ReverseOrdFieldSource
 
field - Variable in class org.apache.lucene.search.spans.SpanNearQuery
 
Field.Index - Class in org.apache.lucene.document
Specifies whether and how a field should be indexed.
Field.Store - Class in org.apache.lucene.document
Specifies whether and how a field should be stored.
Field.TermVector - Class in org.apache.lucene.document
Specifies whether and how a field should have term vectors.
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).
Fieldable - Interface in org.apache.lucene.document
Synonymous with Field.
FieldCache - Interface in org.apache.lucene.search
Expert: Maintains caches of term values.
FieldCache.ByteParser - Interface in org.apache.lucene.search
Interface to parse bytes from document fields.
FieldCache.CacheEntry - Class in org.apache.lucene.search
EXPERT: A unique Identifier/Description for each item in the FieldCache.
FieldCache.CacheEntry() - Constructor for class org.apache.lucene.search.FieldCache.CacheEntry
 
FieldCache.CreationPlaceholder - Class in org.apache.lucene.search
 
FieldCache.CreationPlaceholder() - Constructor for class org.apache.lucene.search.FieldCache.CreationPlaceholder
 
FieldCache.DoubleParser - Interface in org.apache.lucene.search
Interface to parse doubles from document fields.
FieldCache.FloatParser - Interface in org.apache.lucene.search
Interface to parse floats from document fields.
FieldCache.IntParser - Interface in org.apache.lucene.search
Interface to parse ints from document fields.
FieldCache.LongParser - Interface in org.apache.lucene.search
Interface to parse long from document fields.
FieldCache.Parser - Interface in org.apache.lucene.search
Marker interface as super-interface to all parsers.
FieldCache.ShortParser - Interface in org.apache.lucene.search
Interface to parse shorts from document fields.
FieldCache.StringIndex - Class in org.apache.lucene.search
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
FieldCacheRangeFilter - Class in org.apache.lucene.search
A range filter built on top of a cached single term field (in FieldCache).
FieldCacheSanityChecker - Class in org.apache.lucene.util
Provides methods for sanity checking that entries in the FieldCache are not wasteful or inconsistent.
FieldCacheSanityChecker() - Constructor for class org.apache.lucene.util.FieldCacheSanityChecker
 
FieldCacheSanityChecker.Insanity - Class in org.apache.lucene.util
Simple container for a collection of related CacheEntry objects that in conjunction with each other represent some "insane" usage of the FieldCache.
FieldCacheSanityChecker.Insanity(FieldCacheSanityChecker.InsanityType, String, FieldCache.CacheEntry[]) - Constructor for class org.apache.lucene.util.FieldCacheSanityChecker.Insanity
 
FieldCacheSanityChecker.InsanityType - Class in org.apache.lucene.util
An Enumeration of the different types of "insane" behavior that may be detected in a FieldCache.
FieldCacheSource - Class in org.apache.lucene.search.function
Expert: A base class for ValueSource implementations that retrieve values for a single field from the FieldCache.
FieldCacheSource(String) - Constructor for class org.apache.lucene.search.function.FieldCacheSource
Create a cached field source for the input field.
FieldCacheTermsFilter - Class in org.apache.lucene.search
A Filter that only accepts documents whose single term value in the specified field is contained in the provided set of allowed terms.
FieldCacheTermsFilter(String, String[]) - Constructor for class org.apache.lucene.search.FieldCacheTermsFilter
 
FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet - Class in org.apache.lucene.search
 
FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet(FieldCache.StringIndex) - Constructor for class org.apache.lucene.search.FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet
 
FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator - Class in org.apache.lucene.search
 
FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator() - Constructor for class org.apache.lucene.search.FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator
 
FieldComparator - Class in org.apache.lucene.search
Expert: a FieldComparator compares hits so as to determine their sort order when collecting the top results with TopFieldCollector.
FieldComparator() - Constructor for class org.apache.lucene.search.FieldComparator
 
FieldComparator.ByteComparator - Class in org.apache.lucene.search
Parses field's values as byte (using FieldCache.getBytes(org.apache.lucene.index.IndexReader, java.lang.String) and sorts by ascending value
FieldComparator.DocComparator - Class in org.apache.lucene.search
Sorts by ascending docID
FieldComparator.DoubleComparator - Class in org.apache.lucene.search
Parses field's values as double (using FieldCache.getDoubles(org.apache.lucene.index.IndexReader, java.lang.String) and sorts by ascending value
FieldComparator.FloatComparator - Class in org.apache.lucene.search
Parses field's values as float (using FieldCache.getFloats(org.apache.lucene.index.IndexReader, java.lang.String) and sorts by ascending value
FieldComparator.IntComparator - Class in org.apache.lucene.search
Parses field's values as int (using FieldCache.getInts(org.apache.lucene.index.IndexReader, java.lang.String) and sorts by ascending value
FieldComparator.LongComparator - Class in org.apache.lucene.search
Parses field's values as long (using FieldCache.getLongs(org.apache.lucene.index.IndexReader, java.lang.String) and sorts by ascending value
FieldComparator.RelevanceComparator - Class in org.apache.lucene.search
Sorts by descending relevance.
FieldComparator.ShortComparator - Class in org.apache.lucene.search
Parses field's values as short (using FieldCache.getShorts(org.apache.lucene.index.IndexReader, java.lang.String) and sorts by ascending value
FieldComparator.StringComparatorLocale - Class in org.apache.lucene.search
Sorts by a field's value using the Collator for a given Locale.
FieldComparator.StringOrdValComparator - Class in org.apache.lucene.search
Sorts by field's natural String sort order, using ordinals.
FieldComparator.StringOrdValComparator(int, String, int, boolean) - Constructor for class org.apache.lucene.search.FieldComparator.StringOrdValComparator
 
FieldComparator.StringValComparator - Class in org.apache.lucene.search
Sorts by field's natural String sort order.
FieldComparatorSource - Class in org.apache.lucene.search
Provides a FieldComparator for custom field sorting.
FieldComparatorSource() - Constructor for class org.apache.lucene.search.FieldComparatorSource
 
FieldDoc - Class in org.apache.lucene.search
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.
FieldInvertState - Class in org.apache.lucene.index
This class tracks the number and position / offset parameters of terms being added to the index.
FieldInvertState() - Constructor for class org.apache.lucene.index.FieldInvertState
 
FieldInvertState(int, int, int, int, float) - Constructor for class org.apache.lucene.index.FieldInvertState
 
FieldMaskingSpanQuery - Class in org.apache.lucene.search.spans
Wrapper to allow SpanQuery objects participate in composite single-field SpanQueries by 'lying' about their search field.
FieldMaskingSpanQuery(SpanQuery, String) - Constructor for class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
fieldName - Variable in class org.apache.lucene.search.payloads.PayloadNearQuery
 
fieldNormStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Status for testing of field norms (null if field norms could not be tested).
FieldReaderException - Exception in org.apache.lucene.index
 
FieldReaderException() - Constructor for exception org.apache.lucene.index.FieldReaderException
Constructs a new runtime exception with null as its detail message.
FieldReaderException(Throwable) - Constructor for exception org.apache.lucene.index.FieldReaderException
Constructs a new runtime exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) (which typically contains the class and detail message of cause).
FieldReaderException(String) - Constructor for exception org.apache.lucene.index.FieldReaderException
Constructs a new runtime exception with the specified detail message.
FieldReaderException(String, Throwable) - Constructor for exception org.apache.lucene.index.FieldReaderException
Constructs a new runtime exception with the specified detail message and cause.
fields() - Method in class org.apache.lucene.document.Document
Deprecated. use Document.getFields() instead
fields - Variable in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
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.FieldSortedHitQueue
Deprecated. Stores the sort criteria being used.
fields - Variable in class org.apache.lucene.search.FieldValueHitQueue
Stores the sort criteria being used.
fields - Variable in class org.apache.lucene.search.TopFieldDocs
The fields which were used to sort results by.
FieldScoreQuery - Class in org.apache.lucene.search.function
A query that scores each document as the value of the numeric input field.
FieldScoreQuery(String, FieldScoreQuery.Type) - Constructor for class org.apache.lucene.search.function.FieldScoreQuery
Create a FieldScoreQuery - a query that scores each document as the value of the numeric input field.
FieldScoreQuery.Type - Class in org.apache.lucene.search.function
Type of score field, indicating how field values are interpreted/parsed.
fieldsData - Variable in class org.apache.lucene.document.AbstractField
 
FieldSelector - Interface in org.apache.lucene.document
Similar to a FileFilter, the FieldSelector allows one to make decisions about what Fields get loaded on a Document by IndexReader.document(int,org.apache.lucene.document.FieldSelector)
FieldSelectorResult - Class in org.apache.lucene.document
Provides information about what should be done with this Field
FieldSortedHitQueue - Class in org.apache.lucene.search
Deprecated. see FieldValueHitQueue
FieldSortedHitQueue(IndexReader, SortField[], int) - Constructor for class org.apache.lucene.search.FieldSortedHitQueue
Deprecated. Creates a hit queue sorted by the given list of fields.
FieldSortedTermVectorMapper - Class in org.apache.lucene.index
For each Field, store a sorted collection of TermVectorEntrys

This is not thread-safe.

FieldSortedTermVectorMapper(Comparator) - Constructor for class org.apache.lucene.index.FieldSortedTermVectorMapper
 
FieldSortedTermVectorMapper(boolean, boolean, Comparator) - Constructor for class org.apache.lucene.index.FieldSortedTermVectorMapper
 
FieldValueHitQueue - Class in org.apache.lucene.search
Expert: A hit queue for sorting by hits by terms in more than one field.
file - Variable in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
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.FileSwitchDirectory
 
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.FileSwitchDirectory
 
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.FileSwitchDirectory
 
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.
files() - Method in class org.apache.lucene.index.SegmentInfo
 
files(Directory, boolean) - Method in class org.apache.lucene.index.SegmentInfos
Returns all file names referenced by SegmentInfo instances matching the provided Directory (ie files associated with any "external" segments are skipped).
FileSwitchDirectory - Class in org.apache.lucene.store
Expert: A Directory instance that switches files between two other Directory instances.
FileSwitchDirectory(Set, Directory, Directory, boolean) - Constructor for class org.apache.lucene.store.FileSwitchDirectory
 
filter - Variable in class org.apache.lucene.search.CachingSpanFilter
 
filter - Variable in class org.apache.lucene.search.CachingWrapperFilter
 
filter - Variable in class org.apache.lucene.search.ConstantScoreQuery
 
Filter - Class in org.apache.lucene.search
Abstract base class for restricting which documents may be returned during searching.
Filter() - Constructor for class org.apache.lucene.search.Filter
 
filter - Variable in class org.apache.lucene.search.FilterManager.FilterItem
 
filterCleaner - Variable in class org.apache.lucene.search.FilterManager
Cache cleaner that runs in a separate thread
FilteredDocIdSet - Class in org.apache.lucene.search
Abstract decorator class for a DocIdSet implementation that provides on-demand filtering/validation mechanism on a given DocIdSet.
FilteredDocIdSet(DocIdSet) - Constructor for class org.apache.lucene.search.FilteredDocIdSet
Constructor.
FilteredDocIdSetIterator - Class in org.apache.lucene.search
Abstract decorator class of a DocIdSetIterator implementation that provides on-demand filter/validation mechanism on an underlying DocIdSetIterator.
FilteredDocIdSetIterator(DocIdSetIterator) - Constructor for class org.apache.lucene.search.FilteredDocIdSetIterator
Constructor.
FilteredQuery - Class in org.apache.lucene.search
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 in org.apache.lucene.search
Abstract class for enumerating a subset of all terms.
FilteredTermEnum() - Constructor for class org.apache.lucene.search.FilteredTermEnum
 
FilterIndexReader - Class in org.apache.lucene.index
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 in org.apache.lucene.index
Base class for filtering TermDocs implementations.
FilterIndexReader.FilterTermDocs(TermDocs) - Constructor for class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
FilterIndexReader.FilterTermEnum - Class in org.apache.lucene.index
Base class for filtering TermEnum implementations.
FilterIndexReader.FilterTermEnum(TermEnum) - Constructor for class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
 
FilterIndexReader.FilterTermPositions - Class in org.apache.lucene.index
Base class for filtering TermPositions implementations.
FilterIndexReader.FilterTermPositions(TermPositions) - Constructor for class org.apache.lucene.index.FilterIndexReader.FilterTermPositions
 
FilterManager - Class in org.apache.lucene.search
Filter caching singleton.
FilterManager() - Constructor for class org.apache.lucene.search.FilterManager
Sets up the FilterManager singleton.
FilterManager.FilterCleaner - Class in org.apache.lucene.search
Keeps the cache from getting too big.
FilterManager.FilterCleaner() - Constructor for class org.apache.lucene.search.FilterManager.FilterCleaner
 
FilterManager.FilterItem - Class in org.apache.lucene.search
Holds the filter and the last time the filter was used, to make LRU-based cache cleaning possible.
FilterManager.FilterItem(Filter) - Constructor for class org.apache.lucene.search.FilterManager.FilterItem
 
findMerges(SegmentInfos) - Method in class org.apache.lucene.index.LogMergePolicy
Checks if any merges are now necessary and returns a MergePolicy.MergeSpecification if so.
findMerges(SegmentInfos) - Method in class org.apache.lucene.index.MergePolicy
Determine what set of merge operations are now necessary on the index.
findMergesForOptimize(SegmentInfos, int, Set) - Method in class org.apache.lucene.index.LogMergePolicy
Returns the merges necessary to optimize the index.
findMergesForOptimize(SegmentInfos, int, Set) - Method in class org.apache.lucene.index.MergePolicy
Determine what set of merge operations is necessary in order to optimize the index.
findMergesToExpungeDeletes(SegmentInfos) - Method in class org.apache.lucene.index.LogMergePolicy
Finds merges necessary to expunge all deletes from the index.
findMergesToExpungeDeletes(SegmentInfos) - Method in class org.apache.lucene.index.MergePolicy
Determine what set of merge operations is necessary in order to expunge all deletes from the index.
finishCommit() - Method in class org.apache.lucene.store.ChecksumIndexOutput
See ChecksumIndexOutput.prepareCommit()
firstTime - Variable in class org.apache.lucene.search.spans.SpanScorer
Deprecated. not needed anymore
fixIndex(CheckIndex.Status) - Method in class org.apache.lucene.index.CheckIndex
Repairs the index using previously returned result from CheckIndex.checkIndex().
FlagsAttribute - Interface in org.apache.lucene.analysis.tokenattributes
This attribute can be used to pass different flags down the Tokenizer chain, eg from one TokenFilter to another one.
FlagsAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
This attribute can be used to pass different flags down the tokenizer chain, eg from one TokenFilter to another one.
FlagsAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
 
flip(long) - Method in class org.apache.lucene.util.OpenBitSet
flips a bit, expanding the set size if necessary
flip(long, long) - Method in class org.apache.lucene.util.OpenBitSet
Flips a range of bits, expanding the set size if necessary
flipAndGet(int) - Method in class org.apache.lucene.util.OpenBitSet
flips a bit and returns the resulting bit value.
flipAndGet(long) - Method in class org.apache.lucene.util.OpenBitSet
flips a bit and returns the resulting bit value.
FLOAT - Static variable in class org.apache.lucene.search.function.FieldScoreQuery.Type
field values are interpreted as numeric float values.
FLOAT - Static variable in class org.apache.lucene.search.SortField
Sort using term values as encoded Floats.
FloatFieldSource - Class in org.apache.lucene.search.function
Expert: obtains float field values from the FieldCache using getFloats() and makes those values available as other numeric types, casting as needed.
FloatFieldSource(String) - Constructor for class org.apache.lucene.search.function.FloatFieldSource
Create a cached float field source with default string-to-float parser.
FloatFieldSource(String, FieldCache.FloatParser) - Constructor for class org.apache.lucene.search.function.FloatFieldSource
Create a cached float field source with a specific string-to-float parser.
floatToByte(float, int, int) - Static method in class org.apache.lucene.util.SmallFloat
Converts a 32 bit float to an 8 bit float.
floatToByte315(float) - Static method in class org.apache.lucene.util.SmallFloat
floatToByte(b, mantissaBits=3, zeroExponent=15)
smallest non-zero value = 5.820766E-10
largest value = 7.5161928E9
epsilon = 0.125
floatToByte52(float) - Static method in class org.apache.lucene.util.SmallFloat
floatToByte(b, mantissaBits=5, zeroExponent=2)
smallest nonzero value = 0.033203125
largest value = 1984.0
epsilon = 0.03125
floatToPrefixCoded(float) - Static method in class org.apache.lucene.util.NumericUtils
Convenience method: this just returns: intToPrefixCoded(floatToSortableInt(val))
floatToSortableInt(float) - Static method in class org.apache.lucene.util.NumericUtils
Converts a float value to a sortable signed int.
floatVal(int) - Method in class org.apache.lucene.search.function.DocValues
Return doc value as a float.
flush() - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Make sure all changes are written to disk.
flush() - Method in class org.apache.lucene.index.IndexReader
 
flush(Map) - Method in class org.apache.lucene.index.IndexReader
 
flush() - Method in class org.apache.lucene.index.IndexWriter
Deprecated. please call IndexWriter.commit()) instead
flush(boolean, boolean, boolean) - Method in class org.apache.lucene.index.IndexWriter
Flush all in-memory buffered udpates (adds and deletes) to the Directory.
flush() - Method in class org.apache.lucene.store.BufferedIndexOutput
Forces any buffered output to be written.
flush() - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
flush() - Method in class org.apache.lucene.store.IndexOutput
Forces any buffered output to be written.
flush() - Method in class org.apache.lucene.store.RAMOutputStream
 
flushBuffer(byte[], int, int) - Method in class org.apache.lucene.store.BufferedIndexOutput
Expert: implements buffer write.
flushBuffer(byte[], int, int) - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexOutput
output methods:
foldToASCII(char[], int) - Method in class org.apache.lucene.analysis.ASCIIFoldingFilter
Converts characters above ASCII to their ASCII equivalents.
FORMAT - Static variable in class org.apache.lucene.index.SegmentInfos
The file format version, a negative number.
FORMAT_CHECKSUM - Static variable in class org.apache.lucene.index.SegmentInfos
This format adds a checksum at the end of the file to ensure all bytes were successfully written.
FORMAT_DEL_COUNT - Static variable in class org.apache.lucene.index.SegmentInfos
This format adds the deletion count for each segment.
FORMAT_DIAGNOSTICS - Static variable in class org.apache.lucene.index.SegmentInfos
This format adds optional per-segment String diagnostics storage, and switches userData to Map
FORMAT_HAS_PROX - Static variable in class org.apache.lucene.index.SegmentInfos
This format adds the boolean hasProx to record if any fields in the segment store prox information (ie, have omitTermFreqAndPositions==false)
FORMAT_LOCKLESS - Static variable in class org.apache.lucene.index.SegmentInfos
This format adds details used for lockless commits.
FORMAT_SHARED_DOC_STORE - Static variable in class org.apache.lucene.index.SegmentInfos
This format allows multiple segments to share a single vectors and stored fields file.
FORMAT_SINGLE_NORM_FILE - Static variable in class org.apache.lucene.index.SegmentInfos
This format adds a "hasSingleNormFile" flag into each segment info.
FORMAT_USER_DATA - Static variable in class org.apache.lucene.index.SegmentInfos
This format adds optional commit userData (String) storage.
freq() - Method in class org.apache.lucene.index.AbstractAllTermDocs
 
freq() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
freq() - Method in class org.apache.lucene.index.MultipleTermPositions
 
freq() - Method in interface org.apache.lucene.index.TermDocs
Returns the frequency of the term within the current document.
freq - Variable in class org.apache.lucene.search.spans.SpanScorer
 
freq - Variable in class org.apache.lucene.search.spans.TermSpans
 
FSDirectory - Class in org.apache.lucene.store
Base class for Directory implementations that store index files in the file system.
FSDirectory() - Constructor for class org.apache.lucene.store.FSDirectory
Deprecated.  
FSDirectory(File, LockFactory) - Constructor for class org.apache.lucene.store.FSDirectory
Create a new FSDirectory for the named location (ctor for subclasses).
FSDirectory.FSIndexInput - Class in org.apache.lucene.store
Deprecated. Use SimpleFSDirectory.SimpleFSIndexInput instead
FSDirectory.FSIndexInput(File) - Constructor for class org.apache.lucene.store.FSDirectory.FSIndexInput
Deprecated.  
FSDirectory.FSIndexInput(File, int) - Constructor for class org.apache.lucene.store.FSDirectory.FSIndexInput
Deprecated.  
FSDirectory.FSIndexInput.Descriptor - Class in org.apache.lucene.store
Deprecated.  
FSDirectory.FSIndexInput.Descriptor(File, String) - Constructor for class org.apache.lucene.store.FSDirectory.FSIndexInput.Descriptor
Deprecated.  
FSDirectory.FSIndexOutput - Class in org.apache.lucene.store
Deprecated. Use SimpleFSDirectory.SimpleFSIndexOutput instead
FSDirectory.FSIndexOutput(File) - Constructor for class org.apache.lucene.store.FSDirectory.FSIndexOutput
Deprecated.  
FSLockFactory - Class in org.apache.lucene.store
Base class for file system based locking implementation.
FSLockFactory() - Constructor for class org.apache.lucene.store.FSLockFactory
 
function - Variable in class org.apache.lucene.search.payloads.PayloadNearQuery
 
function - Variable in class org.apache.lucene.search.payloads.PayloadTermQuery
 
FUZZY_SLOP - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
FuzzyQuery - Class in org.apache.lucene.search
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).
FuzzyQuery.ScoreTerm - Class in org.apache.lucene.search
 
FuzzyQuery.ScoreTerm(Term, float) - Constructor for class org.apache.lucene.search.FuzzyQuery.ScoreTerm
 
FuzzyQuery.ScoreTermQueue - Class in org.apache.lucene.search
 
FuzzyQuery.ScoreTermQueue(int) - Constructor for class org.apache.lucene.search.FuzzyQuery.ScoreTermQueue
 
FuzzyTermEnum - Class in org.apache.lucene.search
Subclass of FilteredTermEnum for enumerating all terms that are similar to the specified filter term.
FuzzyTermEnum(IndexReader, Term) - Constructor for class org.apache.lucene.search.FuzzyTermEnum
Creates a FuzzyTermEnum with an empty prefix and a minSimilarity of 0.5f.
FuzzyTermEnum(IndexReader, Term, float) - Constructor for class org.apache.lucene.search.FuzzyTermEnum
Creates a 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.

G

gatherSubReaders(List, IndexReader) - Method in class org.apache.lucene.search.IndexSearcher
 
gatherSubReaders(List, IndexReader) - Static method in class org.apache.lucene.util.ReaderUtil
Gathers sub-readers from reader into a List.
generateParseException() - Method in class org.apache.lucene.queryParser.QueryParser
Generate ParseException.
generationFromSegmentsFileName(String) - Static method in class org.apache.lucene.index.SegmentInfos
Parse the generation off the segments file name and return it.
get(Reader) - Static method in class org.apache.lucene.analysis.CharReader
 
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(SegmentInfo) - Static method in class org.apache.lucene.index.SegmentReader
Deprecated.  
get(boolean, SegmentInfo, int) - Static method in class org.apache.lucene.index.SegmentReader
 
get(boolean, Directory, SegmentInfo, int, boolean, int) - Static method in class org.apache.lucene.index.SegmentReader
 
get() - Static method in class org.apache.lucene.LucenePackage
Return Lucene's package, including version information.
get(String) - Method in class org.apache.lucene.search.Hit
Deprecated. 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.
get(Object) - Method in class org.apache.lucene.util.cache.Cache
Returns the value for the given key.
get(Object) - Method in class org.apache.lucene.util.cache.SimpleMapCache
 
get() - Method in class org.apache.lucene.util.CloseableThreadLocal
 
get(int) - Method in class org.apache.lucene.util.OpenBitSet
Returns true or false for the specified bit index.
get(long) - Method in class org.apache.lucene.util.OpenBitSet
Returns true or false for the specified bit index
getAllowDocsOutOfOrder() - Static method in class org.apache.lucene.search.BooleanQuery
Deprecated. this is not needed anymore, as Weight.scoresDocsOutOfOrder() is used.
getAllowLeadingWildcard() - Method in class org.apache.lucene.queryParser.QueryParser
 
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
 
getAndSet(int) - Method in class org.apache.lucene.util.BitVector
Sets the value of bit to true, and returns true if bit was already set
getAndSet(int) - Method in class org.apache.lucene.util.OpenBitSet
Sets a bit and returns the previous value.
getAndSet(long) - Method in class org.apache.lucene.util.OpenBitSet
Sets a bit and returns the previous value.
getArguments() - Method in interface org.apache.lucene.messages.Message
 
getArguments() - Method in class org.apache.lucene.messages.MessageImpl
 
getArraySize() - Method in class org.apache.lucene.util.AverageGuessMemoryModel
 
getArraySize() - Method in class org.apache.lucene.util.MemoryModel
 
getAttribute(Class) - Method in class org.apache.lucene.util.AttributeSource
The caller must pass in a Class<? extends Attribute> value.
getAttributeClassesIterator() - Method in class org.apache.lucene.util.AttributeSource
Returns a new iterator that iterates the attribute classes in the same order they were added in.
getAttributeFactory() - Method in class org.apache.lucene.util.AttributeSource
returns the used AttributeFactory.
getAttributeImplsIterator() - Method in class org.apache.lucene.util.AttributeSource
Returns a new iterator that iterates all unique Attribute implementations.
getAttributeSource() - Method in class org.apache.lucene.index.FieldInvertState
 
getAuto(IndexReader, String) - Method in interface org.apache.lucene.search.FieldCache
Deprecated. Please specify the exact type, instead. Especially, guessing does not work with the new NumericField type.
getAverageValue() - Method in class org.apache.lucene.search.function.DocValues
Returns the average of all values or Float.NaN if this DocValues instance does not contain any value.
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.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
 
getBinaryLength() - Method in class org.apache.lucene.document.AbstractField
Returns length of byte[] segment that is used as value, if Field is not binary returned value is undefined
getBinaryLength() - Method in interface org.apache.lucene.document.Fieldable
Returns length of byte[] segment that is used as value, if Field is not binary returned value is undefined
getBinaryOffset() - Method in class org.apache.lucene.document.AbstractField
Returns offset into byte[] segment that is used as value, if Field is not binary returned value is undefined
getBinaryOffset() - Method in interface org.apache.lucene.document.Fieldable
Returns offset into byte[] segment that is used as value, if Field is not binary returned value is undefined
getBinaryValue() - Method in class org.apache.lucene.document.AbstractField
Return the raw byte[] for the binary field.
getBinaryValue(byte[]) - Method in class org.apache.lucene.document.AbstractField
 
getBinaryValue(String) - Method in class org.apache.lucene.document.Document
Returns an array of bytes for the first (or only) field that has the name specified as the method parameter.
getBinaryValue() - Method in interface org.apache.lucene.document.Fieldable
Return the raw byte[] for the binary field.
getBinaryValue(byte[]) - Method in interface org.apache.lucene.document.Fieldable
Return the raw byte[] for the binary field.
getBinaryValue(byte[]) - Method in class org.apache.lucene.document.NumericField
Returns always null for numeric fields
getBinaryValues(String) - Method in class org.apache.lucene.document.Document
Returns an array of byte arrays for of the fields that have the name specified as the method parameter.
getBit(int) - Method in class org.apache.lucene.util.OpenBitSet
returns 1 if the bit is set, 0 if not.
getBits() - Method in class org.apache.lucene.search.SpanFilterResult
Deprecated. Use SpanFilterResult.getDocIdSet()
getBits() - Method in class org.apache.lucene.util.OpenBitSet
Expert: returns the long[] storing the bits
getBitSet() - Method in class org.apache.lucene.util.DocIdBitSet
Returns the underlying BitSet.
getBooleanQuery(Vector) - Method in class org.apache.lucene.queryParser.QueryParser
Deprecated. use QueryParser.getBooleanQuery(List) instead
getBooleanQuery(List) - Method in class org.apache.lucene.queryParser.QueryParser
Factory method for generating query, given a set of clauses.
getBooleanQuery(Vector, boolean) - Method in class org.apache.lucene.queryParser.QueryParser
Deprecated. use QueryParser.getBooleanQuery(List, boolean) instead
getBooleanQuery(List, boolean) - 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.AbstractField
Returns the boost factor for hits for this field.
getBoost() - Method in class org.apache.lucene.document.Document
Returns, at indexing time, the boost factor as set by Document.setBoost(float).
getBoost() - Method in interface org.apache.lucene.document.Fieldable
Returns the boost factor for hits for this field.
getBoost() - Method in class org.apache.lucene.index.FieldInvertState
Get boost value.
getBoost() - Method in class org.apache.lucene.search.Hit
Deprecated. Returns the boost factor for this hit on any field of the underlying document.
getBoost() - Method in class org.apache.lucene.search.Query
Gets the boost for this clause.
getBottomSlot() - Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
 
getBuffer(int) - Method in class org.apache.lucene.store.RAMFile
 
getBufferSize() - Method in class org.apache.lucene.store.BufferedIndexInput
Returns buffer size.
getBytes(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 a single byte and returns an array of size reader.maxDoc() of the value each document has in the given field.
getBytes(IndexReader, String, FieldCache.ByteParser) - 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 bytes and returns an array of size reader.maxDoc() of the value each document has in the given field.
getByteSize() - Method in class org.apache.lucene.util.SortedVIntList
 
getCachedFieldValues(FieldCache, String, IndexReader) - Method in class org.apache.lucene.search.function.ByteFieldSource
 
getCachedFieldValues(FieldCache, String, IndexReader) - Method in class org.apache.lucene.search.function.FieldCacheSource
Return cached DocValues for input field and reader.
getCachedFieldValues(FieldCache, String, IndexReader) - Method in class org.apache.lucene.search.function.FloatFieldSource
 
getCachedFieldValues(FieldCache, String, IndexReader) - Method in class org.apache.lucene.search.function.IntFieldSource
 
getCachedFieldValues(FieldCache, String, IndexReader) - Method in class org.apache.lucene.search.function.ShortFieldSource
 
getCacheEntries() - Method in interface org.apache.lucene.search.FieldCache
EXPERT: Generates an array of CacheEntry objects representing all items currently in the FieldCache.
getCacheEntries() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.Insanity
CacheEntry objects which suggest a problem
getCacheType() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
 
getCalibrateSizeByDeletes() - Method in class org.apache.lucene.index.LogMergePolicy
Returns true if the segment size should be calibrated by the number of deletes when choosing segments for merge.
getChecksum() - Method in class org.apache.lucene.store.ChecksumIndexInput
 
getChecksum() - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
getClassSize() - Method in class org.apache.lucene.util.AverageGuessMemoryModel
 
getClassSize() - Method in class org.apache.lucene.util.MemoryModel
 
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.
getCollator() - Method in class org.apache.lucene.search.RangeQuery
Deprecated. Returns the collator used to determine range inclusion, if any.
getCollator() - Method in class org.apache.lucene.search.TermRangeFilter
Returns the collator used to determine range inclusion, if any.
getCollator() - Method in class org.apache.lucene.search.TermRangeQuery
Returns the collator used to determine range inclusion, if any.
getColumn() - Method in interface org.apache.lucene.queryParser.CharStream
Deprecated.  
getColumn() - Method in class org.apache.lucene.queryParser.FastCharStream
 
getCommitUserData(Directory) - Static method in class org.apache.lucene.index.IndexReader
Reads commitUserData, previously passed to IndexWriter.commit(Map), from current index segments file.
getCommitUserData() - Method in class org.apache.lucene.index.IndexReader
Retrieve the String userData optionally passed to IndexWriter#commit.
getComparable(String) - Method in class org.apache.lucene.search.SortComparator
Deprecated. Returns an object which, when sorted according to natural order, will order the Term values in the correct order.
getComparator() - Method in class org.apache.lucene.index.FieldSortedTermVectorMapper
 
getComparator(int, int) - Method in class org.apache.lucene.search.SortField
Returns the FieldComparator to use for sorting.
getComparatorSource() - Method in class org.apache.lucene.search.SortField
 
getCurrentSegmentFileName(String[]) - Static method in class org.apache.lucene.index.SegmentInfos
Get the filename of the current segments_N file from a list of files.
getCurrentSegmentFileName(Directory) - Static method in class org.apache.lucene.index.SegmentInfos
Get the filename of the current segments_N file in the directory.
getCurrentSegmentFileName() - Method in class org.apache.lucene.index.SegmentInfos
Get the segments_N filename in use by this segment infos.
getCurrentSegmentGeneration(String[]) - Static method in class org.apache.lucene.index.SegmentInfos
Get the generation (N) of the current segments_N file from a list of files.
getCurrentSegmentGeneration(Directory) - Static method in class org.apache.lucene.index.SegmentInfos
Get the generation (N) of the current segments_N file in the directory.
getCurrentVersion(String) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.getCurrentVersion(Directory) instead. This method will be removed in the 3.0 release.
getCurrentVersion(File) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.getCurrentVersion(Directory) instead. This method will be removed in the 3.0 release.
getCurrentVersion(Directory) - Static method in class org.apache.lucene.index.IndexReader
Reads version number from segments files.
getCustom() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
 
getCustom(IndexReader, String, SortComparator) - Method in interface org.apache.lucene.search.FieldCache
Deprecated. Please implement FieldComparatorSource directly, instead.
getCustomScoreProvider(IndexReader) - Method in class org.apache.lucene.search.function.CustomScoreQuery
Returns a CustomScoreProvider that calculates the custom scores for the given IndexReader.
getData() - Method in class org.apache.lucene.index.Payload
Returns a reference to the underlying byte array that holds this payloads data.
getDateResolution(String) - Method in class org.apache.lucene.queryParser.QueryParser
Returns the date resolution that is used by RangeQueries for the given field.
getDecodedLength(CharBuffer) - Static method in class org.apache.lucene.util.IndexableBinaryStringTools
Returns the number of bytes required to decode the given char sequence.
getDefault() - Static method in class org.apache.lucene.search.Similarity
Return the default Similarity implementation used by indexing and search code.
getDefaultGenFileRetryCount() - Static method in class org.apache.lucene.index.SegmentInfos
 
getDefaultGenFileRetryPauseMsec() - Static method in class org.apache.lucene.index.SegmentInfos
 
getDefaultGenLookahedCount() - Static method in class org.apache.lucene.index.SegmentInfos
 
getDefaultInfoStream() - Static method in class org.apache.lucene.index.IndexWriter
Returns the current default infoStream for newly instantiated IndexWriters.
getDefaultOperator() - Method in class org.apache.lucene.queryParser.QueryParser
Gets implicit operator setting, which will be either AND_OPERATOR or OR_OPERATOR.
getDefaultReplaceInvalidAcronym() - Static method in class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. This will be removed (hardwired to true) in 3.0
getDefaultWriteLockTimeout() - Static method in class org.apache.lucene.index.IndexWriter
Returns default write lock timeout for newly instantiated IndexWriters.
getDelCount() - Method in class org.apache.lucene.index.SegmentInfo
 
getDeletesCacheKey() - Method in class org.apache.lucene.index.FilterIndexReader
If the subclass of FilteredIndexReader modifies the deleted docs, you must override this method to provide a different key
getDeletesCacheKey() - Method in class org.apache.lucene.index.IndexReader
Expert.
getDeletesCacheKey() - Method in class org.apache.lucene.index.SegmentReader
 
getDelFileName() - Method in class org.apache.lucene.index.SegmentInfo
 
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.
getDiagnostics() - Method in class org.apache.lucene.index.SegmentInfo
 
getDirectory() - Method in class org.apache.lucene.index.IndexCommit
Returns the Directory for the index.
getDirectory() - Method in class org.apache.lucene.index.IndexWriter
Returns the Directory used by this index.
getDirectory() - Method in exception org.apache.lucene.index.MergePolicy.MergeException
Returns the Directory of the index that hit the exception.
getDirectory(String) - Static method in class org.apache.lucene.store.FSDirectory
Deprecated. Use FSDirectory.open(File)
getDirectory(String, LockFactory) - Static method in class org.apache.lucene.store.FSDirectory
Deprecated. Use FSDirectory.open(File, LockFactory)
getDirectory(File) - Static method in class org.apache.lucene.store.FSDirectory
Deprecated. Use FSDirectory.open(File)
getDirectory(File, LockFactory) - Static method in class org.apache.lucene.store.FSDirectory
Deprecated. Use FSDirectory.open(File, LockFactory)
getDirectory(String, boolean) - Static method in class org.apache.lucene.store.FSDirectory
Deprecated. Use IndexWriter's create flag, instead, to create a new index.
getDirectory(File, boolean) - Static method in class org.apache.lucene.store.FSDirectory
Deprecated. Use IndexWriter's create flag, instead, to create a new index.
getDisableFakeNorms() - Method in class org.apache.lucene.index.IndexReader
Deprecated. This currently defaults to false (to remain back-compatible), but in 3.0 it will be hardwired to true, meaning the norms() methods will return null for fields that had disabled norms.
getDisableLocks() - Static method in class org.apache.lucene.store.FSDirectory
Deprecated. Use a constructor that takes a LockFactory and supply NoLockFactory.getNoLockFactory().
getDiscountOverlaps() - Method in class org.apache.lucene.search.DefaultSimilarity
 
getDoc() - Method in class org.apache.lucene.search.SpanFilterResult.PositionInfo
 
getDocCountPercent() - Method in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
 
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.CachingSpanFilter
 
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.CachingWrapperFilter
 
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.FieldCacheRangeFilter
This method is implemented for each data type
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.FieldCacheTermsFilter
 
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.Filter
Creates a DocIdSet enumerating the documents that should be permitted in search results.
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
Returns a DocIdSet with documents that should be permitted in search results.
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.QueryWrapperFilter
 
getDocIdSet() - Method in class org.apache.lucene.search.SpanFilterResult
Returns the docIdSet
getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.SpanQueryFilter
 
getDocStoreIsCompoundFile() - Method in class org.apache.lucene.index.SegmentInfo
 
getDocStoreOffset() - Method in class org.apache.lucene.index.SegmentInfo
 
getDocStoreSegment() - Method in class org.apache.lucene.index.SegmentInfo
 
getDocument() - Method in class org.apache.lucene.search.Hit
Deprecated. Returns document for this hit.
getDoubles(IndexReader, String, ExtendedFieldCache.DoubleParser) - Method in interface org.apache.lucene.search.ExtendedFieldCache
Deprecated. Will be removed in 3.0, this is for binary compatibility only
getDoubles(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.
getDoubles(IndexReader, String, FieldCache.DoubleParser) - 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 doubles and returns an array of size reader.maxDoc() of the value each document has in the given field.
getEnablePositionIncrements() - Method in class org.apache.lucene.analysis.StopFilter
 
getEnablePositionIncrements() - Method in class org.apache.lucene.queryParser.QueryParser
 
getEnablePositionIncrementsDefault() - Static method in class org.apache.lucene.analysis.StopFilter
Deprecated. Please specify this when you create the StopFilter
getEnablePositionIncrementsVersionDefault(Version) - Static method in class org.apache.lucene.analysis.StopFilter
Returns version-dependent default for enablePositionIncrements.
getEncodedLength(ByteBuffer) - Static method in class org.apache.lucene.util.IndexableBinaryStringTools
Returns the number of chars required to encode the given byte sequence.
getEnd() - Method in class org.apache.lucene.search.SpanFilterResult.StartEnd
 
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.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.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
 
getEndOffset() - Method in class org.apache.lucene.index.TermVectorOffsetInfo
The accessor for the ending offset for the term
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.NumericRangeQuery
 
getEnum(IndexReader) - Method in class org.apache.lucene.search.PrefixQuery
 
getEnum(IndexReader) - Method in class org.apache.lucene.search.TermRangeQuery
 
getEnum(IndexReader) - Method in class org.apache.lucene.search.WildcardQuery
 
getEstimatedSize() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
The most recently estimated size of the value, null unless estimateSize has been called.
getExclude() - Method in class org.apache.lucene.search.spans.SpanNotQuery
Return the SpanQuery whose matches must not overlap those returned.
getExtension(String) - Static method in class org.apache.lucene.store.FileSwitchDirectory
Utility method to return a file's extension.
getFactory() - Method in class org.apache.lucene.search.SortField
Deprecated. use SortField.getComparatorSource()
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
The Fieldable name.
getField() - Method in class org.apache.lucene.index.TermVectorEntry
 
getField() - Method in class org.apache.lucene.queryParser.QueryParser
 
getField() - Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
 
getField() - Method in class org.apache.lucene.search.NumericRangeFilter
Returns the field name for this filter
getField() - Method in class org.apache.lucene.search.NumericRangeQuery
Returns the field name for this query
getField() - Method in class org.apache.lucene.search.QueryTermVector
 
getField() - Method in class org.apache.lucene.search.RangeQuery
Deprecated. 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.FieldMaskingSpanQuery
 
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
 
getField() - Method in class org.apache.lucene.search.TermRangeFilter
Returns the field name for this filter
getField() - Method in class org.apache.lucene.search.TermRangeQuery
Returns the field name for this query
getFieldable(String) - Method in class org.apache.lucene.document.Document
Returns a field with the given name if any exist in this document, or null.
getFieldables(String) - Method in class org.apache.lucene.document.Document
Returns an array of Fieldables with the given name.
getFieldCache() - Method in class org.apache.lucene.search.FieldCacheTermsFilter
 
getFieldCacheKey() - Method in class org.apache.lucene.index.FilterIndexReader
If the subclass of FilteredIndexReader modifies the contents of the FieldCache, you must override this method to provide a different key
getFieldCacheKey() - Method in class org.apache.lucene.index.IndexReader
Deprecated.  
getFieldCacheKey() - Method in class org.apache.lucene.index.SegmentReader
 
getFieldName() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
 
getFieldNames(IndexReader.FieldOption) - Method in class org.apache.lucene.index.FilterIndexReader
 
getFieldNames(IndexReader.FieldOption) - Method in class org.apache.lucene.index.IndexReader
Get a list of unique field names that exist in this index and have the specified field option information.
getFieldNames(IndexReader.FieldOption) - Method in class org.apache.lucene.index.MultiReader
 
getFieldNames(IndexReader.FieldOption) - Method in class org.apache.lucene.index.ParallelReader
 
getFieldNames(IndexReader.FieldOption) - Method in class org.apache.lucene.index.SegmentReader
 
getFieldQuery(String, String, int) - Method in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
getFieldQuery(String, String) - Method in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
getFieldQuery(String, String) - Method in class org.apache.lucene.queryParser.QueryParser
 
getFieldQuery(String, String, int) - Method in class org.apache.lucene.queryParser.QueryParser
Base implementation delegates to QueryParser.getFieldQuery(String,String).
getFields() - Method in class org.apache.lucene.document.Document
Returns a List of all the fields in a document.
getFields(String) - Method in class org.apache.lucene.document.Document
Returns an array of Fields with the given name.
getFieldToTerms() - Method in class org.apache.lucene.index.FieldSortedTermVectorMapper
Get the mapping between fields and terms, sorted by the comparator
getFieldToTerms() - Method in class org.apache.lucene.index.PositionBasedTermVectorMapper
Get the mapping between fields and terms, sorted by the comparator
getFile() - Method in class org.apache.lucene.store.FSDirectory
 
getFileNames() - Method in class org.apache.lucene.index.IndexCommit
Returns all index files referenced by this commit point.
getFileNames() - Method in interface org.apache.lucene.index.IndexCommitPoint
Deprecated. Returns all index files referenced by this commit point.
getFilePointer() - Method in class org.apache.lucene.store.BufferedIndexInput
 
getFilePointer() - Method in class org.apache.lucene.store.BufferedIndexOutput
Returns the current position in this file, where the next write will occur.
getFilePointer() - Method in class org.apache.lucene.store.ChecksumIndexInput
 
getFilePointer() - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
getFilePointer() - Method in class org.apache.lucene.store.IndexInput
Returns the current position in this file, where the next read will occur.
getFilePointer() - Method in class org.apache.lucene.store.IndexOutput
Returns the current position in this file, where the next write will occur.
getFilePointer() - Method in class org.apache.lucene.store.RAMOutputStream
 
getFilter() - Static method in class org.apache.lucene.index.IndexFileNameFilter
 
getFilter() - Method in class org.apache.lucene.search.ConstantScoreQuery
Returns the encapsulated filter
getFilter() - Method in class org.apache.lucene.search.FilteredQuery
 
getFilter(Filter) - Method in class org.apache.lucene.search.FilterManager
Returns the cached version of the filter.
getFlags() - Method in class org.apache.lucene.analysis.Token
EXPERIMENTAL: While we think this is here to stay, we may want to change it to be a long.
getFlags() - Method in interface org.apache.lucene.analysis.tokenattributes.FlagsAttribute
EXPERIMENTAL: While we think this is here to stay, we may want to change it to be a long.
getFlags() - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
EXPERIMENTAL: While we think this is here to stay, we may want to change it to be a long.
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.
getFloats(IndexReader, String, FieldCache.FloatParser) - 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.
getFrequency() - Method in class org.apache.lucene.index.TermVectorEntry
 
getFuzzyMinSim() - Method in class org.apache.lucene.queryParser.QueryParser
Get the minimal similarity for fuzzy queries.
getFuzzyPrefixLength() - Method in class org.apache.lucene.queryParser.QueryParser
Get the prefix length for fuzzy queries.
getFuzzyQuery(String, String, float) - Method in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
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)).
getGeneration() - Method in class org.apache.lucene.index.IndexCommit
Returns the generation (the _N in segments_N) for this IndexCommit
getGeneration() - Method in class org.apache.lucene.index.SegmentInfos
 
getHasProx() - Method in class org.apache.lucene.index.SegmentInfo
 
getId() - Method in class org.apache.lucene.search.Hit
Deprecated. Returns id for this hit.
getIdf() - Method in class org.apache.lucene.search.Explanation.IDFExplanation
 
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
 
getInclude() - Method in class org.apache.lucene.search.spans.SpanNotQuery
Return the SpanQuery whose matches are filtered.
getIndexCommit() - Method in class org.apache.lucene.index.IndexReader
Expert: return the IndexCommit that this reader has opened.
getIndexReader() - Method in class org.apache.lucene.search.IndexSearcher
Return the IndexReader this searches.
getInfoStream() - Method in class org.apache.lucene.index.IndexModifier
Deprecated.  
getInfoStream() - Method in class org.apache.lucene.index.IndexWriter
Returns the current infoStream in use by this writer.
getInfoStream() - Static method in class org.apache.lucene.index.SegmentInfos
 
getInfoStream() - Method in interface org.apache.lucene.search.FieldCache
counterpart of FieldCache.setInfoStream(PrintStream)
getInstance() - Static method in class org.apache.lucene.search.FilterManager
 
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.
getInts(IndexReader, String, FieldCache.IntParser) - 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.
getKey() - Method in interface org.apache.lucene.messages.Message
 
getKey() - Method in class org.apache.lucene.messages.MessageImpl
 
getLastCumulativeDiff() - Method in class org.apache.lucene.analysis.BaseCharFilter
 
getLastDocCollected() - Method in exception org.apache.lucene.search.TimeLimitedCollector.TimeExceededException
Deprecated. Returns last doc that was collected when the search time exceeded.
getLastDocCollected() - Method in exception org.apache.lucene.search.TimeLimitingCollector.TimeExceededException
Returns last doc (absolute doc id) that was collected when the search time exceeded.
getLastGeneration() - Method in class org.apache.lucene.index.SegmentInfos
 
getLastModified() - Method in class org.apache.lucene.store.RAMFile
 
getLength() - Method in class org.apache.lucene.index.FieldInvertState
Get total number of terms in this field.
getLength() - Method in class org.apache.lucene.store.RAMFile
 
getLimit() - Method in class org.apache.lucene.index.IndexWriter.MaxFieldLength
 
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.
getLocalizedMessage() - Method in interface org.apache.lucene.messages.Message
 
getLocalizedMessage(Locale) - Method in interface org.apache.lucene.messages.Message
 
getLocalizedMessage() - Method in class org.apache.lucene.messages.MessageImpl
 
getLocalizedMessage(Locale) - Method in class org.apache.lucene.messages.MessageImpl
 
getLocalizedMessage(String) - Static method in class org.apache.lucene.messages.NLS
 
getLocalizedMessage(String, Locale) - Static method in class org.apache.lucene.messages.NLS
 
getLocalizedMessage(String, Locale, Object[]) - Static method in class org.apache.lucene.messages.NLS
 
getLocalizedMessage(String, Object[]) - Static method in class org.apache.lucene.messages.NLS
 
getLockDir() - Method in class org.apache.lucene.store.FSLockFactory
Retrieve the lock directory.
getLockFactory() - Method in class org.apache.lucene.store.Directory
Get the LockFactory that this Directory instance is using for its locking implementation.
getLockID() - Method in class org.apache.lucene.store.Directory
Return a string identifier that uniquely differentiates this Directory instance from other Directory instances.
getLockID() - Method in class org.apache.lucene.store.FSDirectory
 
getLockPrefix() - Method in class org.apache.lucene.store.LockFactory
Get the prefix in use for all locks created in this LockFactory.
getLongs(IndexReader, String, ExtendedFieldCache.LongParser) - Method in interface org.apache.lucene.search.ExtendedFieldCache
Deprecated. Will be removed in 3.0, this is for binary compatibility only
getLongs(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 longs and returns an array of size reader.maxDoc() of the value each document has in the given field.
getLongs(IndexReader, String, FieldCache.LongParser) - 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 longs and returns an array of size reader.maxDoc() of the value each document has in the given field.
getLowercaseExpandedTerms() - Method in class org.apache.lucene.queryParser.QueryParser
 
getLowerTerm() - Method in class org.apache.lucene.search.RangeQuery
Deprecated. Returns the lower term of this range query.
getLowerTerm() - Method in class org.apache.lucene.search.TermRangeFilter
Returns the lower value of this range filter
getLowerTerm() - Method in class org.apache.lucene.search.TermRangeQuery
Returns the lower value of this range query
getLowerVal() - Method in class org.apache.lucene.search.ConstantScoreRangeQuery
Deprecated.  
getMap() - Method in class org.apache.lucene.util.MapOfSets
 
getMaskedQuery() - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
getMatch() - Method in class org.apache.lucene.search.ComplexExplanation
The match status of this explanation node.
getMatch() - Method in class org.apache.lucene.search.spans.SpanFirstQuery
Return the SpanQuery whose matches are filtered.
getMax() - Method in class org.apache.lucene.search.NumericRangeFilter
Returns the upper value of this range filter
getMax() - Method in class org.apache.lucene.search.NumericRangeQuery
Returns the upper value of this range query
getMaxBufferedDeleteTerms() - Method in class org.apache.lucene.index.IndexWriter
Returns the number of buffered deleted terms that will trigger a flush if enabled.
getMaxBufferedDocs() - Method in class org.apache.lucene.index.IndexModifier
Deprecated.  
getMaxBufferedDocs() - Method in class org.apache.lucene.index.IndexWriter
Returns the number of buffered added documents that will trigger a flush if enabled.
getMaxChunkSize() - Method in class org.apache.lucene.store.MMapDirectory
Returns the current mmap chunk size.
getMaxClauseCount() - Static method in class org.apache.lucene.search.BooleanQuery
Return the maximum number of clauses permitted, 1024 by default.
getMaxFieldLength() - Method in class org.apache.lucene.index.IndexModifier
Deprecated.  
getMaxFieldLength() - Method in class org.apache.lucene.index.IndexWriter
Returns the maximum number of terms that will be indexed for a single field in a document.
getMaxMergeDocs() - Method in class org.apache.lucene.index.IndexWriter
Returns the largest segment (measured by document count) that may be merged with other segments.
getMaxMergeDocs() - Method in class org.apache.lucene.index.LogMergePolicy
Returns the largest segment (measured by document count) that may be merged with other segments.
getMaxMergeMB() - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
Returns the largest segment (measured by total byte size of the segment's files, in MB) that may be merged with other segments.
getMaxScore() - Method in class org.apache.lucene.search.FieldSortedHitQueue
Deprecated. returns the maximum score encountered by elements inserted via insert()
getMaxScore() - Method in class org.apache.lucene.search.TopDocs
Returns the maximum score value encountered.
getMaxSyncPauseSeconds() - Method in class org.apache.lucene.index.IndexWriter
Deprecated. This will be removed in 3.0, when autoCommit=true is removed from IndexWriter.
getMaxThreadCount() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
Get the max # simultaneous threads that may be running.
getMaxTokenLength() - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
 
getMaxTokenLength() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
getMaxValue() - Method in class org.apache.lucene.search.function.DocValues
Returns the maximum of all values or Float.NaN if this DocValues instance does not contain any value.
getMergedSegmentWarmer() - Method in class org.apache.lucene.index.IndexWriter
Returns the current merged segment warmer.
getMergeFactor() - Method in class org.apache.lucene.index.IndexModifier
Deprecated.  
getMergeFactor() - Method in class org.apache.lucene.index.IndexWriter
Returns the number of segments that are merged at once and also controls the total number of segments allowed to accumulate in the index.
getMergeFactor() - Method in class org.apache.lucene.index.LogMergePolicy
Returns the number of segments that are merged at once and also controls the total number of segments allowed to accumulate in the index.
getMergePolicy() - Method in class org.apache.lucene.index.IndexWriter
Expert: returns the current MergePolicy in use by this writer.
getMergeScheduler() - Method in class org.apache.lucene.index.IndexWriter
Expert: returns the current MergePolicy in use by this writer.
getMergeThread(IndexWriter, MergePolicy.OneMerge) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
Create and return a new MergeThread
getMergeThreadPriority() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
Return the priority that merge threads run at.
getMessage() - Method in exception org.apache.lucene.queryParser.ParseException
This method has the standard behavior when this object has been created using the standard constructors.
getMessage() - Method in error org.apache.lucene.queryParser.TokenMgrError
You can also modify the body of this method to customize your error messages.
getMessage() - Method in exception org.apache.lucene.search.BooleanQuery.TooManyClauses
 
getMessageObject() - Method in interface org.apache.lucene.messages.NLSException
 
getMin() - Method in class org.apache.lucene.search.NumericRangeFilter
Returns the lower value of this range filter
getMin() - Method in class org.apache.lucene.search.NumericRangeQuery
Returns the lower value of this range query
getMinimumNumberShouldMatch() - Method in class org.apache.lucene.search.BooleanQuery
Gets the minimum number of the optional BooleanClauses which must be satisfied.
getMinMergeDocs() - Method in class org.apache.lucene.index.LogDocMergePolicy
Get the minimum size for a segment to remain un-merged.
getMinMergeMB() - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
Get the minimum size for a segment to remain un-merged.
getMinSimilarity() - Method in class org.apache.lucene.search.FuzzyQuery
Returns the minimum similarity that is required for this query to match.
getMinValue() - Method in class org.apache.lucene.search.function.DocValues
Returns the minimum of all values or Float.NaN if this DocValues instance does not contain any value.
getMsg() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.Insanity
Description of hte insane behavior
getMultiTermRewriteMethod() - Method in class org.apache.lucene.queryParser.QueryParser
 
getNextSegmentFileName() - Method in class org.apache.lucene.index.SegmentInfos
Get the next segments_N filename that will be written.
getNextSize(int) - Static method in class org.apache.lucene.util.ArrayUtil
 
getNextToken() - Method in class org.apache.lucene.queryParser.QueryParser
Get the next Token.
getNextToken() - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
Get the next Token.
getNoCFSRatio() - Method in class org.apache.lucene.index.LogMergePolicy
 
getNoLockFactory() - Static method in class org.apache.lucene.store.NoLockFactory
 
getNormDecoder() - Static method in class org.apache.lucene.search.Similarity
Returns a table for decoding normalization bytes.
getNormFileName(int) - Method in class org.apache.lucene.index.SegmentInfo
Get the file name for the norms file for this field.
getNorms(String) - Method in class org.apache.lucene.index.SegmentReader
 
getNumericValue() - Method in class org.apache.lucene.document.NumericField
Returns the current numeric value as a subclass of Number, null if not yet initialized.
getNumOverlap() - Method in class org.apache.lucene.index.FieldInvertState
Get the number of terms with positionIncrement == 0.
getNumWords() - Method in class org.apache.lucene.util.OpenBitSet
Expert: gets the number of longs in the array that are in use
getOccur() - Method in class org.apache.lucene.search.BooleanClause
 
getOffset() - Method in class org.apache.lucene.index.FieldInvertState
Get end offset of the last processed term.
getOffset() - Method in class org.apache.lucene.index.Payload
Returns the offset in the underlying byte array
getOffsetGap(Fieldable) - Method in class org.apache.lucene.analysis.Analyzer
Just like Analyzer.getPositionIncrementGap(java.lang.String), except for Token offsets instead.
getOffsetGap(Fieldable) - Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
Return the offsetGap from the analyzer assigned to field
getOffsets() - Method in class org.apache.lucene.index.PositionBasedTermVectorMapper.TVPositionInfo
Parallel list (to PositionBasedTermVectorMapper.TVPositionInfo.getTerms()) of TermVectorOffsetInfo objects.
getOffsets(int) - Method in interface org.apache.lucene.index.TermPositionVector
Returns an array of TermVectorOffsetInfo in which the term is found.
getOffsets() - Method in class org.apache.lucene.index.TermVectorEntry
 
getOmitNorms() - Method in class org.apache.lucene.document.AbstractField
True if norms are omitted for this indexed field
getOmitNorms() - Method in interface org.apache.lucene.document.Fieldable
True if norms are omitted for this indexed field
getOmitTermFreqAndPositions() - Method in class org.apache.lucene.document.AbstractField
 
getOmitTf() - Method in class org.apache.lucene.document.AbstractField
Deprecated. Renamed to AbstractField.getOmitTermFreqAndPositions()
getOmitTf() - Method in interface org.apache.lucene.document.Fieldable
Deprecated. Renamed to AbstractField.getOmitTermFreqAndPositions()
getOnlyUseNewAPI() - Static method in class org.apache.lucene.analysis.TokenStream
Deprecated. This setting will no longer be needed in Lucene 3.0 as the old API will be removed.
getParser() - Method in class org.apache.lucene.search.SortField
Returns the instance of a FieldCache parser that fits to the given sort type.
getPayload() - Method in class org.apache.lucene.analysis.Token
Returns this Token's payload.
getPayload() - Method in interface org.apache.lucene.analysis.tokenattributes.PayloadAttribute
Returns this Token's payload.
getPayload() - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
Returns this Token's payload.
getPayload(byte[], int) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermPositions
 
getPayload(byte[], int) - Method in class org.apache.lucene.index.MultipleTermPositions
Not implemented.
getPayload(byte[], int) - Method in interface org.apache.lucene.index.TermPositions
Returns the payload data at the current term position.
getPayload() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
getPayload() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
WARNING: The List is not necessarily in order of the the positions
getPayload() - Method in class org.apache.lucene.search.spans.Spans
Returns the payload data for the current span.
getPayload() - Method in class org.apache.lucene.search.spans.TermSpans
 
getPayloadLength() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermPositions
 
getPayloadLength() - Method in class org.apache.lucene.index.MultipleTermPositions
Not implemented.
getPayloadLength() - Method in interface org.apache.lucene.index.TermPositions
Returns the length of the payload at the current term position.
getPayloads(Spans[]) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
 
getPayloadScore() - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
The score for the payload
getPayloadsForQuery(Query) - Method in class org.apache.lucene.search.payloads.PayloadSpanUtil
Query should be rewritten for wild/fuzzy support.
getPhraseSlop() - Method in class org.apache.lucene.queryParser.QueryParser
Gets the default slop for phrases.
getPosition() - Method in class org.apache.lucene.index.FieldInvertState
Get the last processed term position.
getPosition() - Method in class org.apache.lucene.index.PositionBasedTermVectorMapper.TVPositionInfo
 
getPositionIncrement() - Method in class org.apache.lucene.analysis.Token
Returns the position increment of this Token.
getPositionIncrement() - Method in interface org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute
Returns the position increment of this Token.
getPositionIncrement() - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
Returns the position increment of this Token.
getPositionIncrementGap(String) - Method in class org.apache.lucene.analysis.Analyzer
Invoked before indexing a Fieldable instance if terms have already been added to that field.
getPositionIncrementGap(String) - Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
Return the positionIncrementGap from the analyzer assigned to fieldName
getPositions() - Method in class org.apache.lucene.index.TermVectorEntry
 
getPositions() - Method in class org.apache.lucene.search.MultiPhraseQuery
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.
getPositions() - Method in class org.apache.lucene.search.SpanFilterResult
The first entry in the array corresponds to the first "on" bit.
getPositions() - Method in class org.apache.lucene.search.SpanFilterResult.PositionInfo
 
getPositions() - Method in class org.apache.lucene.search.spans.TermSpans
 
getPrefix() - Method in class org.apache.lucene.search.PrefixFilter
 
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 non-fuzzy prefix length.
getPrefixQuery(String, String) - Method in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
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)).
getPrefixTerm() - Method in class org.apache.lucene.search.PrefixTermEnum
 
getPreviousTokenStream() - Method in class org.apache.lucene.analysis.Analyzer
Used by Analyzers that implement reusableTokenStream to retrieve previously saved TokenStreams for re-use by the same thread.
getPrimaryDir() - Method in class org.apache.lucene.store.FileSwitchDirectory
Return the primary directory
getPrimitiveSize(Class) - Method in class org.apache.lucene.util.AverageGuessMemoryModel
 
getPrimitiveSize(Class) - Method in class org.apache.lucene.util.MemoryModel
 
getQuery() - Method in class org.apache.lucene.search.BooleanClause
 
getQuery() - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
getQuery() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
 
getQuery() - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
 
getQuery() - Method in class org.apache.lucene.search.FilteredQuery
 
getQuery() - Method in class org.apache.lucene.search.SpanQueryFilter
 
getQuery() - Method in class org.apache.lucene.search.spans.SpanWeight
 
getQuery() - Method in class org.apache.lucene.search.Weight
The query that this concerns.
getRAMBufferSizeMB() - Method in class org.apache.lucene.index.IndexWriter
Returns the value set by IndexWriter.setRAMBufferSizeMB(double) if enabled.
getRangeCollator() - Method in class org.apache.lucene.queryParser.QueryParser
 
getRangeQuery(String, String, String, boolean) - Method in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
getRangeQuery(String, String, String, boolean) - Method in class org.apache.lucene.queryParser.QueryParser
 
getReadChunkSize() - Method in class org.apache.lucene.store.FSDirectory
The maximum number of bytes to read at once from the underlying file during BufferedIndexInput.readBytes(byte[], int, int).
getReader() - Method in class org.apache.lucene.index.IndexWriter
Expert: returns a readonly reader, covering all committed as well as un-committed changes to the index.
getReader(int) - Method in class org.apache.lucene.index.IndexWriter
Expert: like IndexWriter.getReader(), except you can specify which termInfosIndexDivisor should be used for any newly opened readers.
getReaderKey() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
 
getReaderTermsIndexDivisor() - Method in class org.apache.lucene.index.IndexWriter
 
getRecomputedCount() - Method in class org.apache.lucene.util.BitVector
For testing
getRefCount() - Method in class org.apache.lucene.index.IndexReader
Expert: returns the current refCount for this reader
getReferenceSize() - Method in class org.apache.lucene.util.AverageGuessMemoryModel
 
getReferenceSize() - Method in class org.apache.lucene.util.MemoryModel
 
getResolution() - Static method in class org.apache.lucene.search.TimeLimitedCollector
Deprecated. Return the timer resolution.
getResolution() - Static method in class org.apache.lucene.search.TimeLimitingCollector
Return the timer resolution.
getReverse() - Method in class org.apache.lucene.search.SortField
Returns whether the sort should be reversed.
getRewriteMethod() - Method in class org.apache.lucene.search.MultiTermQuery
 
getRunningMerge() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
 
getScore() - Method in class org.apache.lucene.search.Hit
Deprecated. Returns score for this hit.
getSearchables() - Method in class org.apache.lucene.search.MultiSearcher
Return the array of Searchables this searches.
getSecondaryDir() - Method in class org.apache.lucene.store.FileSwitchDirectory
Return the secondary directory
getSegmentName() - Method in class org.apache.lucene.index.SegmentReader
Return the name of the segment this reader is reading.
getSegmentsFileName() - Method in class org.apache.lucene.index.IndexCommit
Get the segments file (segments_N) associated with this commit point.
getSegmentsFileName() - Method in interface org.apache.lucene.index.IndexCommitPoint
Deprecated. Get the segments file (segments_N) associated with this commit point.
getSentinelObject() - Method in class org.apache.lucene.util.PriorityQueue
This method can be overridden by extending classes to return a sentinel object which will be used by PriorityQueue.initialize(int) to fill the queue, so that the code which uses that queue can always assume it's full and only change the top without attempting to insert any new object.
Those sentinel values should always compare worse than any non-sentinel value (i.e., PriorityQueue.lessThan(Object, Object) should always favor the non-sentinel values).
By default, this method returns false, which means the queue will not be filled with sentinel values.
getSequentialSubReaders() - Method in class org.apache.lucene.index.FilterIndexReader
 
getSequentialSubReaders() - Method in class org.apache.lucene.index.IndexReader
Expert: returns the sequential sub readers that this reader is logically composed of.
getSequentialSubReaders() - Method in class org.apache.lucene.index.MultiReader
 
getShorts(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 shorts and returns an array of size reader.maxDoc() of the value each document has in the given field.
getShorts(IndexReader, String, FieldCache.ShortParser) - 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 shorts and returns an array of size reader.maxDoc() of the value each document has in the given field.
getShrinkSize(int, int) - Static method in class org.apache.lucene.util.ArrayUtil
 
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.BooleanQuery
 
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.ScoreCachingWrappingScorer
 
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.
getSimilarity(Searcher) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
getSizeInBytes() - Method in class org.apache.lucene.store.RAMFile
 
getSlop() - Method in class org.apache.lucene.search.MultiPhraseQuery
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.
getSort() - Method in class org.apache.lucene.search.Sort
Representation of the sort criteria.
getSpans(IndexReader) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
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
 
getSpanScore() - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
Returns the SpanScorer score only.
getStart() - Method in class org.apache.lucene.search.SpanFilterResult.StartEnd
The Start position
getStartOffset() - Method in class org.apache.lucene.index.TermVectorOffsetInfo
The accessor for the starting offset of the term.
getStarts() - Method in class org.apache.lucene.search.MultiSearcher
 
getStemDict(File) - Static method in class org.apache.lucene.analysis.WordlistLoader
Reads a stem dictionary.
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.
getSubSpans() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
getSubSpans() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
 
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
 
getSummary() - Method in class org.apache.lucene.search.ComplexExplanation
 
getSummary() - Method in class org.apache.lucene.search.Explanation
A short one line summary which should contain all high level information about this Explanation, without the "Details"
getTerm() - Method in class org.apache.lucene.index.TermVectorEntry
 
getTerm() - Method in class org.apache.lucene.search.FuzzyQuery
Returns the pattern term.
getTerm() - Method in class org.apache.lucene.search.MultiTermQuery
Deprecated. check sub class for possible term access - getTerm does not make sense for all MultiTermQuerys and will be removed.
getTerm() - Method in class org.apache.lucene.search.spans.SpanTermQuery
Return the term whose spans are matched.
getTerm() - Method in class org.apache.lucene.search.TermQuery
Returns the term of this query.
getTerm() - Method in class org.apache.lucene.search.WildcardQuery
Returns the pattern term.
getTermArrays() - Method in class org.apache.lucene.search.MultiPhraseQuery
Returns a List of the terms in the multiphrase.
getTermCountCutoff() - Method in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
 
getTermFrequencies() - Method in interface org.apache.lucene.index.TermFreqVector
Array of term frequencies.
getTermFrequencies() - Method in class org.apache.lucene.search.QueryTermVector
 
getTermFreqVector(int, String) - Method in class org.apache.lucene.index.FilterIndexReader
 
getTermFreqVector(int, String, TermVectorMapper) - Method in class org.apache.lucene.index.FilterIndexReader
 
getTermFreqVector(int, TermVectorMapper) - 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, TermVectorMapper) - Method in class org.apache.lucene.index.IndexReader
Load the Term Vector into a user-defined data structure instead of relying on the parallel arrays of the TermFreqVector.
getTermFreqVector(int, TermVectorMapper) - Method in class org.apache.lucene.index.IndexReader
Map all the term vectors for all fields in a Document
getTermFreqVector(int, String) - Method in class org.apache.lucene.index.MultiReader
 
getTermFreqVector(int, String, TermVectorMapper) - Method in class org.apache.lucene.index.MultiReader
 
getTermFreqVector(int, TermVectorMapper) - Method in class org.apache.lucene.index.MultiReader
 
getTermFreqVector(int, String) - Method in class org.apache.lucene.index.ParallelReader
 
getTermFreqVector(int, String, TermVectorMapper) - Method in class org.apache.lucene.index.ParallelReader
 
getTermFreqVector(int, TermVectorMapper) - Method in class org.apache.lucene.index.ParallelReader
 
getTermFreqVector(int, String) - Method in class org.apache.lucene.index.SegmentReader
Return a term frequency vector for the specified document and field.
getTermFreqVector(int, String, TermVectorMapper) - Method in class org.apache.lucene.index.SegmentReader
 
getTermFreqVector(int, TermVectorMapper) - Method in class org.apache.lucene.index.SegmentReader
 
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
 
getTermFreqVectors(int) - Method in class org.apache.lucene.index.ParallelReader
 
getTermFreqVectors(int) - Method in class org.apache.lucene.index.SegmentReader
Return an array of term frequency vectors for the specified document.
getTermIndexInterval() - Method in class org.apache.lucene.index.IndexWriter
Expert: Return the interval between indexed terms.
getTermInfosIndexDivisor() - Method in class org.apache.lucene.index.IndexReader
For IndexReader implementations that use TermInfosReader to read terms, this returns the current indexDivisor as specified when the reader was opened.
getTermInfosIndexDivisor() - Method in class org.apache.lucene.index.SegmentReader
 
getTermPositions(int) - Method in interface org.apache.lucene.index.TermPositionVector
Returns an array of positions in which the term is found.
getTerms() - Method in class org.apache.lucene.index.PositionBasedTermVectorMapper.TVPositionInfo
Note, there may be multiple terms at the same position
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.FieldMaskingSpanQuery
Deprecated. use FieldMaskingSpanQuery.extractTerms(Set) instead.
getTerms() - Method in class org.apache.lucene.search.spans.SpanFirstQuery
Deprecated. use extractTerms instead
getTerms() - Method in class org.apache.lucene.search.spans.SpanNearQuery
Deprecated. use extractTerms instead
getTerms() - Method in class org.apache.lucene.search.spans.SpanNotQuery
Deprecated. use extractTerms instead
getTerms() - Method in class org.apache.lucene.search.spans.SpanOrQuery
Deprecated. use extractTerms instead
getTerms() - Method in class org.apache.lucene.search.spans.SpanQuery
Deprecated. use extractTerms instead
getTerms() - Method in class org.apache.lucene.search.spans.SpanTermQuery
Deprecated. use extractTerms instead
getTermVectorEntrySet() - Method in class org.apache.lucene.index.SortedTermVectorMapper
The TermVectorEntrySet.
getTimeAllowed() - Method in exception org.apache.lucene.search.TimeLimitedCollector.TimeExceededException
Deprecated. Returns allowed time (milliseconds).
getTimeAllowed() - Method in exception org.apache.lucene.search.TimeLimitingCollector.TimeExceededException
Returns allowed time (milliseconds).
getTimeElapsed() - Method in exception org.apache.lucene.search.TimeLimitedCollector.TimeExceededException
Deprecated. Returns elapsed time (milliseconds).
getTimeElapsed() - Method in exception org.apache.lucene.search.TimeLimitingCollector.TimeExceededException
Returns elapsed time (milliseconds).
getTimestamp() - Method in class org.apache.lucene.index.IndexCommit
Convenience method that returns the last modified time of the segments_N file corresponding to this index commit, equivalent to getDirectory().fileModified(getSegmentsFileName()).
getToken(int) - Method in class org.apache.lucene.queryParser.QueryParser
Get the specific Token.
getTokens() - Method in class org.apache.lucene.analysis.SinkTokenizer
Deprecated. Get the tokens in the internal List.
getTotalHits() - Method in class org.apache.lucene.search.TopDocCollector
Deprecated. The total number of documents that matched this query.
getTotalHits() - Method in class org.apache.lucene.search.TopDocsCollector
The total number of documents that matched this query.
getTotalNumberOfTerms() - Method in class org.apache.lucene.search.MultiTermQuery
Expert: Return the number of unique terms visited during execution of the query.
getTotalNumberOfTerms() - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
Expert: Return the number of unique terms visited during execution of the filter.
getType() - Method in class org.apache.lucene.search.SortField
Returns the type of contents in the field.
getType() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.Insanity
Type of insane behavior this object represents
getUniqueTermCount() - Method in class org.apache.lucene.index.IndexReader
Returns the number of unique terms (across all fields) in this reader.
getUniqueTermCount() - Method in class org.apache.lucene.index.SegmentReader
 
getUpperTerm() - Method in class org.apache.lucene.search.RangeQuery
Deprecated. Returns the upper term of this range query.
getUpperTerm() - Method in class org.apache.lucene.search.TermRangeFilter
Returns the upper value of this range filter
getUpperTerm() - Method in class org.apache.lucene.search.TermRangeQuery
Returns the upper value of this range query
getUpperVal() - Method in class org.apache.lucene.search.ConstantScoreRangeQuery
Deprecated.  
getUseCompoundDocStore() - Method in class org.apache.lucene.index.LogMergePolicy
Returns true if newly flushed and newly merge doc store segment files (term vectors and stored fields) are written in compound file format.
getUseCompoundFile() - Method in class org.apache.lucene.index.IndexModifier
Deprecated.  
getUseCompoundFile() - Method in class org.apache.lucene.index.IndexWriter
Get the current setting of whether newly flushed segments will use the compound file format.
getUseCompoundFile() - Method in class org.apache.lucene.index.LogMergePolicy
Returns true if newly flushed and newly merge segments are written in compound file format.
getUseCompoundFile() - Method in class org.apache.lucene.index.SegmentInfo
Returns true if this segment is stored as a compound file; else, false.
getUseLegacySearch() - Method in class org.apache.lucene.search.SortField
Deprecated. will be removed in Lucene 3.0.
getUseOldRangeQuery() - Method in class org.apache.lucene.queryParser.QueryParser
Deprecated. Please use QueryParser.getMultiTermRewriteMethod() instead.
getUserData() - Method in class org.apache.lucene.index.IndexCommit
Returns userData, previously passed to IndexWriter.commit(Map) for this commit.
getUserData() - Method in class org.apache.lucene.index.SegmentInfos
 
getUseScorer14() - Static method in class org.apache.lucene.search.BooleanQuery
Deprecated. Use BooleanQuery.getAllowDocsOutOfOrder() instead.
getUseUnmap() - Method in class org.apache.lucene.store.MMapDirectory
Returns true, if the unmap workaround is enabled.
getValue() - Method in class org.apache.lucene.queryParser.Token
An optional attribute value of the Token.
getValue() - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
getValue() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
 
getValue() - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
 
getValue() - Method in class org.apache.lucene.search.Explanation
The value assigned to this explanation node.
getValue() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
 
getValue() - Method in class org.apache.lucene.search.spans.SpanWeight
 
getValue() - Method in class 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.
getValues() - Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
 
getValues(IndexReader) - Method in class org.apache.lucene.search.function.FieldCacheSource
 
getValues(IndexReader) - Method in class org.apache.lucene.search.function.MultiValueSource
Deprecated.  
getValues(IndexReader) - Method in class org.apache.lucene.search.function.OrdFieldSource
 
getValues(IndexReader) - Method in class org.apache.lucene.search.function.ReverseOrdFieldSource
 
getValues(IndexReader) - Method in class org.apache.lucene.search.function.ValueSource
Return the DocValues used by the function query.
getVersion() - Method in class org.apache.lucene.index.FilterIndexReader
 
getVersion() - Method in class org.apache.lucene.index.IndexCommit
Returns the version for this IndexCommit.
getVersion() - Method in class org.apache.lucene.index.IndexReader
Version number when this IndexReader was opened.
getVersion() - Method in class org.apache.lucene.index.MultiReader
Not implemented.
getVersion() - Method in class org.apache.lucene.index.ParallelReader
Not implemented.
getVersion() - Method in class org.apache.lucene.index.SegmentInfos
version number when this SegmentInfos was generated.
getWildcardQuery(String, String) - Method in class org.apache.lucene.queryParser.MultiFieldQueryParser
 
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.WordlistLoader
Loads a text file and adds every line as an entry to a HashSet (omitting leading and trailing whitespace).
getWordSet(File, String) - Static method in class org.apache.lucene.analysis.WordlistLoader
Loads a text file and adds every non-comment line as an entry to a HashSet (omitting leading and trailing whitespace).
getWordSet(Reader) - Static method in class org.apache.lucene.analysis.WordlistLoader
Reads lines from a Reader and adds every line as an entry to a HashSet (omitting leading and trailing whitespace).
getWordSet(Reader, String) - Static method in class org.apache.lucene.analysis.WordlistLoader
Reads lines from a Reader and adds every non-comment line as an entry to a HashSet (omitting leading and trailing whitespace).
getWriteLockTimeout() - Method in class org.apache.lucene.index.IndexWriter
Returns allowed timeout when acquiring the write lock.
grow(int[], int) - Static method in class org.apache.lucene.util.ArrayUtil
 
grow(int[]) - Static method in class org.apache.lucene.util.ArrayUtil
 
grow(long[], int) - Static method in class org.apache.lucene.util.ArrayUtil
 
grow(long[]) - Static method in class org.apache.lucene.util.ArrayUtil
 
grow(byte[], int) - Static method in class org.apache.lucene.util.ArrayUtil
 
grow(byte[]) - Static method in class org.apache.lucene.util.ArrayUtil
 

H

handleMergeException(Throwable) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
Called when an exception is hit in a background merge thread
hasAttribute(Class) - Method in class org.apache.lucene.util.AttributeSource
The caller must pass in a Class<? extends Attribute> value.
hasAttributes() - Method in class org.apache.lucene.util.AttributeSource
Returns true, iff this AttributeSource has any attributes
hasChanges - Variable in class org.apache.lucene.index.IndexReader
 
hasDeletions - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
True if this segment has pending deletions.
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.IndexWriter
 
hasDeletions() - Method in class org.apache.lucene.index.MultiReader
 
hasDeletions() - Method in class org.apache.lucene.index.ParallelReader
 
hasDeletions() - Method in class org.apache.lucene.index.SegmentInfo
 
hasDeletions() - Method in class org.apache.lucene.index.SegmentReader
 
hasExternalSegments(Directory) - Method in class org.apache.lucene.index.SegmentInfos
 
hashCode() - Method in class org.apache.lucene.analysis.Token
 
hashCode() - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
 
hashCode() - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
 
hashCode() - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
 
hashCode() - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
 
hashCode() - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
 
hashCode() - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
 
hashCode() - Method in class org.apache.lucene.document.FieldSelectorResult
 
hashCode() - Method in class org.apache.lucene.index.IndexCommit
 
hashCode() - Method in class org.apache.lucene.index.Payload
 
hashCode() - Method in class org.apache.lucene.index.SegmentInfo
 
hashCode() - Method in class org.apache.lucene.index.Term
 
hashCode() - Method in class org.apache.lucene.index.TermVectorEntry
 
hashCode() - Method in class org.apache.lucene.index.TermVectorOffsetInfo
 
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.CachingSpanFilter
 
hashCode() - Method in class org.apache.lucene.search.CachingWrapperFilter
 
hashCode() - Method in class org.apache.lucene.search.ConstantScoreQuery
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Compute a hash code for hashing us
hashCode() - Method in class org.apache.lucene.search.FieldCacheRangeFilter
 
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.function.CustomScoreQuery
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.search.function.FieldCacheSource
 
hashCode() - Method in class org.apache.lucene.search.function.MultiValueSource
Deprecated.  
hashCode() - Method in class org.apache.lucene.search.function.OrdFieldSource
 
hashCode() - Method in class org.apache.lucene.search.function.ReverseOrdFieldSource
 
hashCode() - Method in class org.apache.lucene.search.function.ValueSource
Needed for possible caching of query results - used by ValueSourceQuery.hashCode().
hashCode() - Method in class org.apache.lucene.search.function.ValueSourceQuery
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.search.FuzzyQuery
 
hashCode() - Method in class org.apache.lucene.search.MatchAllDocsQuery
 
hashCode() - Method in class org.apache.lucene.search.MultiPhraseQuery
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
 
hashCode() - Method in class org.apache.lucene.search.MultiTermQuery
 
hashCode() - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
 
hashCode() - Method in class org.apache.lucene.search.NumericRangeQuery
 
hashCode() - Method in class org.apache.lucene.search.payloads.AveragePayloadFunction
 
hashCode() - Method in class org.apache.lucene.search.payloads.MaxPayloadFunction
 
hashCode() - Method in class org.apache.lucene.search.payloads.MinPayloadFunction
 
hashCode() - Method in class org.apache.lucene.search.payloads.PayloadFunction
 
hashCode() - Method in class org.apache.lucene.search.payloads.PayloadNearQuery
 
hashCode() - Method in class org.apache.lucene.search.payloads.PayloadTermQuery
 
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.PrefixQuery
 
hashCode() - Method in class org.apache.lucene.search.Query
 
hashCode() - Method in class org.apache.lucene.search.QueryFilter
Deprecated.  
hashCode() - Method in class org.apache.lucene.search.QueryWrapperFilter
 
hashCode() - Method in class org.apache.lucene.search.RangeQuery
Deprecated. Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.search.Sort
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.search.SortField
Returns true if o is equal to this.
hashCode() - Method in class org.apache.lucene.search.SpanQueryFilter
 
hashCode() - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
hashCode() - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
hashCode() - Method in class org.apache.lucene.search.spans.SpanNearQuery
 
hashCode() - Method in class org.apache.lucene.search.spans.SpanNotQuery
 
hashCode() - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
hashCode() - Method in class org.apache.lucene.search.spans.SpanTermQuery
 
hashCode() - Method in class org.apache.lucene.search.TermQuery
Returns a hash code value for this object.
hashCode() - Method in class org.apache.lucene.search.TermRangeQuery
 
hashCode() - Method in class org.apache.lucene.search.WildcardQuery
 
hashCode(char[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
Returns hash of chars in range start (inclusive) to end (inclusive)
hashCode(byte[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
Returns hash of chars in range start (inclusive) to end (inclusive)
hashCode() - Method in class org.apache.lucene.util.AttributeImpl
Subclasses must implement this method and should compute a hashCode similar to this:
hashCode() - Method in class org.apache.lucene.util.AttributeSource
 
hashCode() - Method in class org.apache.lucene.util.OpenBitSet
 
hasNext() - Method in class org.apache.lucene.analysis.CharArraySet.CharArraySetIterator
 
hasNext() - Method in class org.apache.lucene.search.HitIterator
Deprecated.  
hasNorms(String) - Method in class org.apache.lucene.index.FilterIndexReader
 
hasNorms(String) - Method in class org.apache.lucene.index.IndexReader
Returns true if there are norms stored for this field.
hasNorms(String) - Method in class org.apache.lucene.index.MultiReader
 
hasNorms(String) - Method in class org.apache.lucene.index.ParallelReader
 
hasNorms(String) - Method in class org.apache.lucene.index.SegmentReader
 
hasProx - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
True if at least one of the fields in this segment does not omitTermFreqAndPositions.
hasSeparateNorms(int) - Method in class org.apache.lucene.index.SegmentInfo
Returns true if this field for this segment has saved a separate norms file (__N.sX).
hasSeparateNorms() - Method in class org.apache.lucene.index.SegmentInfo
Returns true if any fields in this segment have separate norms.
heap - Variable in class org.apache.lucene.util.PriorityQueue
 
Hit - Class in org.apache.lucene.search
Deprecated. Use TopScoreDocCollector and TopDocs instead. Hits will be removed in Lucene 3.0.
HitCollector - Class in org.apache.lucene.search
Deprecated. Please use Collector instead.
HitCollector() - Constructor for class org.apache.lucene.search.HitCollector
Deprecated.  
HitCollectorWrapper - Class in org.apache.lucene.search
Deprecated. Please migrate custom HitCollectors to the new Collector class. This class will be removed when HitCollector is removed.
HitCollectorWrapper(HitCollector) - Constructor for class org.apache.lucene.search.HitCollectorWrapper
Deprecated.  
HitIterator - Class in org.apache.lucene.search
Deprecated. Use TopScoreDocCollector and TopDocs instead. Hits will be removed in Lucene 3.0.
Hits - Class in org.apache.lucene.search
Deprecated. see Searcher.search(Query, int), Searcher.search(Query, Filter, int) and Searcher.search(Query, Filter, int, Sort):
   TopDocs topDocs = searcher.search(query, numHits);
   ScoreDoc[] hits = topDocs.scoreDocs;
   for (int i = 0; i < hits.length; i++) {
     int docId = hits[i].doc;
     Document d = searcher.doc(docId);
     // do something with current hit
     ...
 
HOST - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
HOUR - Static variable in class org.apache.lucene.document.DateTools.Resolution
 
hq - Variable in class org.apache.lucene.search.TopDocCollector
Deprecated. The priority queue which holds the top-scoring documents.
humanReadableUnits(long, DecimalFormat) - Static method in class org.apache.lucene.util.RamUsageEstimator
Return good default units based on byte size.

I

id(int) - Method in class org.apache.lucene.search.Hits
Deprecated. 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
Deprecated. see Similarity.idfExplain(Term, Searcher)
idf(Collection, Searcher) - Method in class org.apache.lucene.search.Similarity
Deprecated. see Similarity.idfExplain(Collection, Searcher)
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).
idf(int, int) - Method in class org.apache.lucene.search.SimilarityDelegator
 
idf - Variable in class org.apache.lucene.search.spans.SpanWeight
 
idfExplain(Term, Searcher) - Method in class org.apache.lucene.search.Similarity
Computes a score factor for a simple term and returns an explanation for that score factor.
idfExplain(Collection, Searcher) - Method in class org.apache.lucene.search.Similarity
Computes a score factor for a phrase.
IGNORE - Static variable in class org.apache.lucene.search.CachingWrapperFilter.DeletesMode
 
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
 
includesLower() - Method in class org.apache.lucene.search.TermRangeFilter
Returns true if the lower endpoint is inclusive
includesLower() - Method in class org.apache.lucene.search.TermRangeQuery
Returns true if the lower endpoint is inclusive
includesMax() - Method in class org.apache.lucene.search.NumericRangeFilter
Returns true if the upper endpoint is inclusive
includesMax() - Method in class org.apache.lucene.search.NumericRangeQuery
Returns true if the upper endpoint is inclusive
includesMin() - Method in class org.apache.lucene.search.NumericRangeFilter
Returns true if the lower endpoint is inclusive
includesMin() - Method in class org.apache.lucene.search.NumericRangeQuery
Returns true if the lower endpoint is inclusive
includesUpper() - Method in class org.apache.lucene.search.TermRangeFilter
Returns true if the upper endpoint is inclusive
includesUpper() - Method in class org.apache.lucene.search.TermRangeQuery
Returns true if the upper endpoint is inclusive
incRef() - Method in class org.apache.lucene.index.IndexReader
Expert: increments the refCount of this IndexReader instance.
incrementToken() - Method in class org.apache.lucene.analysis.ASCIIFoldingFilter
 
incrementToken() - Method in class org.apache.lucene.analysis.CachingTokenFilter
 
incrementToken() - Method in class org.apache.lucene.analysis.CharTokenizer
 
incrementToken() - Method in class org.apache.lucene.analysis.ISOLatin1AccentFilter
Deprecated.  
incrementToken() - Method in class org.apache.lucene.analysis.KeywordTokenizer
 
incrementToken() - Method in class org.apache.lucene.analysis.LengthFilter
Returns the next input Token whose term() is the right len
incrementToken() - Method in class org.apache.lucene.analysis.LowerCaseFilter
 
incrementToken() - Method in class org.apache.lucene.analysis.NumericTokenStream
 
incrementToken() - Method in class org.apache.lucene.analysis.PorterStemFilter
 
incrementToken() - Method in class org.apache.lucene.analysis.standard.StandardFilter
Returns the next token in the stream, or null at EOS.
incrementToken() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
incrementToken() - Method in class org.apache.lucene.analysis.StopFilter
Returns the next input Token whose term() is not a stop word.
incrementToken() - Method in class org.apache.lucene.analysis.TeeSinkTokenFilter
 
incrementToken() - Method in class org.apache.lucene.analysis.TeeSinkTokenFilter.SinkTokenStream
 
incrementToken() - Method in class org.apache.lucene.analysis.TokenStream
Consumers (i.e., IndexWriter) use this method to advance the stream to the next token.
incTotalNumberOfTerms(int) - Method in class org.apache.lucene.search.MultiTermQuery
 
IndexableBinaryStringTools - Class in org.apache.lucene.util
Provides support for converting byte sequences to Strings and back again.
IndexCommit - Class in org.apache.lucene.index
Expert: represents a single commit into an index as seen by the IndexDeletionPolicy or IndexReader.
IndexCommit() - Constructor for class org.apache.lucene.index.IndexCommit
 
IndexCommitPoint - Interface in org.apache.lucene.index
Deprecated. Please subclass IndexCommit class instead
IndexDeletionPolicy - Interface in org.apache.lucene.index
Expert: policy for deletion of stale index commits.
INDEXED - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
All indexed fields
INDEXED_NO_TERMVECTOR - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
All fields which are indexed but don't have termvectors enabled
INDEXED_WITH_TERMVECTOR - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
All fields which are indexed with termvectors enabled
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
 
indexExists(String) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.indexExists(Directory) instead This method will be removed in the 3.0 release.
indexExists(File) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.indexExists(Directory) instead. This method will be removed in the 3.0 release.
indexExists(Directory) - Static method in class org.apache.lucene.index.IndexReader
Returns true if an index exists at the specified directory.
IndexFileNameFilter - Class in org.apache.lucene.index
Filename filter that accept filenames and extensions only created by Lucene.
IndexInput - Class in org.apache.lucene.store
Abstract base class for input from a file in a Directory.
IndexInput() - Constructor for class org.apache.lucene.store.IndexInput
 
IndexModifier - Class in org.apache.lucene.index
Deprecated. Please use IndexWriter instead.
IndexModifier(Directory, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexModifier
Deprecated. Open an index with write access.
IndexModifier(String, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexModifier
Deprecated. Open an index with write access.
IndexModifier(File, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexModifier
Deprecated. Open an index with write access.
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
 
INDEXORDER - Static variable in interface org.apache.lucene.search.ScoreDocComparator
Deprecated. 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.
IndexOutput - Class in org.apache.lucene.store
Abstract base class for output to a file in a Directory.
IndexOutput() - Constructor for class org.apache.lucene.store.IndexOutput
 
indexReader - Variable in class org.apache.lucene.index.IndexModifier
Deprecated.  
IndexReader - Class in org.apache.lucene.index
IndexReader is an abstract class, providing an interface for accessing an index.
IndexReader(Directory) - Constructor for class org.apache.lucene.index.IndexReader
Deprecated. - use IndexReader()
IndexReader() - Constructor for class org.apache.lucene.index.IndexReader
 
IndexReader.FieldOption - Class in org.apache.lucene.index
Constants describing field properties, for example used for IndexReader.getFieldNames(FieldOption).
IndexSearcher - Class in org.apache.lucene.search
Implements search over a single IndexReader.
IndexSearcher(String) - Constructor for class org.apache.lucene.search.IndexSearcher
Deprecated. Use IndexSearcher.IndexSearcher(Directory, boolean) instead
IndexSearcher(String, boolean) - Constructor for class org.apache.lucene.search.IndexSearcher
Deprecated. Use IndexSearcher.IndexSearcher(Directory, boolean) instead
IndexSearcher(Directory) - Constructor for class org.apache.lucene.search.IndexSearcher
Deprecated. Use IndexSearcher.IndexSearcher(Directory, boolean) instead
IndexSearcher(Directory, boolean) - Constructor for class org.apache.lucene.search.IndexSearcher
Creates a searcher searching the index in the named directory.
IndexSearcher(IndexReader) - Constructor for class org.apache.lucene.search.IndexSearcher
Creates a searcher searching the provided index.
indexWriter - Variable in class org.apache.lucene.index.IndexModifier
Deprecated.  
IndexWriter - Class in org.apache.lucene.index
An IndexWriter creates and maintains an index.
IndexWriter(String, Analyzer, boolean, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. Use IndexWriter.IndexWriter(Directory, Analyzer, boolean, MaxFieldLength)
IndexWriter(String, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,boolean,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(File, Analyzer, boolean, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. Use IndexWriter.IndexWriter(Directory, Analyzer, boolean, MaxFieldLength)
IndexWriter(File, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,boolean,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(Directory, Analyzer, boolean, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
Constructs an IndexWriter for the index in d.
IndexWriter(Directory, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. This constructor will be removed in the 3.0 release, and call IndexWriter.commit() when needed. Use IndexWriter.IndexWriter(Directory,Analyzer,boolean,MaxFieldLength) instead.
IndexWriter(String, Analyzer, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. Use IndexWriter.IndexWriter(Directory, Analyzer, MaxFieldLength)
IndexWriter(String, Analyzer) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. This constructor will be removed in the 3.0 release, and call IndexWriter.commit() when needed. Use IndexWriter.IndexWriter(Directory,Analyzer,MaxFieldLength) instead.
IndexWriter(File, Analyzer, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. Use IndexWriter.IndexWriter(Directory, Analyzer, MaxFieldLength)
IndexWriter(File, Analyzer) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(Directory, Analyzer, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
Constructs an IndexWriter for the index in d, first creating it if it does not already exist.
IndexWriter(Directory, Analyzer) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(Directory, boolean, Analyzer) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(Directory, boolean, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,boolean,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(Directory, Analyzer, IndexDeletionPolicy, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
Expert: constructs an IndexWriter with a custom IndexDeletionPolicy, for the index in d, first creating it if it does not already exist.
IndexWriter(Directory, boolean, Analyzer, IndexDeletionPolicy) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,IndexDeletionPolicy,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(Directory, Analyzer, boolean, IndexDeletionPolicy, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
Expert: constructs an IndexWriter with a custom IndexDeletionPolicy, for the index in d.
IndexWriter(Directory, boolean, Analyzer, boolean, IndexDeletionPolicy) - Constructor for class org.apache.lucene.index.IndexWriter
Deprecated. This constructor will be removed in the 3.0 release. Use IndexWriter.IndexWriter(Directory,Analyzer,boolean,IndexDeletionPolicy,MaxFieldLength) instead, and call IndexWriter.commit() when needed.
IndexWriter(Directory, Analyzer, IndexDeletionPolicy, IndexWriter.MaxFieldLength, IndexCommit) - Constructor for class org.apache.lucene.index.IndexWriter
Expert: constructs an IndexWriter on specific commit point, with a custom IndexDeletionPolicy, for the index in d.
IndexWriter.IndexReaderWarmer - Class in org.apache.lucene.index
If IndexWriter.getReader() has been called (ie, this writer is in near real-time mode), then after a merge completes, this class can be invoked to warm the reader on the newly merged segment, before the merge commits.
IndexWriter.IndexReaderWarmer() - Constructor for class org.apache.lucene.index.IndexWriter.IndexReaderWarmer
 
IndexWriter.MaxFieldLength - Class in org.apache.lucene.index
Specifies maximum field length (in number of tokens/terms) in IndexWriter constructors.
IndexWriter.MaxFieldLength(int) - Constructor for class org.apache.lucene.index.IndexWriter.MaxFieldLength
Public constructor to allow users to specify the maximum field size limit.
info(int) - Method in class org.apache.lucene.index.SegmentInfos
 
infoStream - Variable in class org.apache.lucene.index.IndexModifier
Deprecated.  
init() - Method in class org.apache.lucene.analysis.StopFilter
 
init(Directory, Analyzer, boolean) - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Initialize an IndexWriter.
initialize(int) - Method in class org.apache.lucene.util.PriorityQueue
Subclass constructors must call this.
initializeMessages(String, Class) - Static method in class org.apache.lucene.messages.NLS
Initialize a given class with the message bundle Keys Should be called from a class that extends NLS in a static block at class load time.
initialValue() - Method in class org.apache.lucene.util.CloseableThreadLocal
 
initOutput(String) - Method in class org.apache.lucene.store.FSDirectory
Initializes the directory to create a new file with the given name.
inOrder - Variable in class org.apache.lucene.search.spans.SpanNearQuery
 
inPlaceAnd(DocIdSetIterator) - Method in class org.apache.lucene.util.OpenBitSetDISI
Perform an inplace AND with the doc ids from a given DocIdSetIterator, leaving only the bits set for which the doc ids are in common.
inPlaceNot(DocIdSetIterator) - Method in class org.apache.lucene.util.OpenBitSetDISI
Perform an inplace NOT with the doc ids from a given DocIdSetIterator, clearing all the bits for each such doc id.
inPlaceOr(DocIdSetIterator) - Method in class org.apache.lucene.util.OpenBitSetDISI
Perform an inplace OR with the doc ids from a given DocIdSetIterator, setting the bit for each such doc id.
inPlaceXor(DocIdSetIterator) - Method in class org.apache.lucene.util.OpenBitSetDISI
Perform an inplace XOR with the doc ids from a given DocIdSetIterator, flipping all the bits for each such doc id.
input - Variable in class org.apache.lucene.analysis.CharFilter
 
input - Variable in class org.apache.lucene.analysis.CharReader
 
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.queryParser.QueryParserTokenManager
 
insert(FieldDoc) - Method in class org.apache.lucene.search.FieldSortedHitQueue
Deprecated.  
insert(Object) - Method in class org.apache.lucene.search.FieldSortedHitQueue
Deprecated.  
insert(Object) - Method in class org.apache.lucene.util.PriorityQueue
Deprecated. use PriorityQueue.insertWithOverflow(Object) instead, which encourages objects reuse.
insert(Scorer) - Method in class org.apache.lucene.util.ScorerDocQueue
Adds a Scorer to the ScorerDocQueue in log(size) time if either the ScorerDocQueue is not full, or not lessThan(scorer, top()).
insertWithOverflow(Object) - Method in class org.apache.lucene.search.FieldSortedHitQueue
Deprecated.  
insertWithOverflow(Object) - Method in class org.apache.lucene.util.PriorityQueue
insertWithOverflow() is the same as insert() except its return value: it returns the object (if any) that was dropped off the heap because it was full.
INT - Static variable in class org.apache.lucene.search.function.FieldScoreQuery.Type
field values are interpreted as numeric int values.
INT - Static variable in class org.apache.lucene.search.SortField
Sort using term values as encoded Integers.
intern(String) - Method in class org.apache.lucene.util.SimpleStringInterner
 
intern(String) - Static method in class org.apache.lucene.util.StringHelper
Return the same string object for all equal strings
intern(String) - Method in class org.apache.lucene.util.StringInterner
Returns a single object instance for each equal string.
intern(char[], int, int) - Method in class org.apache.lucene.util.StringInterner
Returns a single object instance for each equal string.
interner - Static variable in class org.apache.lucene.util.StringHelper
Expert: The StringInterner implementation used by Lucene.
intersect(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
this = this AND other
intersectionCount(OpenBitSet, OpenBitSet) - Static method in class org.apache.lucene.util.OpenBitSet
Returns the popcount or cardinality of the intersection of the two sets.
intersects(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
returns true if the sets have any elements in common
IntFieldSource - Class in org.apache.lucene.search.function
Expert: obtains int field values from the FieldCache using getInts() and makes those values available as other numeric types, casting as needed.
IntFieldSource(String) - Constructor for class org.apache.lucene.search.function.IntFieldSource
Create a cached int field source with default string-to-int parser.
IntFieldSource(String, FieldCache.IntParser) - Constructor for class org.apache.lucene.search.function.IntFieldSource
Create a cached int field source with a specific string-to-int parser.
intToPrefixCoded(int, int, char[]) - Static method in class org.apache.lucene.util.NumericUtils
Expert: Returns prefix coded bits after reducing the precision by shift bits.
intToPrefixCoded(int, int) - Static method in class org.apache.lucene.util.NumericUtils
Expert: Returns prefix coded bits after reducing the precision by shift bits.
intToPrefixCoded(int) - Static method in class org.apache.lucene.util.NumericUtils
This is a convenience method, that returns prefix coded bits of an int without reducing the precision.
intVal(int) - Method in class org.apache.lucene.search.function.DocValues
Return doc value as an int.
isBinary - Variable in class org.apache.lucene.document.AbstractField
 
isBinary() - Method in class org.apache.lucene.document.AbstractField
True iff the value of the filed is stored as binary
isBinary() - Method in interface org.apache.lucene.document.Fieldable
True if the value of the field is stored as binary
isCacheable() - Method in class org.apache.lucene.search.DocIdSet
This method is a hint for CachingWrapperFilter, if this DocIdSet should be cached without copying it into a BitSet.
isCacheable() - Method in class org.apache.lucene.search.FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet
This DocIdSet implementation is cacheable.
isCacheable() - Method in class org.apache.lucene.search.FilteredDocIdSet
This DocIdSet implementation is cacheable if the inner set is cacheable.
isCacheable() - Method in class org.apache.lucene.util.DocIdBitSet
This DocIdSet implementation is cacheable.
isCacheable() - Method in class org.apache.lucene.util.OpenBitSet
This DocIdSet implementation is cacheable.
isCacheable() - Method in class org.apache.lucene.util.SortedVIntList
This DocIdSet implementation is cacheable.
isCFSFile(String) - Method in class org.apache.lucene.index.IndexFileNameFilter
Returns true if this is a file that would be contained in a CFS file.
isCompressed - Variable in class org.apache.lucene.document.AbstractField
 
isCompressed() - Method in class org.apache.lucene.document.AbstractField
True if the value of the field is stored and compressed within the index
isCompressed() - Method in interface org.apache.lucene.document.Fieldable
True if the value of the field is stored and compressed within the index
isCoordDisabled() - Method in class org.apache.lucene.search.BooleanQuery
Returns true iff Similarity.coord(int,int) is disabled in scoring for this query instance.
isCurrent() - Method in class org.apache.lucene.index.FilterIndexReader
 
isCurrent() - Method in class org.apache.lucene.index.IndexReader
Check whether any new changes have occurred to the index since this reader was opened.
isCurrent() - Method in class org.apache.lucene.index.MultiReader
Checks recursively if all subreaders are up to date.
isCurrent() - Method in class org.apache.lucene.index.ParallelReader
Checks recursively if all subreaders are up to date.
isDeleted(int) - Method in class org.apache.lucene.index.AbstractAllTermDocs
 
isDeleted(int) - Method in class org.apache.lucene.index.FilterIndexReader
 
isDeleted() - Method in class org.apache.lucene.index.IndexCommit
 
isDeleted(int) - Method in class org.apache.lucene.index.IndexReader
Returns true if document n has been deleted
isDeleted(int) - Method in class org.apache.lucene.index.MultiReader
 
isDeleted(int) - Method in class org.apache.lucene.index.ParallelReader
 
isDeleted(int) - Method in class org.apache.lucene.index.SegmentReader
 
isEmpty() - Method in class org.apache.lucene.analysis.CharArraySet
 
isEmpty() - Method in class org.apache.lucene.util.OpenBitSet
Returns true if there are no set bits
isGreedy() - Method in class org.apache.lucene.search.TimeLimitedCollector
Deprecated. Checks if this time limited collector is greedy in collecting the last hit.
isGreedy() - Method in class org.apache.lucene.search.TimeLimitingCollector
Checks if this time limited collector is greedy in collecting the last hit.
isIgnoringOffsets() - Method in class org.apache.lucene.index.TermVectorMapper
 
isIgnoringPositions() - Method in class org.apache.lucene.index.PositionBasedTermVectorMapper
Never ignores positions.
isIgnoringPositions() - Method in class org.apache.lucene.index.TermVectorMapper
Indicate to Lucene that even if there are positions stored, this mapper is not interested in them and they can be skipped over.
isInclusive() - Method in class org.apache.lucene.search.RangeQuery
Deprecated. Returns true if the range query is inclusive
isIndexed - Variable in class org.apache.lucene.document.AbstractField
 
isIndexed() - Method in class org.apache.lucene.document.AbstractField
True iff the value of the field is to be indexed, so that it may be searched on.
isIndexed() - Method in interface org.apache.lucene.document.Fieldable
True if the value of the field is to be indexed, so that it may be searched on.
isInOrder() - Method in class org.apache.lucene.search.spans.SpanNearQuery
Return true if matches are required to be in-order.
isLazy() - Method in class org.apache.lucene.document.AbstractField
 
isLazy() - Method in interface org.apache.lucene.document.Fieldable
Indicates whether a Field is Lazy or not.
isLocked(Directory) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Please use IndexWriter.isLocked(Directory) instead. This method will be removed in the 3.0 release.
isLocked(String) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.isLocked(Directory) instead. This method will be removed in the 3.0 release.
isLocked(Directory) - Static method in class org.apache.lucene.index.IndexWriter
Returns true iff the index in the named directory is currently locked.
isLocked(String) - Static method in class org.apache.lucene.index.IndexWriter
Deprecated. Use IndexWriter.isLocked(Directory)
isLocked() - Method in class org.apache.lucene.store.Lock
Returns true if the resource is currently locked.
isMatch() - Method in class org.apache.lucene.search.ComplexExplanation
Indicates whether or not this Explanation models a good match.
isMatch() - Method in class org.apache.lucene.search.Explanation
Indicates whether or not this Explanation models a good match.
ISOLatin1AccentFilter - Class in org.apache.lucene.analysis
Deprecated. in favor of ASCIIFoldingFilter which covers a superset of Latin 1. This class will be removed in Lucene 3.0.
ISOLatin1AccentFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.ISOLatin1AccentFilter
Deprecated.  
isOpen - Variable in class org.apache.lucene.store.Directory
 
isOpen - Variable in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput.Descriptor
 
isOptimized() - Method in class org.apache.lucene.index.FilterIndexReader
 
isOptimized() - Method in class org.apache.lucene.index.IndexCommit
Returns true if this commit is an optimized index.
isOptimized() - Method in class org.apache.lucene.index.IndexReader
Checks is the index is optimized (if it has a single segment and no deletions).
isOptimized() - Method in class org.apache.lucene.index.MultiReader
 
isOptimized() - Method in class org.apache.lucene.index.ParallelReader
Checks recursively if all subindexes are optimized
isPayloadAvailable() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermPositions
 
isPayloadAvailable() - Method in class org.apache.lucene.index.MultipleTermPositions
 
isPayloadAvailable() - Method in interface org.apache.lucene.index.TermPositions
Checks if a payload can be loaded at this position.
isPayloadAvailable() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
isPayloadAvailable() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
 
isPayloadAvailable() - Method in class org.apache.lucene.search.spans.Spans
Checks if a payload can be loaded at this position.
isPayloadAvailable() - Method in class org.apache.lucene.search.spans.TermSpans
 
isPowerOfTwo(int) - Static method in class org.apache.lucene.util.BitUtil
returns true if v is a power of two or zero
isPowerOfTwo(long) - Static method in class org.apache.lucene.util.BitUtil
returns true if v is a power of two or zero
isProhibited() - Method in class org.apache.lucene.search.BooleanClause
 
isReplaceInvalidAcronym() - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. This will be removed (hardwired to true) in 3.0
isReplaceInvalidAcronym() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
Deprecated. Remove in 3.X and make true the only valid value
isRequired() - Method in class org.apache.lucene.search.BooleanClause
 
isStored - Variable in class org.apache.lucene.document.AbstractField
 
isStored() - Method in class org.apache.lucene.document.AbstractField
True iff the value of the field is to be stored in the index for return with search hits.
isStored() - Method in interface org.apache.lucene.document.Fieldable
True if the value of the field is to be stored in the index for return with search hits.
isStoreOffsetWithTermVector() - Method in class org.apache.lucene.document.AbstractField
True iff terms are stored as term vector together with their offsets (start and end position in source text).
isStoreOffsetWithTermVector() - Method in interface org.apache.lucene.document.Fieldable
True if terms are stored as term vector together with their offsets (start and end positon in source text).
isStorePositionWithTermVector() - Method in class org.apache.lucene.document.AbstractField
True iff terms are stored as term vector together with their token positions.
isStorePositionWithTermVector() - Method in interface org.apache.lucene.document.Fieldable
True if terms are stored as term vector together with their token positions.
isStrict() - Method in class org.apache.lucene.search.function.CustomScoreQuery
Checks if this is strict custom scoring.
isTermVectorStored() - Method in class org.apache.lucene.document.AbstractField
True iff the term or terms used to index this field are stored as a term vector, available from IndexReader.getTermFreqVector(int,String).
isTermVectorStored() - Method in interface org.apache.lucene.document.Fieldable
True if 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).
isTokenized - Variable in class org.apache.lucene.document.AbstractField
 
isTokenized() - Method in class org.apache.lucene.document.AbstractField
True iff the value of the field should be tokenized as text prior to indexing.
isTokenized() - Method in interface org.apache.lucene.document.Fieldable
True if the value of the field should be tokenized as text prior to indexing.
iter - Variable in class org.apache.lucene.analysis.SinkTokenizer
Deprecated.  
iterator() - Method in class org.apache.lucene.analysis.CharArraySet
 
iterator() - Method in class org.apache.lucene.search.DisjunctionMaxQuery
An Iterator over the disjuncts
iterator() - Method in class org.apache.lucene.search.DocIdSet
Provides a DocIdSetIterator to access the set.
iterator() - Method in class org.apache.lucene.search.FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet
 
iterator() - Method in class org.apache.lucene.search.FilteredDocIdSet
Implementation of the contract to build a DocIdSetIterator.
iterator() - Method in class org.apache.lucene.search.Hits
Deprecated. Returns a HitIterator to navigate the Hits.
iterator() - Method in class org.apache.lucene.util.DocIdBitSet
 
iterator() - Method in class org.apache.lucene.util.OpenBitSet
 
iterator() - Method in class org.apache.lucene.util.SortedVIntList
 

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_VENDOR - Static variable in class org.apache.lucene.util.Constants
 
JAVA_VERSION - Static variable in class org.apache.lucene.util.Constants
The value of System.getProperty("java.version").
jj_nt - Variable in class org.apache.lucene.queryParser.QueryParser
Next token.
jjFillToken() - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
 
jjnewLexState - Static variable in class org.apache.lucene.queryParser.QueryParserTokenManager
Lex State array.
jjstrLiteralImages - Static variable in class org.apache.lucene.queryParser.QueryParserTokenManager
Token literal values.
JRE_IS_64BIT - Static variable in class org.apache.lucene.util.Constants
 

K

KeepOnlyLastCommitDeletionPolicy - Class in org.apache.lucene.index
This IndexDeletionPolicy implementation that keeps only the most recent commit and immediately removes all prior commits after a new commit is done.
KeepOnlyLastCommitDeletionPolicy() - Constructor for class org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy
 
keySet() - Method in class org.apache.lucene.util.cache.SimpleMapCache
Returns a Set containing all keys in this cache.
KeywordAnalyzer - Class in org.apache.lucene.analysis
"Tokenizes" the entire stream as a single token.
KeywordAnalyzer() - Constructor for class org.apache.lucene.analysis.KeywordAnalyzer
 
KeywordTokenizer - Class in org.apache.lucene.analysis
Emits the entire input as a single token.
KeywordTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.KeywordTokenizer
 
KeywordTokenizer(Reader, int) - Constructor for class org.apache.lucene.analysis.KeywordTokenizer
 
KeywordTokenizer(AttributeSource, Reader, int) - Constructor for class org.apache.lucene.analysis.KeywordTokenizer
 
KeywordTokenizer(AttributeSource.AttributeFactory, Reader, int) - Constructor for class org.apache.lucene.analysis.KeywordTokenizer
 
kind - Variable in class org.apache.lucene.queryParser.Token
An integer that describes the kind of this token.

L

lastModified(String) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.lastModified(Directory) instead. This method will be removed in the 3.0 release.
lastModified(File) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.lastModified(Directory) instead. This method will be removed in the 3.0 release.
lastModified(Directory) - Static method in class org.apache.lucene.index.IndexReader
Returns the time the index in the named directory was last modified.
lazy - Variable in class org.apache.lucene.document.AbstractField
 
LAZY_LOAD - Static variable in class org.apache.lucene.document.FieldSelectorResult
Lazily load this Field.
length - Variable in class org.apache.lucene.index.Payload
the length of the payload data
length() - Method in class org.apache.lucene.index.Payload
Returns the length of the payload data.
length() - Method in class org.apache.lucene.search.HitIterator
Deprecated. Returns the total number of hits.
length() - Method in class org.apache.lucene.search.Hits
Deprecated. Returns the total number of hits available in this set.
length() - Method in class org.apache.lucene.store.BufferedIndexOutput
The number of bytes in the file.
length() - Method in class org.apache.lucene.store.ChecksumIndexInput
 
length() - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
length() - Method in class org.apache.lucene.store.IndexInput
The number of bytes in the file.
length() - Method in class org.apache.lucene.store.IndexOutput
The number of bytes in the file.
length() - Method in class org.apache.lucene.store.RAMOutputStream
 
length() - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
length() - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexOutput
 
length - Variable in class org.apache.lucene.util.UnicodeUtil.UTF16Result
 
length - Variable in class org.apache.lucene.util.UnicodeUtil.UTF8Result
 
LengthFilter - Class in org.apache.lucene.analysis
Removes words that are too long or too short from the stream.
LengthFilter(TokenStream, int, int) - Constructor for class org.apache.lucene.analysis.LengthFilter
Build a filter that removes words that are too long or too short from the text.
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.
lengthNorm(String, int) - Method in class org.apache.lucene.search.SimilarityDelegator
 
Less(String, String) - Static method in class org.apache.lucene.search.RangeFilter
Deprecated. Constructs a filter for field fieldName matching less than or equal to upperTerm.
Less(String, String) - Static method in class org.apache.lucene.search.TermRangeFilter
Constructs a filter for field fieldName matching less than or equal to upperTerm.
lessThan(Object, Object) - Method in class org.apache.lucene.search.FieldSortedHitQueue
Deprecated. Returns whether a is less relevant than b.
lessThan(Object, Object) - Method in class org.apache.lucene.search.FieldValueHitQueue
 
lessThan(Object, Object) - Method in class org.apache.lucene.search.FuzzyQuery.ScoreTermQueue
 
lessThan(Object, Object) - Method in class org.apache.lucene.util.PriorityQueue
Determines the ordering of objects in this priority queue.
LetterTokenizer - Class in org.apache.lucene.analysis
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.
LetterTokenizer(AttributeSource, Reader) - Constructor for class org.apache.lucene.analysis.LetterTokenizer
Construct a new LetterTokenizer using a given AttributeSource.
LetterTokenizer(AttributeSource.AttributeFactory, Reader) - Constructor for class org.apache.lucene.analysis.LetterTokenizer
Construct a new LetterTokenizer using a given AttributeSource.AttributeFactory.
LEVEL_LOG_SPAN - Static variable in class org.apache.lucene.index.LogMergePolicy
Defines the allowed range of log(size) for each level.
LexicalError(boolean, int, int, int, String, char) - Static method in error 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.
lexStateNames - Static variable in class org.apache.lucene.queryParser.QueryParserTokenManager
Lexer state names.
LIMITED - Static variable in class org.apache.lucene.index.IndexWriter.MaxFieldLength
Sets the maximum field length to IndexWriter.DEFAULT_MAX_FIELD_LENGTH
LINUX - Static variable in class org.apache.lucene.util.Constants
True iff running on Linux.
list() - Method in class org.apache.lucene.store.Directory
Deprecated. For some Directory implementations (FSDirectory, and its subclasses), this method silently filters its results to include only index files. Please use Directory.listAll() instead, which does no filtering.
list() - Method in class org.apache.lucene.store.FileSwitchDirectory
 
list() - Method in class org.apache.lucene.store.FSDirectory
 
list() - Method in class org.apache.lucene.store.RAMDirectory
 
listAll() - Method in class org.apache.lucene.store.Directory
Returns an array of strings, one for each file in the directory.
listAll() - Method in class org.apache.lucene.store.FileSwitchDirectory
 
listAll(File) - Static method in class org.apache.lucene.store.FSDirectory
Lists all files (not subdirectories) in the directory.
listAll() - Method in class org.apache.lucene.store.FSDirectory
Lists all files (not subdirectories) in the directory.
listAll() - Method in class org.apache.lucene.store.RAMDirectory
 
listCommits(Directory) - Static method in class org.apache.lucene.index.IndexReader
Returns all commit points that exist in the Directory.
LOAD - Static variable in class org.apache.lucene.document.FieldSelectorResult
Load this Field every time the Document is loaded, reading in the data as it is encountered.
LOAD_AND_BREAK - Static variable in class org.apache.lucene.document.FieldSelectorResult
Load this field as in the FieldSelectorResult.LOAD case, but immediately return from Field loading for the Document.
LOAD_FOR_MERGE - Static variable in class org.apache.lucene.document.FieldSelectorResult
Deprecated. This is an internal option only, and is no longer needed now that CompressionTools is used for field compression.
LoadFirstFieldSelector - Class in org.apache.lucene.document
Load the First field and break.
LoadFirstFieldSelector() - Constructor for class org.apache.lucene.document.LoadFirstFieldSelector
 
Lock - Class in org.apache.lucene.store
An interprocess mutex lock.
Lock() - Constructor for class org.apache.lucene.store.Lock
 
Lock.With - Class in org.apache.lucene.store
Utility class for executing code with exclusive access.
Lock.With(Lock, long) - Constructor for class org.apache.lucene.store.Lock.With
Constructs an executor that will grab the named lock.
LOCK_DIR - Static variable in class org.apache.lucene.store.FSDirectory
Deprecated. As of 2.1, LOCK_DIR is unused because the write.lock is now stored by default in the index directory. If you really want to store locks elsewhere, you can create your own SimpleFSLockFactory (or NativeFSLockFactory, etc.) passing in your preferred lock directory. Then, pass this LockFactory instance to one of the open methods that take a lockFactory (for example, FSDirectory.open(File, LockFactory)).
LOCK_OBTAIN_WAIT_FOREVER - Static variable in class org.apache.lucene.store.Lock
Pass this value to Lock.obtain(long) to try forever to obtain the lock.
LOCK_POLL_INTERVAL - Static variable in class org.apache.lucene.store.Lock
How long Lock.obtain(long) waits, in milliseconds, in between attempts to acquire the lock.
lockDir - Variable in class org.apache.lucene.store.FSLockFactory
Directory for the lock files.
lockFactory - Variable in class org.apache.lucene.store.Directory
Holds the LockFactory instance (implements locking for this Directory instance).
LockFactory - Class in org.apache.lucene.store
Base class for Locking implementation.
LockFactory() - Constructor for class org.apache.lucene.store.LockFactory
 
LockObtainFailedException - Exception in org.apache.lucene.store
This exception is thrown when the write.lock could not be acquired.
LockObtainFailedException(String) - Constructor for exception org.apache.lucene.store.LockObtainFailedException
 
lockPrefix - Variable in class org.apache.lucene.store.LockFactory
 
LockReleaseFailedException - Exception in org.apache.lucene.store
This exception is thrown when the write.lock could not be released.
LockReleaseFailedException(String) - Constructor for exception org.apache.lucene.store.LockReleaseFailedException
 
LockStressTest - Class in org.apache.lucene.store
Simple standalone tool that forever acquires & releases a lock using a specific LockFactory.
LockStressTest() - Constructor for class org.apache.lucene.store.LockStressTest
 
LockVerifyServer - Class in org.apache.lucene.store
Simple standalone server that must be running when you use VerifyingLockFactory.
LockVerifyServer() - Constructor for class org.apache.lucene.store.LockVerifyServer
 
LogByteSizeMergePolicy - Class in org.apache.lucene.index
This is a LogMergePolicy that measures size of a segment as the total byte size of the segment's files.
LogByteSizeMergePolicy(IndexWriter) - Constructor for class org.apache.lucene.index.LogByteSizeMergePolicy
 
LogDocMergePolicy - Class in org.apache.lucene.index
This is a LogMergePolicy that measures size of a segment as the number of documents (not taking deletions into account).
LogDocMergePolicy(IndexWriter) - Constructor for class org.apache.lucene.index.LogDocMergePolicy
 
LogMergePolicy - Class in org.apache.lucene.index
This class implements a MergePolicy that tries to merge segments into levels of exponentially increasing size, where each level has fewer segments than the value of the merge factor.
LogMergePolicy(IndexWriter) - Constructor for class org.apache.lucene.index.LogMergePolicy
 
LONG - Static variable in class org.apache.lucene.search.SortField
Sort using term values as encoded Longs.
longToPrefixCoded(long, int, char[]) - Static method in class org.apache.lucene.util.NumericUtils
Expert: Returns prefix coded bits after reducing the precision by shift bits.
longToPrefixCoded(long, int) - Static method in class org.apache.lucene.util.NumericUtils
Expert: Returns prefix coded bits after reducing the precision by shift bits.
longToPrefixCoded(long) - Static method in class org.apache.lucene.util.NumericUtils
This is a convenience method, that returns prefix coded bits of a long without reducing the precision.
longToString(long) - Static method in class org.apache.lucene.document.NumberTools
Deprecated. Converts a long to a String suitable for indexing.
longVal(int) - Method in class org.apache.lucene.search.function.DocValues
Return doc value as a long.
lookup - Variable in class org.apache.lucene.search.FieldCache.StringIndex
All the term values, in natural order.
LowerCaseFilter - Class in org.apache.lucene.analysis
Normalizes token text to lower case.
LowerCaseFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.LowerCaseFilter
 
LowerCaseTokenizer - Class in org.apache.lucene.analysis
LowerCaseTokenizer performs the function of LetterTokenizer and LowerCaseFilter together.
LowerCaseTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.LowerCaseTokenizer
Construct a new LowerCaseTokenizer.
LowerCaseTokenizer(AttributeSource, Reader) - Constructor for class org.apache.lucene.analysis.LowerCaseTokenizer
Construct a new LowerCaseTokenizer using a given AttributeSource.
LowerCaseTokenizer(AttributeSource.AttributeFactory, Reader) - Constructor for class org.apache.lucene.analysis.LowerCaseTokenizer
Construct a new LowerCaseTokenizer using a given AttributeSource.AttributeFactory.
LPAREN - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
lst - Variable in class org.apache.lucene.analysis.SinkTokenizer
Deprecated.  
LUCENE_20 - Static variable in class org.apache.lucene.util.Version
Match settings and bugs in Lucene's 2.0 release.
LUCENE_21 - Static variable in class org.apache.lucene.util.Version
Match settings and bugs in Lucene's 2.1 release.
LUCENE_22 - Static variable in class org.apache.lucene.util.Version
Match settings and bugs in Lucene's 2.2 release.
LUCENE_23 - Static variable in class org.apache.lucene.util.Version
Match settings and bugs in Lucene's 2.3 release.
LUCENE_24 - Static variable in class org.apache.lucene.util.Version
Match settings and bugs in Lucene's 2.4 release.
LUCENE_29 - Static variable in class org.apache.lucene.util.Version
Match settings and bugs in Lucene's 2.9 release.
LUCENE_CURRENT - Static variable in class org.apache.lucene.util.Version
Deprecated. Use an actual version instead.
LUCENE_MAIN_VERSION - Static variable in class org.apache.lucene.util.Constants
 
LUCENE_VERSION - Static variable in class org.apache.lucene.util.Constants
 
LucenePackage - Class in org.apache.lucene
Lucene's package information, including version.

M

main(String[]) - Static method in class org.apache.lucene.index.CheckIndex
Command-line interface to check and fix an index.
main(String[]) - Static method in class org.apache.lucene.index.IndexReader
Prints the filename and size of each file within a given compound file.
main(String[]) - Static method in class org.apache.lucene.queryParser.QueryParser
Command line tool to test QueryParser, using SimpleAnalyzer.
main(String[]) - Static method in class org.apache.lucene.store.LockStressTest
 
main(String[]) - Static method in class org.apache.lucene.store.LockVerifyServer
 
makeLock(String) - Method in class org.apache.lucene.store.Directory
Construct a Lock.
makeLock(String) - Method in class org.apache.lucene.store.LockFactory
Return a new Lock instance identified by lockName.
makeLock(String) - Method in class org.apache.lucene.store.NativeFSLockFactory
 
makeLock(String) - Method in class org.apache.lucene.store.NoLockFactory
 
makeLock(String) - Method in class org.apache.lucene.store.SimpleFSLockFactory
 
makeLock(String) - Method in class org.apache.lucene.store.SingleInstanceLockFactory
 
makeLock(String) - Method in class org.apache.lucene.store.VerifyingLockFactory
 
makeOneMerge(SegmentInfos, SegmentInfos) - Method in class org.apache.lucene.index.LogMergePolicy
 
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.
makeStopSet(List) - 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.
makeStopSet(String[], boolean) - Static method in class org.apache.lucene.analysis.StopFilter
 
makeStopSet(List, boolean) - Static method in class org.apache.lucene.analysis.StopFilter
 
manager - Static variable in class org.apache.lucene.search.FilterManager
 
map(String, int, TermVectorOffsetInfo[], int[]) - Method in class org.apache.lucene.index.FieldSortedTermVectorMapper
 
map(String, int, TermVectorOffsetInfo[], int[]) - Method in class org.apache.lucene.index.PositionBasedTermVectorMapper
Callback for the TermVectorReader.
map(String, int, TermVectorOffsetInfo[], int[]) - Method in class org.apache.lucene.index.SortedTermVectorMapper
 
map(String, int, TermVectorOffsetInfo[], int[]) - Method in class org.apache.lucene.index.TermVectorMapper
Map the Term Vector information into your own structure
MapFieldSelector - Class in org.apache.lucene.document
A FieldSelector based on a Map of field names to FieldSelectorResults
MapFieldSelector(Map) - Constructor for class org.apache.lucene.document.MapFieldSelector
Create a a MapFieldSelector
MapFieldSelector(List) - Constructor for class org.apache.lucene.document.MapFieldSelector
Create a a MapFieldSelector
MapFieldSelector(String[]) - Constructor for class org.apache.lucene.document.MapFieldSelector
Create a a MapFieldSelector
MapOfSets - Class in org.apache.lucene.util
Helper class for keeping Lists of Objects associated with keys.
MapOfSets(Map) - Constructor for class org.apache.lucene.util.MapOfSets
 
MappingCharFilter - Class in org.apache.lucene.analysis
Simplistic CharFilter that applies the mappings contained in a NormalizeCharMap to the character stream, and correcting the resulting changes to the offsets.
MappingCharFilter(NormalizeCharMap, CharStream) - Constructor for class org.apache.lucene.analysis.MappingCharFilter
Default constructor that takes a CharStream.
MappingCharFilter(NormalizeCharMap, Reader) - Constructor for class org.apache.lucene.analysis.MappingCharFilter
Easy-use constructor that takes a Reader.
mark(int) - Method in class org.apache.lucene.analysis.CharFilter
 
mark(int) - Method in class org.apache.lucene.analysis.CharReader
 
markSupported() - Method in class org.apache.lucene.analysis.CharFilter
 
markSupported() - Method in class org.apache.lucene.analysis.CharReader
 
match(int) - Method in class org.apache.lucene.search.FilteredDocIdSet
Validation method to determine whether a docid should be in the result set.
match(int) - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
Validation method to determine whether a docid should be in the result set.
MatchAllDocsQuery - Class in org.apache.lucene.search
A query that matches all documents.
MatchAllDocsQuery() - Constructor for class org.apache.lucene.search.MatchAllDocsQuery
 
MatchAllDocsQuery(String) - Constructor for class org.apache.lucene.search.MatchAllDocsQuery
 
MAX_DATE_STRING() - Static method in class org.apache.lucene.document.DateField
Deprecated.  
MAX_STRING_VALUE - Static variable in class org.apache.lucene.document.NumberTools
Deprecated. Equivalent to longToString(Long.MAX_VALUE)
MAX_TERM_LENGTH - Static variable in class org.apache.lucene.index.IndexWriter
Absolute hard maximum length for a term.
maxBufferedDocs - Variable in class org.apache.lucene.index.IndexModifier
Deprecated.  
maxDoc - Variable in class org.apache.lucene.index.AbstractAllTermDocs
 
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.IndexWriter
Returns total number of docs in this index, including docs not yet flushed (still in the RAM buffer), not counting deletions.
maxDoc() - Method in class org.apache.lucene.index.MultiReader
 
maxDoc() - Method in class org.apache.lucene.index.ParallelReader
 
maxDoc() - Method in class org.apache.lucene.index.SegmentReader
 
maxDoc() - Method in class org.apache.lucene.search.IndexSearcher
 
maxDoc() - Method in class org.apache.lucene.search.MultiSearcher
 
maxDoc() - Method in interface org.apache.lucene.search.Searchable
Expert: Returns one greater than the largest possible document number.
maxDoc() - Method in class org.apache.lucene.search.Searcher
 
maxFieldLength - Variable in class org.apache.lucene.index.IndexModifier
Deprecated.  
MaxPayloadFunction - Class in org.apache.lucene.search.payloads
Returns the maximum payload score seen, else 1 if there are no payloads on the doc.
MaxPayloadFunction() - Constructor for class org.apache.lucene.search.payloads.MaxPayloadFunction
 
maxscore - Variable in class org.apache.lucene.search.FieldSortedHitQueue
Deprecated. Stores the maximum score value encountered, needed for normalizing.
maybeMerge() - Method in class org.apache.lucene.index.IndexWriter
Expert: asks the mergePolicy whether any merges are necessary now and if so, runs the requested merges and then iterate (test again if merges are needed) until no more merges are returned by the mergePolicy.
MemoryModel - Class in org.apache.lucene.util
Returns primitive memory sizes for estimating RAM usage.
MemoryModel() - Constructor for class org.apache.lucene.util.MemoryModel
 
merge(IndexWriter) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
 
merge(IndexWriter) - Method in class org.apache.lucene.index.SerialMergeScheduler
Just do the merges in sequence.
mergeBooleanQueries(BooleanQuery[]) - 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.IndexModifier
Deprecated.  
MergePolicy - Class in org.apache.lucene.index
Expert: a MergePolicy determines the sequence of primitive merge operations to be used for overall merge and optimize operations.
MergePolicy(IndexWriter) - Constructor for class org.apache.lucene.index.MergePolicy
 
MergePolicy.MergeAbortedException - Exception in org.apache.lucene.index
 
MergePolicy.MergeAbortedException() - Constructor for exception org.apache.lucene.index.MergePolicy.MergeAbortedException
 
MergePolicy.MergeAbortedException(String) - Constructor for exception org.apache.lucene.index.MergePolicy.MergeAbortedException
 
MergePolicy.MergeException - Exception in org.apache.lucene.index
Exception thrown if there are any problems while executing a merge.
MergePolicy.MergeException(String) - Constructor for exception org.apache.lucene.index.MergePolicy.MergeException
Deprecated. Use MergePolicy.MergeException.MergePolicy.MergeException(String,Directory) instead
MergePolicy.MergeException(String, Directory) - Constructor for exception org.apache.lucene.index.MergePolicy.MergeException
 
MergePolicy.MergeException(Throwable) - Constructor for exception org.apache.lucene.index.MergePolicy.MergeException
Deprecated. Use MergePolicy.MergeException.MergePolicy.MergeException(Throwable,Directory) instead
MergePolicy.MergeException(Throwable, Directory) - Constructor for exception org.apache.lucene.index.MergePolicy.MergeException
 
MergePolicy.MergeSpecification - Class in org.apache.lucene.index
A MergeSpecification instance provides the information necessary to perform multiple merges.
MergePolicy.MergeSpecification() - Constructor for class org.apache.lucene.index.MergePolicy.MergeSpecification
 
MergePolicy.OneMerge - Class in org.apache.lucene.index
OneMerge provides the information necessary to perform an individual primitive merge operation, resulting in a single new segment.
MergePolicy.OneMerge(SegmentInfos, boolean) - Constructor for class org.apache.lucene.index.MergePolicy.OneMerge
 
merges - Variable in class org.apache.lucene.index.MergePolicy.MergeSpecification
The subset of segments to be included in the primitive merge.
MergeScheduler - Class in org.apache.lucene.index
Expert: IndexWriter uses an instance implementing this interface to execute the merges selected by a MergePolicy.
MergeScheduler() - Constructor for class org.apache.lucene.index.MergeScheduler
 
mergeSort(int, int) - Method in class org.apache.lucene.util.SorterTemplate
 
mergeThreadCount - Variable in class org.apache.lucene.index.ConcurrentMergeScheduler
 
mergeThreads - Variable in class org.apache.lucene.index.ConcurrentMergeScheduler
 
message(String) - Method in class org.apache.lucene.index.IndexWriter
Prints a message to the infoStream (if non-null), prefixed with the identifying information for this writer and the thread that's calling it.
Message - Interface in org.apache.lucene.messages
Message Interface for a lazy loading.
MessageImpl - Class in org.apache.lucene.messages
Default implementation of Message interface.
MessageImpl(String) - Constructor for class org.apache.lucene.messages.MessageImpl
 
MessageImpl(String, Object[]) - Constructor for class org.apache.lucene.messages.MessageImpl
 
MILLISECOND - Static variable in class org.apache.lucene.document.DateTools.Resolution
 
MIN_DATE_STRING() - Static method in class org.apache.lucene.document.DateField
Deprecated.  
MIN_STRING_VALUE - Static variable in class org.apache.lucene.document.NumberTools
Deprecated. Equivalent to longToString(Long.MIN_VALUE)
minNrShouldMatch - Variable in class org.apache.lucene.search.BooleanQuery
 
MinPayloadFunction - Class in org.apache.lucene.search.payloads
Calculates the minimum payload seen
MinPayloadFunction() - Constructor for class org.apache.lucene.search.payloads.MinPayloadFunction
 
MINUS - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
MINUTE - Static variable in class org.apache.lucene.document.DateTools.Resolution
 
missingSegments - Variable in class org.apache.lucene.index.CheckIndex.Status
True if we were unable to locate and load the segments_N file.
missingSegmentVersion - Variable in class org.apache.lucene.index.CheckIndex.Status
True if we were unable to read the version number from segments_N file.
MMapDirectory - Class in org.apache.lucene.store
File-based Directory implementation that uses mmap for reading, and SimpleFSDirectory.SimpleFSIndexOutput for writing.
MMapDirectory(File, LockFactory) - Constructor for class org.apache.lucene.store.MMapDirectory
Create a new MMapDirectory for the named location.
MMapDirectory(File) - Constructor for class org.apache.lucene.store.MMapDirectory
Create a new MMapDirectory for the named location and NativeFSLockFactory.
Modifiers() - Method in class org.apache.lucene.queryParser.QueryParser
 
MONTH - Static variable in class org.apache.lucene.document.DateTools.Resolution
 
More(String, String) - Static method in class org.apache.lucene.search.RangeFilter
Deprecated. Constructs a filter for field fieldName matching greater than or equal to lowerTerm.
more - Variable in class org.apache.lucene.search.spans.SpanScorer
 
More(String, String) - Static method in class org.apache.lucene.search.TermRangeFilter
Constructs a filter for field fieldName matching greater than or equal to lowerTerm.
MultiFieldQueryParser - Class in org.apache.lucene.queryParser
A QueryParser which constructs queries to search multiple fields.
MultiFieldQueryParser(String[], Analyzer, Map) - Constructor for class org.apache.lucene.queryParser.MultiFieldQueryParser
Deprecated. Please use MultiFieldQueryParser.MultiFieldQueryParser(Version, String[], Analyzer, Map) instead
MultiFieldQueryParser(Version, String[], Analyzer, Map) - Constructor for class org.apache.lucene.queryParser.MultiFieldQueryParser
Creates a MultiFieldQueryParser.
MultiFieldQueryParser(String[], Analyzer) - Constructor for class org.apache.lucene.queryParser.MultiFieldQueryParser
Deprecated. Please use MultiFieldQueryParser.MultiFieldQueryParser(Version, String[], Analyzer) instead
MultiFieldQueryParser(Version, String[], Analyzer) - Constructor for class org.apache.lucene.queryParser.MultiFieldQueryParser
Creates a MultiFieldQueryParser.
MultiPhraseQuery - Class in org.apache.lucene.search
MultiPhraseQuery is a generalized version of PhraseQuery, with an added method MultiPhraseQuery.add(Term[]).
MultiPhraseQuery() - Constructor for class org.apache.lucene.search.MultiPhraseQuery
 
MultipleTermPositions - Class in org.apache.lucene.index
Allows you to iterate over the TermPositions for multiple Terms as a single TermPositions.
MultipleTermPositions(IndexReader, Term[]) - Constructor for class org.apache.lucene.index.MultipleTermPositions
Creates a new MultipleTermPositions instance.
MultiReader - Class in org.apache.lucene.index
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.
MultiReader(IndexReader[], boolean) - Constructor for class org.apache.lucene.index.MultiReader
Construct a MultiReader aggregating the named set of (sub)readers.
MultiSearcher - Class in org.apache.lucene.search
Implements search over a set of Searchables.
MultiSearcher(Searchable[]) - Constructor for class org.apache.lucene.search.MultiSearcher
Creates a searcher which searches searchers.
MultiTermQuery - Class in org.apache.lucene.search
An abstract Query that matches documents containing a subset of terms provided by a FilteredTermEnum enumeration.
MultiTermQuery(Term) - Constructor for class org.apache.lucene.search.MultiTermQuery
Deprecated. check sub class for possible term access - the Term does not make sense for all MultiTermQuerys and will be removed.
MultiTermQuery() - Constructor for class org.apache.lucene.search.MultiTermQuery
Constructs a query matching terms that cannot be represented with a single Term.
MultiTermQuery.ConstantScoreAutoRewrite - Class in org.apache.lucene.search
A rewrite method that tries to pick the best constant-score rewrite method based on term and document counts from the query.
MultiTermQuery.ConstantScoreAutoRewrite() - Constructor for class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
 
MultiTermQuery.RewriteMethod - Class in org.apache.lucene.search
Abstract class that defines how the query is rewritten.
MultiTermQuery.RewriteMethod() - Constructor for class org.apache.lucene.search.MultiTermQuery.RewriteMethod
 
MultiTermQueryWrapperFilter - Class in org.apache.lucene.search
A wrapper for MultiTermQuery, that exposes its functionality as a Filter.
MultiTermQueryWrapperFilter(MultiTermQuery) - Constructor for class org.apache.lucene.search.MultiTermQueryWrapperFilter
Wrap a MultiTermQuery as a Filter.
MultiValueSource - Class in org.apache.lucene.search.function
Deprecated. This class is temporary, to ease the migration to segment-based searching. Please change your code to not pass composite readers to these APIs.
MultiValueSource(ValueSource) - Constructor for class org.apache.lucene.search.function.MultiValueSource
Deprecated.  
MUST - Static variable in class org.apache.lucene.search.BooleanClause.Occur
Use this operator for clauses that must appear in the matching documents.
MUST_NOT - Static variable in class org.apache.lucene.search.BooleanClause.Occur
Use this operator for clauses that must not appear in the matching documents.

N

name - Variable in class org.apache.lucene.document.AbstractField
 
name() - Method in class org.apache.lucene.document.AbstractField
Returns the name of the field as an interned string.
name() - Method in interface org.apache.lucene.document.Fieldable
Returns the name of the field as an interned string.
name - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Name of the segment.
name - Variable in class org.apache.lucene.index.SegmentInfo
 
name() - Method in class org.apache.lucene.search.function.CustomScoreQuery
A short name of this query, used in CustomScoreQuery.toString(String).
NativeFSLockFactory - Class in org.apache.lucene.store
Implements LockFactory using native OS file locks.
NativeFSLockFactory() - Constructor for class org.apache.lucene.store.NativeFSLockFactory
Create a NativeFSLockFactory instance, with null (unset) lock directory.
NativeFSLockFactory(String) - Constructor for class org.apache.lucene.store.NativeFSLockFactory
Create a NativeFSLockFactory instance, storing lock files into the specified lockDirName:
NativeFSLockFactory(File) - Constructor for class org.apache.lucene.store.NativeFSLockFactory
Create a NativeFSLockFactory instance, storing lock files into the specified lockDir:
NearSpansOrdered - Class in org.apache.lucene.search.spans
A Spans that is formed from the ordered subspans of a SpanNearQuery where the subspans do not overlap and have a maximum slop between them.
NearSpansOrdered(SpanNearQuery, IndexReader) - Constructor for class org.apache.lucene.search.spans.NearSpansOrdered
 
NearSpansOrdered(SpanNearQuery, IndexReader, boolean) - Constructor for class org.apache.lucene.search.spans.NearSpansOrdered
 
NearSpansUnordered - Class in org.apache.lucene.search.spans
Similar to NearSpansOrdered, but for the unordered case.
NearSpansUnordered(SpanNearQuery, IndexReader) - Constructor for class org.apache.lucene.search.spans.NearSpansUnordered
 
newBooleanClause(Query, BooleanClause.Occur) - Method in class org.apache.lucene.queryParser.QueryParser
Builds a new BooleanClause instance
newBooleanQuery(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
Builds a new BooleanQuery instance
newBuffer(byte[]) - Method in class org.apache.lucene.store.BufferedIndexInput
 
newBuffer(byte[]) - Method in class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
 
newBuffer(int) - Method in class org.apache.lucene.store.RAMFile
Expert: allocate a new buffer.
newByteRange(String, Byte, Byte, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getBytes(IndexReader,String).
newByteRange(String, FieldCache.ByteParser, Byte, Byte, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getBytes(IndexReader,String,FieldCache.ByteParser).
newComparator(String, int, int, boolean) - Method in class org.apache.lucene.search.FieldComparatorSource
Creates a comparator for the field in the given index.
newComparator(IndexReader, String) - Method in class org.apache.lucene.search.SortComparator
Deprecated.  
newComparator(IndexReader, String) - Method in interface org.apache.lucene.search.SortComparatorSource
Deprecated. Creates a comparator for the field in the given index.
newDoubleRange(String, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getDoubles(IndexReader,String).
newDoubleRange(String, FieldCache.DoubleParser, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getDoubles(IndexReader,String,FieldCache.DoubleParser).
newDoubleRange(String, int, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
Factory that creates a NumericRangeFilter, that filters a double range using the given precisionStep.
newDoubleRange(String, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
Factory that creates a NumericRangeFilter, that queries a double range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
newDoubleRange(String, int, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
Factory that creates a NumericRangeQuery, that queries a double range using the given precisionStep.
newDoubleRange(String, Double, Double, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
Factory that creates a NumericRangeQuery, that queries a double range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
newFloatRange(String, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getFloats(IndexReader,String).
newFloatRange(String, FieldCache.FloatParser, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getFloats(IndexReader,String,FieldCache.FloatParser).
newFloatRange(String, int, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
Factory that creates a NumericRangeFilter, that filters a float range using the given precisionStep.
newFloatRange(String, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
Factory that creates a NumericRangeFilter, that queries a float range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
newFloatRange(String, int, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
Factory that creates a NumericRangeQuery, that queries a float range using the given precisionStep.
newFloatRange(String, Float, Float, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
Factory that creates a NumericRangeQuery, that queries a float range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
newFuzzyQuery(Term, float, int) - Method in class org.apache.lucene.queryParser.QueryParser
Builds a new FuzzyQuery instance
newIntRange(String, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getInts(IndexReader,String).
newIntRange(String, FieldCache.IntParser, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getInts(IndexReader,String,FieldCache.IntParser).
newIntRange(String, int, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
Factory that creates a NumericRangeFilter, that filters a int range using the given precisionStep.
newIntRange(String, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
Factory that creates a NumericRangeFilter, that queries a int range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
newIntRange(String, int, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
Factory that creates a NumericRangeQuery, that queries a int range using the given precisionStep.
newIntRange(String, Integer, Integer, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
Factory that creates a NumericRangeQuery, that queries a int range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
newLongRange(String, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getLongs(IndexReader,String).
newLongRange(String, FieldCache.LongParser, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getLongs(IndexReader,String,FieldCache.LongParser).
newLongRange(String, int, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
Factory that creates a NumericRangeFilter, that filters a long range using the given precisionStep.
newLongRange(String, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeFilter
Factory that creates a NumericRangeFilter, that queries a long range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
newLongRange(String, int, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
Factory that creates a NumericRangeQuery, that queries a long range using the given precisionStep.
newLongRange(String, Long, Long, boolean, boolean) - Static method in class org.apache.lucene.search.NumericRangeQuery
Factory that creates a NumericRangeQuery, that queries a long range using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
newMatchAllDocsQuery() - Method in class org.apache.lucene.queryParser.QueryParser
Builds a new MatchAllDocsQuery instance
newMultiPhraseQuery() - Method in class org.apache.lucene.queryParser.QueryParser
Builds a new MultiPhraseQuery instance
newPhraseQuery() - Method in class org.apache.lucene.queryParser.QueryParser
Builds a new PhraseQuery instance
newPrefixQuery(Term) - Method in class org.apache.lucene.queryParser.QueryParser
Builds a new PrefixQuery instance
newRangeQuery(String, String, String, boolean) - Method in class org.apache.lucene.queryParser.QueryParser
Builds a new TermRangeQuery instance
newShortRange(String, Short, Short, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getShorts(IndexReader,String).
newShortRange(String, FieldCache.ShortParser, Short, Short, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a numeric range query using FieldCache.getShorts(IndexReader,String,FieldCache.ShortParser).
newSinkTokenStream() - Method in class org.apache.lucene.analysis.TeeSinkTokenFilter
Returns a new TeeSinkTokenFilter.SinkTokenStream that receives all tokens consumed by this stream.
newSinkTokenStream(TeeSinkTokenFilter.SinkFilter) - Method in class org.apache.lucene.analysis.TeeSinkTokenFilter
Returns a new TeeSinkTokenFilter.SinkTokenStream that receives all tokens consumed by this stream that pass the supplied filter.
newStringRange(String, String, String, boolean, boolean) - Static method in class org.apache.lucene.search.FieldCacheRangeFilter
Creates a string range query using FieldCache.getStringIndex(org.apache.lucene.index.IndexReader, java.lang.String).
newTermQuery(Term) - Method in class org.apache.lucene.queryParser.QueryParser
Builds a new TermQuery instance
newToken(int, String) - Static method in class org.apache.lucene.queryParser.Token
Returns a new Token object, by default.
newToken(int) - Static method in class org.apache.lucene.queryParser.Token
 
newTopDocs(ScoreDoc[], int) - Method in class org.apache.lucene.search.TopDocsCollector
Returns a TopDocs instance containing the given results.
newTopDocs(ScoreDoc[], int) - Method in class org.apache.lucene.search.TopFieldCollector
 
newTopDocs(ScoreDoc[], int) - Method in class org.apache.lucene.search.TopScoreDocCollector
 
newWildcardQuery(Term) - Method in class org.apache.lucene.queryParser.QueryParser
Builds a new WildcardQuery instance
next(Token) - Method in class org.apache.lucene.analysis.CachingTokenFilter
Deprecated. Will be removed in Lucene 3.0. This method is final, as it should not be overridden. Delegates to the backwards compatibility layer.
next() - Method in class org.apache.lucene.analysis.CachingTokenFilter
Deprecated. Will be removed in Lucene 3.0. This method is final, as it should not be overridden. Delegates to the backwards compatibility layer.
next() - Method in class org.apache.lucene.analysis.CharArraySet.CharArraySetIterator
Returns the next String, as a Set would...
next(Token) - Method in class org.apache.lucene.analysis.CharTokenizer
Deprecated. Will be removed in Lucene 3.0. This method is final, as it should not be overridden. Delegates to the backwards compatibility layer.
next() - Method in class org.apache.lucene.analysis.CharTokenizer
Deprecated. Will be removed in Lucene 3.0. This method is final, as it should not be overridden. Delegates to the backwards compatibility layer.
next(Token) - Method in class org.apache.lucene.analysis.ISOLatin1AccentFilter
Deprecated. Will be removed in Lucene 3.0. This method is final, as it should not be overridden. Delegates to the backwards compatibility layer.
next() - Method in class org.apache.lucene.analysis.ISOLatin1AccentFilter
Deprecated. Will be removed in Lucene 3.0. This method is final, as it should not be overridden. Delegates to the backwards compatibility layer.
next(Token) - Method in class org.apache.lucene.analysis.KeywordTokenizer
Deprecated. Will be removed in Lucene 3.0. This method is final, as it should not be overridden. Delegates to the backwards compatibility layer.
next() - Method in class org.apache.lucene.analysis.KeywordTokenizer
Deprecated. Will be removed in Lucene 3.0. This method is final, as it should not be overridden. Delegates to the backwards compatibility layer.
next(Token) - Method in class org.apache.lucene.analysis.SinkTokenizer
Deprecated. Returns the next token out of the list of cached tokens
next(Token) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
Deprecated. Will be removed in Lucene 3.0. This method is final, as it should not be overridden. Delegates to the backwards compatibility layer.
next() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
Deprecated. Will be removed in Lucene 3.0. This method is final, as it should not be overridden. Delegates to the backwards compatibility layer.
next(Token) - Method in class org.apache.lucene.analysis.TeeTokenFilter
Deprecated.  
next(Token) - Method in class org.apache.lucene.analysis.TokenStream
Deprecated. The new TokenStream.incrementToken() and AttributeSource APIs should be used instead.
next() - Method in class org.apache.lucene.analysis.TokenStream
Deprecated. The returned Token is a "full private copy" (not re-used across calls to TokenStream.next()) but will be slower than calling TokenStream.next(Token) or using the new TokenStream.incrementToken() method with the new AttributeSource API.
next() - Method in class org.apache.lucene.index.AbstractAllTermDocs
 
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
 
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.ConstantScoreQuery.ConstantScorer
Deprecated. use ConstantScoreQuery.ConstantScorer.nextDoc() instead.
next() - Method in class org.apache.lucene.search.DocIdSetIterator
Deprecated. use DocIdSetIterator.nextDoc() instead. This will be removed in 3.0
next() - Method in class org.apache.lucene.search.FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator
Deprecated. use FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator.nextDoc() instead.
next() - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
Deprecated. use FilteredDocIdSetIterator.nextDoc() instead.
next() - Method in class org.apache.lucene.search.FilteredTermEnum
Increments the enumeration to the next element.
next() - Method in class org.apache.lucene.search.HitIterator
Deprecated. Returns a Hit instance representing the next hit in Hits.
next() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
Deprecated. use ScoreCachingWrappingScorer.nextDoc() instead.
next() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
next() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
 
next() - Method in class org.apache.lucene.search.spans.Spans
Move to the next match, returning true iff any such exists.
next() - Method in class org.apache.lucene.search.spans.SpanScorer
Deprecated. use SpanScorer.nextDoc() instead.
next() - Method in class org.apache.lucene.search.spans.TermSpans
 
next() - Method in class org.apache.lucene.util.OpenBitSetIterator
Deprecated. use OpenBitSetIterator.nextDoc() instead.
nextCharArray() - Method in class org.apache.lucene.analysis.CharArraySet.CharArraySetIterator
do not modify the returned char[]
nextDoc() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
 
nextDoc() - Method in class org.apache.lucene.search.DocIdSetIterator
Advances to the next document in the set and returns the doc it is currently on, or DocIdSetIterator.NO_MORE_DOCS if there are no more docs in the set.
NOTE: in 3.0 this method will become abstract, following the removal of DocIdSetIterator.next().
nextDoc() - Method in class org.apache.lucene.search.FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator
 
nextDoc() - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
 
nextDoc() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
 
nextDoc() - Method in class org.apache.lucene.search.spans.SpanScorer
 
nextDoc() - Method in class org.apache.lucene.util.OpenBitSetIterator
 
nextHighestPowerOfTwo(int) - Static method in class org.apache.lucene.util.BitUtil
returns the next highest power of two, or the current value if it's already a power of two or zero
nextHighestPowerOfTwo(long) - Static method in class org.apache.lucene.util.BitUtil
returns the next highest power of two, or the current value if it's already a power of two or zero
nextPosition() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermPositions
 
nextPosition() - Method in class org.apache.lucene.index.MultipleTermPositions
 
nextPosition() - Method in interface org.apache.lucene.index.TermPositions
Returns next position in the current document.
nextSetBit(int) - Method in class org.apache.lucene.util.OpenBitSet
Returns the index of the first set bit starting at the index specified.
nextSetBit(long) - Method in class org.apache.lucene.util.OpenBitSet
Returns the index of the first set bit starting at the index specified.
NIOFSDirectory - Class in org.apache.lucene.store
An FSDirectory implementation that uses java.nio's FileChannel's positional read, which allows multiple threads to read from the same file without synchronizing.
NIOFSDirectory(File, LockFactory) - Constructor for class org.apache.lucene.store.NIOFSDirectory
Create a new NIOFSDirectory for the named location.
NIOFSDirectory(File) - Constructor for class org.apache.lucene.store.NIOFSDirectory
Create a new NIOFSDirectory for the named location and NativeFSLockFactory.
NIOFSDirectory.NIOFSIndexInput - Class in org.apache.lucene.store
 
NIOFSDirectory.NIOFSIndexInput(File, int) - Constructor for class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
Deprecated. Please use ctor taking chunkSize
NIOFSDirectory.NIOFSIndexInput(File, int, int) - Constructor for class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
 
NLS - Class in org.apache.lucene.messages
MessageBundles classes extend this class, to implement a bundle.
NLS() - Constructor for class org.apache.lucene.messages.NLS
 
NLSException - Interface in org.apache.lucene.messages
Interface that exceptions should implement to support lazy loading of messages.
NO - Static variable in class org.apache.lucene.document.Field.Index
Do not index the field value.
NO - Static variable in class org.apache.lucene.document.Field.Store
Do not store the field value in the index.
NO - Static variable in class org.apache.lucene.document.Field.TermVector
Do not store term vectors.
NO_DOC_ID_PROVIDED - Static variable in class org.apache.lucene.search.Similarity
 
NO_LOAD - Static variable in class org.apache.lucene.document.FieldSelectorResult
Do not load the Field.
NO_MORE_DOCS - Static variable in class org.apache.lucene.search.DocIdSetIterator
When returned by DocIdSetIterator.nextDoc(), DocIdSetIterator.advance(int) and DocIdSetIterator.doc() it means there are no more docs in the iterator.
NO_NORMS - Static variable in class org.apache.lucene.document.Field.Index
Deprecated. This has been renamed to Field.Index.NOT_ANALYZED_NO_NORMS
noCFSRatio - Variable in class org.apache.lucene.index.LogMergePolicy
 
NoLockFactory - Class in org.apache.lucene.store
Use this LockFactory to disable locking entirely.
NoLockFactory() - Constructor for class org.apache.lucene.store.NoLockFactory
 
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
Converts char to lower case Character.toLowerCase(char).
normalize(float) - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
normalize(float) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
 
normalize(float) - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
 
normalize(float) - Method in class org.apache.lucene.search.spans.SpanWeight
 
normalize(float) - Method in class org.apache.lucene.search.Weight
Assigns the query normalization factor to this.
NormalizeCharMap - Class in org.apache.lucene.analysis
Holds a map of String input to String output, to be used with MappingCharFilter.
NormalizeCharMap() - Constructor for class org.apache.lucene.analysis.NormalizeCharMap
 
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
 
norms(String) - Method in class org.apache.lucene.index.ParallelReader
 
norms(String, byte[], int) - Method in class org.apache.lucene.index.ParallelReader
 
norms(String) - Method in class org.apache.lucene.index.SegmentReader
 
norms(String, byte[], int) - Method in class org.apache.lucene.index.SegmentReader
Read norms into a pre-allocated array.
norms - Variable in class org.apache.lucene.search.spans.SpanScorer
 
NoSuchDirectoryException - Exception in org.apache.lucene.store
This exception is thrown when you try to list a non-existent directory.
NoSuchDirectoryException(String) - Constructor for exception org.apache.lucene.store.NoSuchDirectoryException
 
NOT - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
NOT_ANALYZED - Static variable in class org.apache.lucene.document.Field.Index
Index the field's value without using an Analyzer, so it can be searched.
NOT_ANALYZED_NO_NORMS - Static variable in class org.apache.lucene.document.Field.Index
Expert: Index the field's value without an Analyzer, and also disable the storing of norms.
ntz(long) - Static method in class org.apache.lucene.util.BitUtil
Returns number of trailing zeros in a 64 bit long value.
ntz(int) - Static method in class org.apache.lucene.util.BitUtil
Returns number of trailing zeros in a 32 bit int value.
ntz2(long) - Static method in class org.apache.lucene.util.BitUtil
returns 0 based index of first set bit (only works for x!=0)
This is an alternate implementation of ntz()
ntz3(long) - Static method in class org.apache.lucene.util.BitUtil
returns 0 based index of first set bit
This is an alternate implementation of ntz()
ntzTable - Static variable in class org.apache.lucene.util.BitUtil
table of number of trailing zeros in a byte
NUM - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
 
numBadSegments - Variable in class org.apache.lucene.index.CheckIndex.Status
How many bad segments were found.
NUMBER - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
NumberTools - Class in org.apache.lucene.document
Deprecated. For new indexes use NumericUtils instead, which provides a sortable binary representation (prefix encoded) of numeric values. To index and efficiently query numeric values use NumericField and NumericRangeQuery. This class is included for use with existing indices and will be removed in a future release.
NumberTools() - Constructor for class org.apache.lucene.document.NumberTools
Deprecated.  
numBuffers() - Method in class org.apache.lucene.store.RAMFile
 
numDeleted - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Number of deleted documents.
numDeletedDocs() - Method in class org.apache.lucene.index.IndexReader
Returns the number of deleted documents.
numDeletedDocs(SegmentInfo) - Method in class org.apache.lucene.index.IndexWriter
Obtain the number of deleted docs for a pooled reader.
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.IndexWriter
Returns total number of docs in this index, including docs not yet flushed (still in the RAM buffer), and including deletions.
numDocs() - Method in class org.apache.lucene.index.MultiReader
 
numDocs() - Method in class org.apache.lucene.index.ParallelReader
 
numDocs() - Method in class org.apache.lucene.index.SegmentReader
 
NUMERIC_UTILS_DOUBLE_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
A parser instance for double values encoded with NumericUtils, e.g.
NUMERIC_UTILS_FLOAT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
A parser instance for float values encoded with NumericUtils, e.g.
NUMERIC_UTILS_INT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
A parser instance for int values encoded by NumericUtils.intToPrefixCoded(int), e.g.
NUMERIC_UTILS_LONG_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
A parser instance for long values encoded by NumericUtils.longToPrefixCoded(long), e.g.
NumericField - Class in org.apache.lucene.document
This class provides a Field that enables indexing of numeric values for efficient range filtering and sorting.
NumericField(String) - Constructor for class org.apache.lucene.document.NumericField
Creates a field for numeric values using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
NumericField(String, Field.Store, boolean) - Constructor for class org.apache.lucene.document.NumericField
Creates a field for numeric values using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
NumericField(String, int) - Constructor for class org.apache.lucene.document.NumericField
Creates a field for numeric values with the specified precisionStep.
NumericField(String, int, Field.Store, boolean) - Constructor for class org.apache.lucene.document.NumericField
Creates a field for numeric values with the specified precisionStep.
NumericRangeFilter - Class in org.apache.lucene.search
A Filter that only accepts numeric values within a specified range.
NumericRangeQuery - Class in org.apache.lucene.search
A Query that matches numeric values within a specified range.
NumericTokenStream - Class in org.apache.lucene.analysis
Expert: This class provides a TokenStream for indexing numeric values that can be used by NumericRangeQuery or NumericRangeFilter.
NumericTokenStream() - Constructor for class org.apache.lucene.analysis.NumericTokenStream
Creates a token stream for numeric values using the default precisionStep NumericUtils.PRECISION_STEP_DEFAULT (4).
NumericTokenStream(int) - Constructor for class org.apache.lucene.analysis.NumericTokenStream
Creates a token stream for numeric values with the specified precisionStep.
NumericTokenStream(AttributeSource, int) - Constructor for class org.apache.lucene.analysis.NumericTokenStream
Expert: Creates a token stream for numeric values with the specified precisionStep using the given AttributeSource.
NumericTokenStream(AttributeSource.AttributeFactory, int) - Constructor for class org.apache.lucene.analysis.NumericTokenStream
Expert: Creates a token stream for numeric values with the specified precisionStep using the given AttributeSource.AttributeFactory.
NumericUtils - Class in org.apache.lucene.util
This is a helper class to generate prefix-encoded representations for numerical values and supplies converters to represent float/double values as sortable integers/longs.
NumericUtils.IntRangeBuilder - Class in org.apache.lucene.util
Expert: Callback for NumericUtils.splitIntRange(org.apache.lucene.util.NumericUtils.IntRangeBuilder, int, int, int).
NumericUtils.IntRangeBuilder() - Constructor for class org.apache.lucene.util.NumericUtils.IntRangeBuilder
 
NumericUtils.LongRangeBuilder - Class in org.apache.lucene.util
Expert: Callback for NumericUtils.splitLongRange(org.apache.lucene.util.NumericUtils.LongRangeBuilder, int, long, long).
NumericUtils.LongRangeBuilder() - Constructor for class org.apache.lucene.util.NumericUtils.LongRangeBuilder
 
numFiles - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Number of files referenced by this segment.
numRamDocs() - Method in class org.apache.lucene.index.IndexWriter
Expert: Return the number of documents currently buffered in RAM.
numSegments - Variable in class org.apache.lucene.index.CheckIndex.Status
Number of segments in the index.

O

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.
offset - Variable in class org.apache.lucene.index.Payload
the offset within the byte array
OffsetAttribute - Interface in org.apache.lucene.analysis.tokenattributes
The start and end character offset of a Token.
OffsetAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
The start and end character offset of a Token.
OffsetAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
 
offsets - Variable in class org.apache.lucene.util.UnicodeUtil.UTF16Result
 
OMIT_TERM_FREQ_AND_POSITIONS - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
All fields that omit tf
OMIT_TF - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
Deprecated. Renamed to IndexReader.FieldOption.OMIT_TERM_FREQ_AND_POSITIONS
omitNorms - Variable in class org.apache.lucene.document.AbstractField
 
omitTermFreqAndPositions - Variable in class org.apache.lucene.document.AbstractField
 
onCommit(List) - Method in interface org.apache.lucene.index.IndexDeletionPolicy
This is called each time the writer completed a commit.
onCommit(List) - Method in class org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy
Deletes all commits except the most recent one.
onCommit(List) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
 
onInit(List) - Method in interface org.apache.lucene.index.IndexDeletionPolicy
This is called once when a writer is first instantiated to give the policy a chance to remove old commit points.
onInit(List) - Method in class org.apache.lucene.index.KeepOnlyLastCommitDeletionPolicy
Deletes all commits except the most recent one.
onInit(List) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
 
onOrAfter(Version) - Method in class org.apache.lucene.util.Version
 
open - Variable in class org.apache.lucene.index.IndexModifier
Deprecated.  
open(String) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.open(Directory, boolean) instead. This method will be removed in the 3.0 release.
open(String, boolean) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.open(Directory, boolean) instead. This method will be removed in the 3.0 release.
open(File) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.open(Directory, boolean) instead. This method will be removed in the 3.0 release.
open(File, boolean) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.open(Directory, boolean) instead. This method will be removed in the 3.0 release.
open(Directory) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.open(Directory, boolean) instead This method will be removed in the 3.0 release.
open(Directory, boolean) - Static method in class org.apache.lucene.index.IndexReader
Returns an IndexReader reading the index in the given Directory.
open(IndexCommit) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.open(IndexCommit, boolean) instead. This method will be removed in the 3.0 release.
open(IndexCommit, boolean) - Static method in class org.apache.lucene.index.IndexReader
Expert: returns an IndexReader reading the index in the given IndexCommit.
open(Directory, IndexDeletionPolicy) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.open(Directory, IndexDeletionPolicy, boolean) instead. This method will be removed in the 3.0 release.
open(Directory, IndexDeletionPolicy, boolean) - Static method in class org.apache.lucene.index.IndexReader
Expert: returns an IndexReader reading the index in the given Directory, with a custom IndexDeletionPolicy.
open(Directory, IndexDeletionPolicy, boolean, int) - Static method in class org.apache.lucene.index.IndexReader
Expert: returns an IndexReader reading the index in the given Directory, with a custom IndexDeletionPolicy.
open(IndexCommit, IndexDeletionPolicy) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Use IndexReader.open(IndexCommit, IndexDeletionPolicy, boolean) instead. This method will be removed in the 3.0 release.
open(IndexCommit, IndexDeletionPolicy, boolean) - Static method in class org.apache.lucene.index.IndexReader
Expert: returns an IndexReader reading the index in the given Directory, using a specific commit and with a custom IndexDeletionPolicy.
open(IndexCommit, IndexDeletionPolicy, boolean, int) - Static method in class org.apache.lucene.index.IndexReader
Expert: returns an IndexReader reading the index in the given Directory, using a specific commit and with a custom IndexDeletionPolicy.
open(File) - Static method in class org.apache.lucene.store.FSDirectory
Creates an FSDirectory instance, trying to pick the best implementation given the current environment.
open(File, LockFactory) - Static method in class org.apache.lucene.store.FSDirectory
Just like FSDirectory.open(File), but allows you to also specify a custom LockFactory.
OpenBitSet - Class in org.apache.lucene.util
An "open" BitSet implementation that allows direct access to the array of words storing the bits.
OpenBitSet(long) - Constructor for class org.apache.lucene.util.OpenBitSet
Constructs an OpenBitSet large enough to hold numBits.
OpenBitSet() - Constructor for class org.apache.lucene.util.OpenBitSet
 
OpenBitSet(long[], int) - Constructor for class org.apache.lucene.util.OpenBitSet
Constructs an OpenBitSet from an existing long[].
OpenBitSetDISI - Class in org.apache.lucene.util
 
OpenBitSetDISI(DocIdSetIterator, int) - Constructor for class org.apache.lucene.util.OpenBitSetDISI
Construct an OpenBitSetDISI with its bits set from the doc ids of the given DocIdSetIterator.
OpenBitSetDISI(int) - Constructor for class org.apache.lucene.util.OpenBitSetDISI
Construct an OpenBitSetDISI with no bits set, and a given maximum size one larger than the largest doc id for which a bit may ever be set on this OpenBitSetDISI.
OpenBitSetIterator - Class in org.apache.lucene.util
An iterator to iterate over set bits in an OpenBitSet.
OpenBitSetIterator(OpenBitSet) - Constructor for class org.apache.lucene.util.OpenBitSetIterator
 
OpenBitSetIterator(long[], int) - Constructor for class org.apache.lucene.util.OpenBitSetIterator
 
openInput(String) - Method in class org.apache.lucene.store.Directory
Returns a stream reading an existing file.
openInput(String, int) - Method in class org.apache.lucene.store.Directory
Returns a stream reading an existing file, with the specified read buffer size.
openInput(String) - Method in class org.apache.lucene.store.FileSwitchDirectory
 
openInput(String) - Method in class org.apache.lucene.store.FSDirectory
 
openInput(String, int) - Method in class org.apache.lucene.store.FSDirectory
Creates an IndexInput for the file with the given name.
openInput(String, int) - Method in class org.apache.lucene.store.MMapDirectory
Creates an IndexInput for the file with the given name.
openInput(String, int) - Method in class org.apache.lucene.store.NIOFSDirectory
Creates an IndexInput for the file with the given name.
openInput(String) - Method in class org.apache.lucene.store.RAMDirectory
Returns a stream reading an existing file.
openInput(String, int) - Method in class org.apache.lucene.store.SimpleFSDirectory
Creates an IndexInput for the file with the given name.
openReaderPassed - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
True if we were able to open a SegmentReader on this segment.
optimize() - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Merges all segments together into a single segment, optimizing an index for search.
optimize() - Method in class org.apache.lucene.index.IndexWriter
Requests an "optimize" operation on an index, priming the index for the fastest available search.
optimize(int) - Method in class org.apache.lucene.index.IndexWriter
Optimize the index down to <= maxNumSegments.
optimize(boolean) - Method in class org.apache.lucene.index.IndexWriter
Just like IndexWriter.optimize(), except you can specify whether the call should block until the optimize completes.
optimize(int, boolean) - Method in class org.apache.lucene.index.IndexWriter
Just like IndexWriter.optimize(int), except you can specify whether the call should block until the optimize completes.
OR - Static variable in class org.apache.lucene.queryParser.QueryParser.Operator
 
OR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
or(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
 
OR_OPERATOR - Static variable in class org.apache.lucene.queryParser.QueryParser
Alternative form of QueryParser.Operator.OR
order - Variable in class org.apache.lucene.search.FieldCache.StringIndex
For each document, an index into the lookup array.
OrdFieldSource - Class in org.apache.lucene.search.function
Expert: obtains the ordinal of the field value from the default Lucene Fieldcache using getStringIndex().
OrdFieldSource(String) - Constructor for class org.apache.lucene.search.function.OrdFieldSource
Constructor for a certain field.
org.apache.lucene - package org.apache.lucene
Top-level package.
org.apache.lucene.analysis - package org.apache.lucene.analysis
API and code to convert text into indexable/searchable tokens.
org.apache.lucene.analysis.standard - package org.apache.lucene.analysis.standard
A fast grammar-based tokenizer constructed with JFlex.
org.apache.lucene.analysis.tokenattributes - package org.apache.lucene.analysis.tokenattributes
 
org.apache.lucene.document - package org.apache.lucene.document
The logical representation of a Document for indexing and searching.
org.apache.lucene.index - package org.apache.lucene.index
Code to maintain and access indices.
org.apache.lucene.messages - package org.apache.lucene.messages
For Native Language Support (NLS), system of software internationalization.
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
Code to search indices.
org.apache.lucene.search.function - package org.apache.lucene.search.function
Programmatic control over documents scores.
org.apache.lucene.search.payloads - package org.apache.lucene.search.payloads
The payloads package provides Query mechanisms for finding and using payloads.
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.
org.apache.lucene.util.cache - package org.apache.lucene.util.cache
 
OS_ARCH - Static variable in class org.apache.lucene.util.Constants
 
OS_NAME - Static variable in class org.apache.lucene.util.Constants
The value of System.getProperty("os.name").
OS_VERSION - Static variable in class org.apache.lucene.util.Constants
 
out - Static variable in class org.apache.lucene.index.CheckIndex
Deprecated. Use CheckIndex.setInfoStream(java.io.PrintStream) per instance, instead.
overridesTokenStreamMethod - Variable in class org.apache.lucene.analysis.Analyzer
 

P

ParallelMultiSearcher - Class in org.apache.lucene.search
Implements parallel search over a set of Searchables.
ParallelMultiSearcher(Searchable[]) - Constructor for class org.apache.lucene.search.ParallelMultiSearcher
Creates a searchable which searches searchables.
ParallelReader - Class in org.apache.lucene.index
An IndexReader which reads multiple, parallel indexes.
ParallelReader() - Constructor for class org.apache.lucene.index.ParallelReader
Construct a ParallelReader.
ParallelReader(boolean) - Constructor for class org.apache.lucene.index.ParallelReader
Construct a ParallelReader.
Parameter - Class in org.apache.lucene.util
A serializable Enum class.
Parameter(String) - Constructor for class org.apache.lucene.util.Parameter
 
parse(String[], String[], Analyzer) - Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
Deprecated. Use MultiFieldQueryParser.parse(Version,String[],String[],Analyzer) instead
parse(Version, String[], String[], Analyzer) - Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
Parses a query which searches on the fields specified.
parse(String, String[], BooleanClause.Occur[], Analyzer) - Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
Deprecated. Use MultiFieldQueryParser.parse(Version, String, String[], BooleanClause.Occur[], Analyzer) instead
parse(Version, String, String[], BooleanClause.Occur[], Analyzer) - Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
Parses a query, searching on the fields specified.
parse(String[], String[], BooleanClause.Occur[], Analyzer) - Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
Deprecated. Used MultiFieldQueryParser.parse(Version, String[], String[], BooleanClause.Occur[], Analyzer) instead
parse(Version, String[], String[], BooleanClause.Occur[], Analyzer) - Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
Parses a query, searching on the fields specified.
parse(String) - Method in class org.apache.lucene.queryParser.QueryParser
Parses a query string, returning a Query.
parseByte(String) - Method in interface org.apache.lucene.search.FieldCache.ByteParser
Return a single Byte representation of this field's value.
parseDouble(String) - Method in interface org.apache.lucene.search.FieldCache.DoubleParser
Return an long representation of this field's value.
ParseException - Exception in org.apache.lucene.queryParser
This exception is thrown when parse errors are encountered.
ParseException(Token, int[][], String[]) - Constructor for exception org.apache.lucene.queryParser.ParseException
This constructor is used by the method "generateParseException" in the generated parser.
ParseException() - Constructor for exception org.apache.lucene.queryParser.ParseException
The following constructors are for use by you for whatever purpose you can think of.
ParseException(String) - Constructor for exception org.apache.lucene.queryParser.ParseException
Constructor with message.
parseFloat(String) - Method in interface org.apache.lucene.search.FieldCache.FloatParser
Return an float representation of this field's value.
parseInt(String) - Method in interface org.apache.lucene.search.FieldCache.IntParser
Return an integer representation of this field's value.
parseInt(char[]) - Static method in class org.apache.lucene.util.ArrayUtil
Parses the string argument as if it was an int value and returns the result.
parseInt(char[], int, int) - Static method in class org.apache.lucene.util.ArrayUtil
Parses a char array into an int.
parseInt(char[], int, int, int) - Static method in class org.apache.lucene.util.ArrayUtil
Parses the string argument as if it was an int value and returns the result.
parseLong(String) - Method in interface org.apache.lucene.search.FieldCache.LongParser
Return an long representation of this field's value.
parseShort(String) - Method in interface org.apache.lucene.search.FieldCache.ShortParser
Return a short representation of this field's value.
partial - Variable in class org.apache.lucene.index.CheckIndex.Status
True if we checked only specific segments (CheckIndex.checkIndex(List)) was called with non-null argument).
Payload - Class in org.apache.lucene.index
A Payload is metadata that can be stored together with each occurrence of a term.
Payload() - Constructor for class org.apache.lucene.index.Payload
Creates an empty payload and does not allocate a byte array.
Payload(byte[]) - Constructor for class org.apache.lucene.index.Payload
Creates a new payload with the the given array as data.
Payload(byte[], int, int) - Constructor for class org.apache.lucene.index.Payload
Creates a new payload with the the given array as data.
payload - Variable in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
 
PayloadAttribute - Interface in org.apache.lucene.analysis.tokenattributes
The payload of a Token.
PayloadAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
The payload of a Token.
PayloadAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
Initialize this attribute with no payload.
PayloadAttributeImpl(Payload) - Constructor for class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
Initialize this attribute with the given payload.
PayloadFunction - Class in org.apache.lucene.search.payloads
An abstract class that defines a way for Payload*Query instances to transform the cumulative effects of payload scores for a document.
PayloadFunction() - Constructor for class org.apache.lucene.search.payloads.PayloadFunction
 
PayloadNearQuery - Class in org.apache.lucene.search.payloads
This class is very similar to SpanNearQuery except that it factors in the value of the payloads located at each of the positions where the TermSpans occurs.
PayloadNearQuery(SpanQuery[], int, boolean) - Constructor for class org.apache.lucene.search.payloads.PayloadNearQuery
 
PayloadNearQuery(SpanQuery[], int, boolean, PayloadFunction) - Constructor for class org.apache.lucene.search.payloads.PayloadNearQuery
 
PayloadNearQuery.PayloadNearSpanScorer - Class in org.apache.lucene.search.payloads
 
PayloadNearQuery.PayloadNearSpanScorer(Spans, Weight, Similarity, byte[]) - Constructor for class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
 
PayloadNearQuery.PayloadNearSpanWeight - Class in org.apache.lucene.search.payloads
 
PayloadNearQuery.PayloadNearSpanWeight(SpanQuery, Searcher) - Constructor for class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanWeight
 
payloadScore - Variable in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
 
payloadScore - Variable in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
 
PayloadSpanUtil - Class in org.apache.lucene.search.payloads
Experimental class to get set of payloads for most standard Lucene queries.
PayloadSpanUtil(IndexReader) - Constructor for class org.apache.lucene.search.payloads.PayloadSpanUtil
 
payloadsSeen - Variable in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
 
PayloadTermQuery - Class in org.apache.lucene.search.payloads
This class is very similar to SpanTermQuery except that it factors in the value of the payload located at each of the positions where the Term occurs.
PayloadTermQuery(Term, PayloadFunction) - Constructor for class org.apache.lucene.search.payloads.PayloadTermQuery
 
PayloadTermQuery(Term, PayloadFunction, boolean) - Constructor for class org.apache.lucene.search.payloads.PayloadTermQuery
 
PayloadTermQuery.PayloadTermWeight - Class in org.apache.lucene.search.payloads
 
PayloadTermQuery.PayloadTermWeight(PayloadTermQuery, Searcher) - Constructor for class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight
 
PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer - Class in org.apache.lucene.search.payloads
 
PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer(TermSpans, Weight, Similarity, byte[]) - Constructor for class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
 
PerFieldAnalyzerWrapper - Class in org.apache.lucene.analysis
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.
PerFieldAnalyzerWrapper(Analyzer, Map) - Constructor for class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
Constructs with default analyzer and a map of analyzers to use for specific fields.
PhraseQuery - Class in org.apache.lucene.search
A Query that matches documents containing a particular sequence of terms.
PhraseQuery() - Constructor for class org.apache.lucene.search.PhraseQuery
Constructs an empty phrase query.
PLUS - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
pop(long) - Static method in class org.apache.lucene.util.BitUtil
Returns the number of bits set in the long
pop() - Method in class org.apache.lucene.util.PriorityQueue
Removes and returns the least element of the PriorityQueue in log(size) time.
pop() - Method in class org.apache.lucene.util.ScorerDocQueue
Removes and returns the least scorer of the ScorerDocQueue in log(size) time.
pop_andnot(long[], long[], int, int) - Static method in class org.apache.lucene.util.BitUtil
Returns the popcount or cardinality of A & ~B Neither array is modified.
pop_array(long[], int, int) - Static method in class org.apache.lucene.util.BitUtil
Returns the number of set bits in an array of longs.
pop_intersect(long[], long[], int, int) - Static method in class org.apache.lucene.util.BitUtil
Returns the popcount or cardinality of the two sets after an intersection.
pop_union(long[], long[], int, int) - Static method in class org.apache.lucene.util.BitUtil
Returns the popcount or cardinality of the union of two sets.
pop_xor(long[], long[], int, int) - Static method in class org.apache.lucene.util.BitUtil
 
populateResults(ScoreDoc[], int) - Method in class org.apache.lucene.search.TopDocsCollector
Populates the results array with the ScoreDoc instaces.
populateResults(ScoreDoc[], int) - Method in class org.apache.lucene.search.TopFieldCollector
 
PorterStemFilter - Class in org.apache.lucene.analysis
Transforms the token stream as per the Porter stemming algorithm.
PorterStemFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.PorterStemFilter
 
position - Variable in class org.apache.lucene.search.spans.TermSpans
 
PositionBasedTermVectorMapper - Class in org.apache.lucene.index
For each Field, store position by position information.
PositionBasedTermVectorMapper() - Constructor for class org.apache.lucene.index.PositionBasedTermVectorMapper
 
PositionBasedTermVectorMapper(boolean) - Constructor for class org.apache.lucene.index.PositionBasedTermVectorMapper
 
PositionBasedTermVectorMapper.TVPositionInfo - Class in org.apache.lucene.index
Container for a term at a position
PositionBasedTermVectorMapper.TVPositionInfo(int, boolean) - Constructor for class org.apache.lucene.index.PositionBasedTermVectorMapper.TVPositionInfo
 
PositionIncrementAttribute - Interface in org.apache.lucene.analysis.tokenattributes
The positionIncrement determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.
PositionIncrementAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
The positionIncrement determines the position of this token relative to the previous Token in a TokenStream, used in phrase searching.
PositionIncrementAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
 
positions - Variable in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
 
positions - Variable in class org.apache.lucene.search.spans.TermSpans
 
PositiveScoresOnlyCollector - Class in org.apache.lucene.search
A Collector implementation which wraps another Collector and makes sure only documents with scores > 0 are collected.
PositiveScoresOnlyCollector(Collector) - Constructor for class org.apache.lucene.search.PositiveScoresOnlyCollector
 
pq - Variable in class org.apache.lucene.search.TopDocsCollector
The priority queue which holds the top documents.
PRECISION_STEP_DEFAULT - Static variable in class org.apache.lucene.util.NumericUtils
The default precision step used by NumericField, NumericTokenStream, NumericRangeQuery, and NumericRangeFilter as default
prefixCodedToDouble(String) - Static method in class org.apache.lucene.util.NumericUtils
Convenience method: this just returns: sortableLongToDouble(prefixCodedToLong(val))
prefixCodedToFloat(String) - Static method in class org.apache.lucene.util.NumericUtils
Convenience method: this just returns: sortableIntToFloat(prefixCodedToInt(val))
prefixCodedToInt(String) - Static method in class org.apache.lucene.util.NumericUtils
Returns an int from prefixCoded characters.
prefixCodedToLong(String) - Static method in class org.apache.lucene.util.NumericUtils
Returns a long from prefixCoded characters.
PrefixFilter - Class in org.apache.lucene.search
A Filter that restricts search results to values that have a matching prefix in a given field.
PrefixFilter(Term) - Constructor for class org.apache.lucene.search.PrefixFilter
 
PrefixQuery - Class in org.apache.lucene.search
A Query that matches documents containing terms with a specified prefix.
PrefixQuery(Term) - Constructor for class org.apache.lucene.search.PrefixQuery
Constructs a query for terms starting with prefix.
PREFIXTERM - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
PrefixTermEnum - Class in org.apache.lucene.search
Subclass of FilteredTermEnum for enumerating all terms that match the specified prefix filter term.
PrefixTermEnum(IndexReader, Term) - Constructor for class org.apache.lucene.search.PrefixTermEnum
 
prepareCommit() - Method in class org.apache.lucene.index.IndexWriter
Expert: prepare for commit.
prepareCommit(Map) - Method in class org.apache.lucene.index.IndexWriter
Expert: prepare for commit, specifying commitUserData Map (String -> String).
prepareCommit() - Method in class org.apache.lucene.store.ChecksumIndexOutput
Starts but does not complete the commit of this file (= writing of the final checksum at the end).
PriorityQueue - Class in org.apache.lucene.util
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
 
processPayload(Similarity) - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
 
processPayloads(Collection, int, int) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
By default, uses the PayloadFunction to score the payloads, but can be overridden to do other things.
purge(IndexReader) - Method in interface org.apache.lucene.search.FieldCache
Expert: drops all cache entries associated with this reader.
purgeAllCaches() - Method in interface org.apache.lucene.search.FieldCache
EXPERT: Instructs the FieldCache to forcibly expunge all entries from the underlying caches.
put(Object, Object) - Method in class org.apache.lucene.util.cache.Cache
Puts a (key, value)-pair into the cache.
put(Object, Object) - Method in class org.apache.lucene.util.cache.SimpleMapCache
 
put(Object, Object) - Method in class org.apache.lucene.util.MapOfSets
Adds val to the Set associated with key in the Map.
put(Object) - Method in class org.apache.lucene.util.PriorityQueue
Deprecated. use PriorityQueue.add(Object) which returns the new top object, saving an additional call to PriorityQueue.top().
put(Scorer) - Method in class org.apache.lucene.util.ScorerDocQueue
Adds a Scorer to a ScorerDocQueue in log(size) time.
putAll(Object, Collection) - Method in class org.apache.lucene.util.MapOfSets
Adds multiple vals to the Set associated with key in the Map.

Q

Query(String) - Method in class org.apache.lucene.queryParser.QueryParser
 
query - Variable in class org.apache.lucene.search.MultiTermQueryWrapperFilter
 
Query - Class in org.apache.lucene.search
The abstract base class for queries.
Query() - Constructor for class org.apache.lucene.search.Query
 
query - Variable in class org.apache.lucene.search.SpanQueryFilter
 
query - Variable in class org.apache.lucene.search.spans.SpanWeight
 
QueryFilter - Class in org.apache.lucene.search
Deprecated. use a CachingWrapperFilter with QueryWrapperFilter
QueryFilter(Query) - Constructor for class org.apache.lucene.search.QueryFilter
Deprecated. Constructs a filter which only matches documents matching 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.
queryNorm(float) - Method in class org.apache.lucene.search.SimilarityDelegator
 
queryNorm - Variable in class org.apache.lucene.search.spans.SpanWeight
 
QueryParser - Class in org.apache.lucene.queryParser
This class is generated by JavaCC.
QueryParser(String, Analyzer) - Constructor for class org.apache.lucene.queryParser.QueryParser
Deprecated. Use QueryParser.QueryParser(Version, String, Analyzer) instead
QueryParser(Version, String, Analyzer) - Constructor for class org.apache.lucene.queryParser.QueryParser
Constructs a query parser.
QueryParser(CharStream) - Constructor for class org.apache.lucene.queryParser.QueryParser
Constructor with user supplied CharStream.
QueryParser(QueryParserTokenManager) - Constructor for class org.apache.lucene.queryParser.QueryParser
Constructor with generated Token Manager.
QueryParser.Operator - Class in org.apache.lucene.queryParser
The default operator for parsing queries.
QueryParserConstants - Interface in org.apache.lucene.queryParser
Token literal values and constants.
QueryParserTokenManager - Class in org.apache.lucene.queryParser
Token Manager.
QueryParserTokenManager(CharStream) - Constructor for class org.apache.lucene.queryParser.QueryParserTokenManager
Constructor.
QueryParserTokenManager(CharStream, int) - Constructor for class org.apache.lucene.queryParser.QueryParserTokenManager
Constructor.
QueryTermVector - Class in org.apache.lucene.search
 
QueryTermVector(String[]) - Constructor for class org.apache.lucene.search.QueryTermVector
 
QueryTermVector(String, Analyzer) - Constructor for class org.apache.lucene.search.QueryTermVector
 
queryWeight - Variable in class org.apache.lucene.search.spans.SpanWeight
 
QueryWrapperFilter - Class in org.apache.lucene.search
Constrains search results to only match those which also match a provided query.
QueryWrapperFilter(Query) - Constructor for class org.apache.lucene.search.QueryWrapperFilter
Constructs a filter which only matches documents matching query.
quickSort(int, int) - Method in class org.apache.lucene.util.SorterTemplate
 
QUOTED - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.

R

RAMDirectory - Class in org.apache.lucene.store
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
Deprecated. Use RAMDirectory.RAMDirectory(Directory) instead
RAMDirectory(String) - Constructor for class org.apache.lucene.store.RAMDirectory
Deprecated. Use RAMDirectory.RAMDirectory(Directory) instead
RAMFile - Class in org.apache.lucene.store
For Lucene internal use
RAMFile() - Constructor for class org.apache.lucene.store.RAMFile
 
RAMOutputStream - Class in org.apache.lucene.store
A memory-resident IndexOutput implementation.
RAMOutputStream() - Constructor for class org.apache.lucene.store.RAMOutputStream
Construct an empty output buffer.
RAMOutputStream(RAMFile) - Constructor for class org.apache.lucene.store.RAMOutputStream
 
ramSizeInBytes() - Method in class org.apache.lucene.index.IndexWriter
Expert: Return the total size of all index files currently cached in memory.
RamUsageEstimator - Class in org.apache.lucene.util
Estimates the size of a given Object using a given MemoryModel for primitive size information.
RamUsageEstimator() - Constructor for class org.apache.lucene.util.RamUsageEstimator
Constructs this object with an AverageGuessMemoryModel and checkInterned = true.
RamUsageEstimator(boolean) - Constructor for class org.apache.lucene.util.RamUsageEstimator
 
RamUsageEstimator(MemoryModel) - Constructor for class org.apache.lucene.util.RamUsageEstimator
 
RamUsageEstimator(MemoryModel, boolean) - Constructor for class org.apache.lucene.util.RamUsageEstimator
 
range(int, int) - Method in class org.apache.lucene.index.SegmentInfos
Returns a new SegmentInfos containing the SegmentInfo instances in the specified range first (inclusive) to last (exclusive), so total number of segments returned is last-first.
RangeEx - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
Lexical state.
RANGEEX_END - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
RANGEEX_GOOP - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
RANGEEX_QUOTED - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
RANGEEX_START - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
RANGEEX_TO - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
RangeFilter - Class in org.apache.lucene.search
Deprecated. Use TermRangeFilter for term ranges or NumericRangeFilter for numeric ranges instead. This class will be removed in Lucene 3.0.
RangeFilter(String, String, String, boolean, boolean) - Constructor for class org.apache.lucene.search.RangeFilter
Deprecated.  
RangeFilter(String, String, String, boolean, boolean, Collator) - Constructor for class org.apache.lucene.search.RangeFilter
Deprecated. WARNING: Using this constructor and supplying a non-null value in the collator parameter will cause every single index Term in the Field referenced by lowerTerm and/or upperTerm to be examined.
RangeIn - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
Lexical state.
RANGEIN_END - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
RANGEIN_GOOP - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
RANGEIN_QUOTED - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
RANGEIN_START - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
RANGEIN_TO - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
RangeQuery - Class in org.apache.lucene.search
Deprecated. Use TermRangeQuery for term ranges or NumericRangeQuery for numeric ranges instead. This class will be removed in Lucene 3.0.
RangeQuery(Term, Term, boolean) - Constructor for class org.apache.lucene.search.RangeQuery
Deprecated. Constructs a query selecting all terms greater than lowerTerm but less than upperTerm.
RangeQuery(Term, Term, boolean, Collator) - Constructor for class org.apache.lucene.search.RangeQuery
Deprecated. Constructs a query selecting all terms greater than lowerTerm but less than upperTerm.
read(char[], int, int) - Method in class org.apache.lucene.analysis.CharFilter
 
read(char[], int, int) - Method in class org.apache.lucene.analysis.CharReader
 
read() - Method in class org.apache.lucene.analysis.MappingCharFilter
 
read(char[], int, int) - Method in class org.apache.lucene.analysis.MappingCharFilter
 
read(int[], int[]) - Method in class org.apache.lucene.index.AbstractAllTermDocs
 
read(int[], int[]) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
read(int[], int[]) - Method in class org.apache.lucene.index.MultipleTermPositions
Not implemented.
read(Directory, String) - Method in class org.apache.lucene.index.SegmentInfos
Read a particular segmentFileName.
read(Directory) - Method in class org.apache.lucene.index.SegmentInfos
This version of read uses the retry logic (for lock-less commits) to find the right segments file to load.
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.BufferedIndexInput
 
readByte() - Method in class org.apache.lucene.store.ChecksumIndexInput
 
readByte() - Method in class org.apache.lucene.store.IndexInput
Reads and returns a single byte.
readBytes(byte[], int, int) - Method in class org.apache.lucene.store.BufferedIndexInput
 
readBytes(byte[], int, int, boolean) - Method in class org.apache.lucene.store.BufferedIndexInput
 
readBytes(byte[], int, int) - Method in class org.apache.lucene.store.ChecksumIndexInput
 
readBytes(byte[], int, int) - Method in class org.apache.lucene.store.IndexInput
Reads a specified number of bytes into an array at the specified offset.
readBytes(byte[], int, int, boolean) - Method in class org.apache.lucene.store.IndexInput
Reads a specified number of bytes into an array at the specified offset with control over whether the read should be buffered (callers who have their own buffer should pass in "false" for useBuffer).
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.IndexInput
Deprecated. -- please use readString or readBytes instead, and construct the string from those utf8 bytes
readCurrentUserData(Directory) - Static method in class org.apache.lucene.index.SegmentInfos
Returns userData from latest segments file
readCurrentVersion(Directory) - Static method in class org.apache.lucene.index.SegmentInfos
Current version number from segments file.
reader - Variable in class org.apache.lucene.search.function.CustomScoreProvider
 
ReaderUtil - Class in org.apache.lucene.util
Common util methods for dealing with IndexReaders.
ReaderUtil() - Constructor for class org.apache.lucene.util.ReaderUtil
 
readerValue() - Method in class org.apache.lucene.document.Field
The value of the field as a Reader, or null.
readerValue() - Method in interface org.apache.lucene.document.Fieldable
The value of the field as a Reader, which can be used at index time to generate indexed tokens.
readerValue() - Method in class org.apache.lucene.document.NumericField
Returns always null for numeric fields
readInt() - Method in class org.apache.lucene.store.IndexInput
Reads four bytes and returns an int.
readInternal(byte[], int, int) - Method in class org.apache.lucene.store.BufferedIndexInput
Expert: implements buffer refill.
readInternal(byte[], int, int) - Method in class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
 
readInternal(byte[], int, int) - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
IndexInput methods
readLong() - Method in class org.apache.lucene.store.IndexInput
Reads eight bytes and returns a long.
readOnly - Variable in class org.apache.lucene.index.SegmentReader
 
readResolve() - Method in class org.apache.lucene.util.Parameter
Resolves the deserialized instance to the local reference for accurate equals() and == comparisons.
readString() - Method in class org.apache.lucene.store.IndexInput
Reads a string.
readStringStringMap() - Method in class org.apache.lucene.store.IndexInput
 
readVInt() - Method in class org.apache.lucene.store.IndexInput
Reads an int stored in variable-length format.
readVLong() - Method in class org.apache.lucene.store.IndexInput
Reads a long stored in variable-length format.
RECACHE - Static variable in class org.apache.lucene.search.CachingWrapperFilter.DeletesMode
 
reinit(char[], int, int, int, int, String) - Method in class org.apache.lucene.analysis.Token
Shorthand for calling Token.clear(), Token.setTermBuffer(char[], int, int), Token.setStartOffset(int), Token.setEndOffset(int), Token.setType(java.lang.String)
reinit(char[], int, int, int, int) - Method in class org.apache.lucene.analysis.Token
Shorthand for calling Token.clear(), Token.setTermBuffer(char[], int, int), Token.setStartOffset(int), Token.setEndOffset(int) Token.setType(java.lang.String) on Token.DEFAULT_TYPE
reinit(String, int, int, String) - Method in class org.apache.lucene.analysis.Token
Shorthand for calling Token.clear(), Token.setTermBuffer(String), Token.setStartOffset(int), Token.setEndOffset(int) Token.setType(java.lang.String)
reinit(String, int, int, int, int, String) - Method in class org.apache.lucene.analysis.Token
Shorthand for calling Token.clear(), Token.setTermBuffer(String, int, int), Token.setStartOffset(int), Token.setEndOffset(int) Token.setType(java.lang.String)
reinit(String, int, int) - Method in class org.apache.lucene.analysis.Token
Shorthand for calling Token.clear(), Token.setTermBuffer(String), Token.setStartOffset(int), Token.setEndOffset(int) Token.setType(java.lang.String) on Token.DEFAULT_TYPE
reinit(String, int, int, int, int) - Method in class org.apache.lucene.analysis.Token
Shorthand for calling Token.clear(), Token.setTermBuffer(String, int, int), Token.setStartOffset(int), Token.setEndOffset(int) Token.setType(java.lang.String) on Token.DEFAULT_TYPE
reinit(Token) - Method in class org.apache.lucene.analysis.Token
Copy the prototype token's fields into this one.
reinit(Token, String) - Method in class org.apache.lucene.analysis.Token
Copy the prototype token's fields into this one, with a different term.
reinit(Token, char[], int, int) - Method in class org.apache.lucene.analysis.Token
Copy the prototype token's fields into this one, with a different term.
ReInit(CharStream) - Method in class org.apache.lucene.queryParser.QueryParser
Reinitialise.
ReInit(QueryParserTokenManager) - Method in class org.apache.lucene.queryParser.QueryParser
Reinitialise.
ReInit(CharStream) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
Reinitialise parser.
ReInit(CharStream, int) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
Reinitialise parser.
release() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
Release the currently held snapshot.
release() - Method in class org.apache.lucene.store.Lock
Releases exclusive access.
RELEVANCE - Static variable in interface org.apache.lucene.search.ScoreDocComparator
Deprecated. 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.
remove() - Method in class org.apache.lucene.analysis.CharArraySet.CharArraySetIterator
 
remove() - Method in class org.apache.lucene.search.HitIterator
Deprecated. Unsupported operation.
remove(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
Remove all elements set in other.
removeAccents(char[], int) - Method in class org.apache.lucene.analysis.ISOLatin1AccentFilter
Deprecated. To replace accented characters in a String by unaccented equivalents.
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
Deprecated.  
renameFile(String, String) - Method in class org.apache.lucene.store.FileSwitchDirectory
 
renameFile(String, String) - Method in class org.apache.lucene.store.FSDirectory
Deprecated.  
renameFile(String, String) - Method in class org.apache.lucene.store.RAMDirectory
Deprecated.  
reopen() - Method in class org.apache.lucene.index.IndexReader
Refreshes an IndexReader if the index has changed since this instance was (re)opened.
reopen(boolean) - Method in class org.apache.lucene.index.IndexReader
Just like IndexReader.reopen(), except you can change the readOnly of the original reader.
reopen(IndexCommit) - Method in class org.apache.lucene.index.IndexReader
Expert: reopen this reader on a specific commit point.
reopen() - Method in class org.apache.lucene.index.MultiReader
Tries to reopen the subreaders.
reopen() - Method in class org.apache.lucene.index.ParallelReader
Tries to reopen the subreaders.
reset() - Method in class org.apache.lucene.analysis.CachingTokenFilter
 
reset() - Method in class org.apache.lucene.analysis.CharFilter
 
reset() - Method in class org.apache.lucene.analysis.CharReader
 
reset(Reader) - Method in class org.apache.lucene.analysis.CharTokenizer
 
reset(Reader) - Method in class org.apache.lucene.analysis.KeywordTokenizer
 
reset() - Method in class org.apache.lucene.analysis.NumericTokenStream
 
reset() - Method in class org.apache.lucene.analysis.SinkTokenizer
Deprecated. Reset the internal data structures to the start at the front of the list of tokens.
reset(Reader) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
 
reset() - Method in class org.apache.lucene.analysis.TeeSinkTokenFilter.SinkFilter
Called by TeeSinkTokenFilter.SinkTokenStream.reset().
reset() - Method in class org.apache.lucene.analysis.TeeSinkTokenFilter.SinkTokenStream
 
reset() - Method in class org.apache.lucene.analysis.TokenFilter
Reset the filter as well as the input TokenStream.
reset(Reader) - Method in class org.apache.lucene.analysis.Tokenizer
Expert: Reset the tokenizer to a new reader.
reset() - Method in class org.apache.lucene.analysis.TokenStream
Resets this stream to the beginning.
reset() - Method in class org.apache.lucene.store.RAMOutputStream
Resets this to an empty file.
resizeTermBuffer(int) - Method in class org.apache.lucene.analysis.Token
Grows the termBuffer to at least size newSize, preserving the existing content.
resizeTermBuffer(int) - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
Grows the termBuffer to at least size newSize, preserving the existing content.
resizeTermBuffer(int) - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
Grows the termBuffer to at least size newSize, preserving the existing content.
restoreState(AttributeSource.State) - Method in class org.apache.lucene.util.AttributeSource
Restores this state by copying the values of all attribute implementations that this state contains into the attributes implementations of the targetStream.
result - Variable in class org.apache.lucene.util.UnicodeUtil.UTF16Result
 
result - Variable in class org.apache.lucene.util.UnicodeUtil.UTF8Result
 
reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.Analyzer
Creates a TokenStream that is allowed to be re-used from the previous time that the same thread called this method.
reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.KeywordAnalyzer
 
reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
 
reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.SimpleAnalyzer
 
reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Use StandardAnalyzer.tokenStream(java.lang.String, java.io.Reader) instead
reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.StopAnalyzer
 
reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.WhitespaceAnalyzer
 
reverseMul - Variable in class org.apache.lucene.search.FieldValueHitQueue
 
ReverseOrdFieldSource - Class in org.apache.lucene.search.function
Expert: obtains the ordinal of the field value from the default Lucene FieldCache using getStringIndex() and reverses the order.
ReverseOrdFieldSource(String) - Constructor for class org.apache.lucene.search.function.ReverseOrdFieldSource
Contructor for a certain field.
rewrite(IndexReader) - Method in class org.apache.lucene.search.BooleanQuery
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.ConstantScoreQuery
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Optimize our representation and our subqueries representations
rewrite(IndexReader) - Method in class org.apache.lucene.search.FilteredQuery
Rewrites the wrapped query.
rewrite(IndexReader) - Method in class org.apache.lucene.search.function.CustomScoreQuery
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.function.ValueSourceQuery
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.FuzzyQuery
 
rewrite(Query) - Method in class org.apache.lucene.search.IndexSearcher
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.MultiPhraseQuery
 
rewrite(Query) - Method in class org.apache.lucene.search.MultiSearcher
 
rewrite(IndexReader, MultiTermQuery) - Method in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.MultiTermQuery
 
rewrite(IndexReader, MultiTermQuery) - Method in class org.apache.lucene.search.MultiTermQuery.RewriteMethod
 
rewrite(Query) - Method in class org.apache.lucene.search.ParallelMultiSearcher
 
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
Deprecated.  
rewrite(Query) - Method in interface org.apache.lucene.search.Searchable
Expert: called to re-write queries into primitive queries.
rewrite(Query) - Method in class org.apache.lucene.search.Searcher
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanNearQuery
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanNotQuery
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanOrQuery
 
rewrite(IndexReader) - Method in class org.apache.lucene.search.WildcardQuery
 
rewriteMethod - Variable in class org.apache.lucene.search.MultiTermQuery
 
rollback() - Method in class org.apache.lucene.index.IndexWriter
Close the IndexWriter without committing any changes that have occurred since the last commit (or since it was opened, if commit hasn't been called).
round(Date, DateTools.Resolution) - Static method in class org.apache.lucene.document.DateTools
Limit a date's resolution.
round(long, DateTools.Resolution) - Static method in class org.apache.lucene.document.DateTools
Limit a date's resolution.
RPAREN - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
run() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
 
run() - Method in class org.apache.lucene.index.SegmentInfos.FindSegmentsFile
 
run(IndexCommit) - Method in class org.apache.lucene.index.SegmentInfos.FindSegmentsFile
 
run() - Method in class org.apache.lucene.search.FilterManager.FilterCleaner
 
run() - Method in class org.apache.lucene.store.Lock.With
Calls Lock.With.doBody() while lock is obtained.

S

score() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
 
score - Variable in class org.apache.lucene.search.FuzzyQuery.ScoreTerm
 
score(int) - Method in class org.apache.lucene.search.Hits
Deprecated. Returns the score for the nth document in this set.
score() - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
 
score() - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
 
score(Collector, int, int) - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
 
score() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
 
score(Collector) - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
 
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
Deprecated. use Scorer.score(Collector) instead.
score(Collector) - Method in class org.apache.lucene.search.Scorer
Scores and collects all matching documents.
score(HitCollector, int) - Method in class org.apache.lucene.search.Scorer
Deprecated. use Scorer.score(Collector, int, int) instead.
score(Collector, int, int) - Method in class org.apache.lucene.search.Scorer
Expert: Collects matching documents in a range.
score() - Method in class org.apache.lucene.search.Scorer
Returns the score of the current document matching the query.
SCORE - Static variable in class org.apache.lucene.search.SortField
Sort by document score (relevancy).
score() - Method in class org.apache.lucene.search.spans.SpanScorer
 
ScoreCachingWrappingScorer - Class in org.apache.lucene.search
A Scorer which wraps another scorer and caches the score of the current document.
ScoreCachingWrappingScorer(Scorer) - Constructor for class org.apache.lucene.search.ScoreCachingWrappingScorer
Creates a new instance by wrapping the given scorer.
ScoreDoc - Class in org.apache.lucene.search
Expert: Returned by low-level search implementations.
ScoreDoc(int, float) - Constructor for class org.apache.lucene.search.ScoreDoc
Expert: Constructs a ScoreDoc.
ScoreDocComparator - Interface in org.apache.lucene.search
Deprecated. use FieldComparator
scoreDocs - Variable in class org.apache.lucene.search.TopDocs
The top hits for the query.
scorePayload(String, byte[], int, int) - Method in class org.apache.lucene.search.Similarity
Deprecated. See Similarity.scorePayload(int, String, int, int, byte[], int, int)
scorePayload(int, String, int, int, byte[], int, int) - Method in class org.apache.lucene.search.Similarity
Calculate a scoring factor based on the data in the payload.
scorePayload(String, byte[], int, int) - Method in class org.apache.lucene.search.SimilarityDelegator
 
scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
 
scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
 
scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.payloads.BoostingTermQuery.BoostingTermWeight
Deprecated.  
scorer(IndexReader) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanWeight
 
scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanWeight
 
scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight
 
Scorer - Class in org.apache.lucene.search
Expert: Common scoring functionality for different types of queries.
Scorer(Similarity) - Constructor for class org.apache.lucene.search.Scorer
Constructs a Scorer.
scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.spans.SpanWeight
 
scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.Weight
Returns a Scorer which scores documents in/out-of order according to scoreDocsInOrder.
ScorerDocQueue - Class in org.apache.lucene.util
A ScorerDocQueue maintains a partial ordering of its Scorers such that the least Scorer can always be found in constant time.
ScorerDocQueue(int) - Constructor for class org.apache.lucene.util.ScorerDocQueue
Create a ScorerDocQueue with a maximum size.
scoresDocsOutOfOrder() - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
scoresDocsOutOfOrder() - Method in class org.apache.lucene.search.Weight
Returns true iff this implementation scores docs only out of order.
SCORING_BOOLEAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.MultiTermQuery
A rewrite method that first translates each term into BooleanClause.Occur.SHOULD clause in a BooleanQuery, and keeps the scores as computed by the query.
search(Weight, Filter, int) - Method in class org.apache.lucene.search.IndexSearcher
 
search(Weight, Filter, int, Sort) - Method in class org.apache.lucene.search.IndexSearcher
 
search(Weight, Filter, int, Sort, boolean) - Method in class org.apache.lucene.search.IndexSearcher
Just like IndexSearcher.search(Weight, Filter, int, Sort), but you choose whether or not the fields in the returned FieldDoc instances should be set by specifying fillFields.
search(Weight, Filter, Collector) - Method in class org.apache.lucene.search.IndexSearcher
 
search(Weight, Filter, int) - Method in class org.apache.lucene.search.MultiSearcher
 
search(Weight, Filter, int, Sort) - Method in class org.apache.lucene.search.MultiSearcher
 
search(Weight, Filter, Collector) - Method in class org.apache.lucene.search.MultiSearcher
 
search(Weight, 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(Weight, 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(Weight, Filter, Collector) - Method in class org.apache.lucene.search.ParallelMultiSearcher
Lower-level search API.
search(Weight, Filter, HitCollector) - Method in interface org.apache.lucene.search.Searchable
Deprecated. use Searchable.search(Weight, Filter, Collector) instead.
search(Weight, Filter, Collector) - Method in interface org.apache.lucene.search.Searchable
Lower-level search API.
search(Weight, Filter, int) - Method in interface org.apache.lucene.search.Searchable
Expert: Low-level search implementation.
search(Weight, 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
Deprecated. Hits will be removed in Lucene 3.0. Use Searcher.search(Query, Filter, int) instead.
search(Query, Filter) - Method in class org.apache.lucene.search.Searcher
Deprecated. Hits will be removed in Lucene 3.0. Use Searcher.search(Query, Filter, int) instead.
search(Query, Sort) - Method in class org.apache.lucene.search.Searcher
Deprecated. Hits will be removed in Lucene 3.0. Use Searcher.search(Query, Filter, int, Sort) instead.
search(Query, Filter, Sort) - Method in class org.apache.lucene.search.Searcher
Deprecated. Hits will be removed in Lucene 3.0. Use Searcher.search(Query, Filter, int, Sort) instead.
search(Query, Filter, int, Sort) - Method in class org.apache.lucene.search.Searcher
Search implementation with arbitrary sorting.
search(Query, HitCollector) - Method in class org.apache.lucene.search.Searcher
Deprecated. use Searcher.search(Query, Collector) instead.
search(Query, Collector) - Method in class org.apache.lucene.search.Searcher
Lower-level search API.
search(Query, Filter, HitCollector) - Method in class org.apache.lucene.search.Searcher
Deprecated. use Searcher.search(Query, Filter, Collector) instead.
search(Query, Filter, Collector) - Method in class org.apache.lucene.search.Searcher
Lower-level search API.
search(Query, Filter, int) - Method in class org.apache.lucene.search.Searcher
Finds the top n hits for query, applying filter if non-null.
search(Query, int) - Method in class org.apache.lucene.search.Searcher
Finds the top n hits for query.
search(Weight, Filter, HitCollector) - Method in class org.apache.lucene.search.Searcher
Deprecated. use Searcher.search(Weight, Filter, Collector) instead.
search(Weight, Filter, Collector) - Method in class org.apache.lucene.search.Searcher
 
search(Weight, Filter, int) - Method in class org.apache.lucene.search.Searcher
 
search(Weight, Filter, int, Sort) - Method in class org.apache.lucene.search.Searcher
 
Searchable - Interface in org.apache.lucene.search
The interface for search implementations.
Searcher - Class in org.apache.lucene.search
An abstract base class for search implementations.
Searcher() - Constructor for class org.apache.lucene.search.Searcher
 
SECOND - Static variable in class org.apache.lucene.document.DateTools.Resolution
 
seek(Term) - Method in class org.apache.lucene.index.AbstractAllTermDocs
 
seek(TermEnum) - Method in class org.apache.lucene.index.AbstractAllTermDocs
 
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
Not implemented.
seek(TermEnum) - Method in class org.apache.lucene.index.MultipleTermPositions
Not implemented.
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.BufferedIndexInput
 
seek(long) - Method in class org.apache.lucene.store.BufferedIndexOutput
Sets current position in this file, where the next write will occur.
seek(long) - Method in class org.apache.lucene.store.ChecksumIndexInput
 
seek(long) - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
seek(long) - Method in class org.apache.lucene.store.IndexInput
Sets current position in this file, where the next read will occur.
seek(long) - Method in class org.apache.lucene.store.IndexOutput
Sets current position in this file, where the next write will occur.
seek(long) - Method in class org.apache.lucene.store.RAMOutputStream
 
seek(long) - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexOutput
Random-access methods
seekInternal(long) - Method in class org.apache.lucene.store.BufferedIndexInput
Expert: implements seek.
seekInternal(long) - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
segmentFormat - Variable in class org.apache.lucene.index.CheckIndex.Status
String description of the version of the index.
SegmentInfo - Class in org.apache.lucene.index
Information about a segment such as it's name, directory, and files related to the segment.
SegmentInfo(String, int, Directory) - Constructor for class org.apache.lucene.index.SegmentInfo
 
SegmentInfo(String, int, Directory, boolean, boolean) - Constructor for class org.apache.lucene.index.SegmentInfo
 
SegmentInfo(String, int, Directory, boolean, boolean, int, String, boolean, boolean) - Constructor for class org.apache.lucene.index.SegmentInfo
 
segmentInfos - Variable in class org.apache.lucene.index.CheckIndex.Status
List of CheckIndex.Status.SegmentInfoStatus instances, detailing status of each segment.
SegmentInfos - Class in org.apache.lucene.index
A collection of segmentInfo objects with methods for operating on those segments in relation to the file system.
SegmentInfos() - Constructor for class org.apache.lucene.index.SegmentInfos
 
SegmentInfos.FindSegmentsFile - Class in org.apache.lucene.index
Utility class for executing code that needs to do something with the current segments file.
SegmentInfos.FindSegmentsFile(Directory) - Constructor for class org.apache.lucene.index.SegmentInfos.FindSegmentsFile
 
SegmentReader - Class in org.apache.lucene.index
NOTE: This API is new and still experimental (subject to change suddenly in the next release)
SegmentReader() - Constructor for class org.apache.lucene.index.SegmentReader
 
segmentsChecked - Variable in class org.apache.lucene.index.CheckIndex.Status
Empty unless you passed specific segments list to check as optional 3rd argument.
segmentsFileName - Variable in class org.apache.lucene.index.CheckIndex.Status
Name of latest segments_N file in the index.
segString() - Method in class org.apache.lucene.index.IndexWriter
 
segString(Directory) - Method in class org.apache.lucene.index.MergePolicy.MergeSpecification
 
segString(Directory) - Method in class org.apache.lucene.index.SegmentInfo
Used for debugging
segString(Directory) - Method in class org.apache.lucene.index.SegmentInfos
 
SerialMergeScheduler - Class in org.apache.lucene.index
A MergeScheduler that simply does each merge sequentially, using the current thread.
SerialMergeScheduler() - Constructor for class org.apache.lucene.index.SerialMergeScheduler
 
set(int) - Method in class org.apache.lucene.util.BitVector
Sets the value of bit to one.
set(Object) - Method in class org.apache.lucene.util.CloseableThreadLocal
 
set(long) - Method in class org.apache.lucene.util.OpenBitSet
sets a bit, expanding the set size if necessary
set(long, long) - Method in class org.apache.lucene.util.OpenBitSet
Sets a range of bits, expanding the set size if necessary
setAllowDocsOutOfOrder(boolean) - Static method in class org.apache.lucene.search.BooleanQuery
Deprecated. this is not needed anymore, as Weight.scoresDocsOutOfOrder() is used.
setAllowLeadingWildcard(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
Set to true to allow leading wildcard characters.
setAllowMinus1Position() - Method in class org.apache.lucene.index.IndexWriter
Deprecated: emulates IndexWriter's buggy behavior when first token(s) have positionIncrement==0 (ie, prior to fixing LUCENE-1542)
SetBasedFieldSelector - Class in org.apache.lucene.document
Declare what fields to load normally and what fields to load lazily
SetBasedFieldSelector(Set, Set) - Constructor for class org.apache.lucene.document.SetBasedFieldSelector
Pass in the Set of Field names to load and the Set of Field names to load lazily.
setBits(long[]) - Method in class org.apache.lucene.util.OpenBitSet
Expert: sets a new long[] to use as the bit storage
setBoost(float) - Method in class org.apache.lucene.document.AbstractField
Sets the boost factor hits on this field.
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 interface org.apache.lucene.document.Fieldable
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.
setBoost(float) - Method in class org.apache.lucene.search.RangeQuery
Deprecated.  
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
 
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
 
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
 
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
 
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
 
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
 
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator
Set the bottom slot, ie the "weakest" (sorted last) entry in the queue.
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
 
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.StringComparatorLocale
 
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
 
setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.StringValComparator
 
setBufferSize(int) - Method in class org.apache.lucene.store.BufferedIndexInput
Change the buffer size used by this IndexInput
setCacheSize(int) - Method in class org.apache.lucene.search.FilterManager
Sets the max size that cache should reach before it is cleaned up
setCalibrateSizeByDeletes(boolean) - Method in class org.apache.lucene.index.LogMergePolicy
Sets whether the segment size should be calibrated by the number of deletes when choosing segments for merge.
setCleanThreadSleepTime(long) - Method in class org.apache.lucene.search.FilterManager
Sets the cache cleaning frequency in milliseconds.
setData(byte[]) - Method in class org.apache.lucene.index.Payload
Sets this payloads data.
setData(byte[], int, int) - Method in class org.apache.lucene.index.Payload
Sets this payloads data.
setDateResolution(DateTools.Resolution) - Method in class org.apache.lucene.queryParser.QueryParser
Sets the default date resolution used by RangeQueries for fields for which no specific date resolutions has been set.
setDateResolution(String, DateTools.Resolution) - Method in class org.apache.lucene.queryParser.QueryParser
Sets the date resolution used by RangeQueries for a specific field.
setDebugStream(PrintStream) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
Set debug output.
setDefault(Similarity) - Static method in class org.apache.lucene.search.Similarity
Set the default Similarity implementation used by indexing and search code.
setDefaultFieldSortScoring(boolean, boolean) - Method in class org.apache.lucene.search.IndexSearcher
By default, no scores are computed when sorting by field (using Searcher.search(Query,Filter,int,Sort)).
setDefaultGenFileRetryCount(int) - Static method in class org.apache.lucene.index.SegmentInfos
Advanced: set how many times to try loading the segments.gen file contents to determine current segment generation.
setDefaultGenFileRetryPauseMsec(int) - Static method in class org.apache.lucene.index.SegmentInfos
Advanced: set how many milliseconds to pause in between attempts to load the segments.gen file.
setDefaultGenLookaheadCount(int) - Static method in class org.apache.lucene.index.SegmentInfos
Advanced: set how many times to try incrementing the gen when loading the segments file.
setDefaultInfoStream(PrintStream) - Static method in class org.apache.lucene.index.IndexWriter
If non-null, this will be the default infoStream used by a newly instantiated IndexWriter.
setDefaultOperator(QueryParser.Operator) - Method in class org.apache.lucene.queryParser.QueryParser
Sets the boolean operator of the QueryParser.
setDefaultReplaceInvalidAcronym(boolean) - Static method in class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. This will be removed (hardwired to true) in 3.0
setDefaultWriteLockTimeout(long) - Static method in class org.apache.lucene.index.IndexWriter
Sets the default (for any instance of IndexWriter) maximum time to wait for a write lock (in milliseconds).
setDescription(String) - Method in class org.apache.lucene.search.Explanation
Sets the description of this explanation node.
setDisableFakeNorms(boolean) - Method in class org.apache.lucene.index.IndexReader
Deprecated. This currently defaults to false (to remain back-compatible), but in 3.0 it will be hardwired to true, meaning the norms() methods will return null for fields that had disabled norms.
setDisableLocks(boolean) - Static method in class org.apache.lucene.store.FSDirectory
Deprecated. Use a FSDirectory.open(File, LockFactory) or a constructor that takes a LockFactory and supply NoLockFactory.getNoLockFactory(). This setting does not work with FSDirectory.open(File) only the deprecated getDirectory respect this setting.
setDiscountOverlaps(boolean) - Method in class org.apache.lucene.search.DefaultSimilarity
Determines whether overlap tokens (Tokens with 0 position increment) are ignored when computing norm.
setDocCountPercent(double) - Method in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
If the number of documents to be visited in the postings exceeds this specified percentage of the maxDoc() for the index, then MultiTermQuery.CONSTANT_SCORE_FILTER_REWRITE is used.
setDocumentNumber(int) - Method in class org.apache.lucene.index.TermVectorMapper
Passes down the index of the document whose term vector is currently being mapped, once for each top level call to a term vector reader.
setDoubleValue(double) - Method in class org.apache.lucene.analysis.NumericTokenStream
Initializes the token stream with the supplied double value.
setDoubleValue(double) - Method in class org.apache.lucene.document.NumericField
Initializes the field with the supplied double value.
setEnablePositionIncrements(boolean) - Method in class org.apache.lucene.analysis.StopFilter
If true, this StopFilter will preserve positions of the incoming tokens (ie, accumulate and set position increments of the removed stop tokens).
setEnablePositionIncrements(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
Set to true to enable position increments in result query.
setEnablePositionIncrementsDefault(boolean) - Static method in class org.apache.lucene.analysis.StopFilter
Deprecated. Please specify this when you create the StopFilter
setEndOffset(int) - Method in class org.apache.lucene.analysis.Token
Set the ending offset.
setEndOffset(int) - Method in class org.apache.lucene.index.TermVectorOffsetInfo
 
setEnum(TermEnum) - Method in class org.apache.lucene.search.FilteredTermEnum
use this method to set the actual TermEnum (e.g.
setEstimatedSize(String) - Method in class org.apache.lucene.search.FieldCache.CacheEntry
 
setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.FieldSortedTermVectorMapper
 
setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.PositionBasedTermVectorMapper
Callback mechanism used by the TermVectorReader
setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.SortedTermVectorMapper
 
setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.TermVectorMapper
Tell the mapper what to expect in regards to field, number of terms, offset and position storage.
setFlags(int) - Method in class org.apache.lucene.analysis.Token
 
setFlags(int) - Method in interface org.apache.lucene.analysis.tokenattributes.FlagsAttribute
 
setFlags(int) - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
 
setFloatValue(float) - Method in class org.apache.lucene.analysis.NumericTokenStream
Initializes the token stream with the supplied float value.
setFloatValue(float) - Method in class org.apache.lucene.document.NumericField
Initializes the field with the supplied float value.
setFreqCurrentDoc() - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
 
setFreqCurrentDoc() - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
 
setFreqCurrentDoc() - Method in class org.apache.lucene.search.spans.SpanScorer
 
setFuzzyMinSim(float) - Method in class org.apache.lucene.queryParser.QueryParser
Set the minimum similarity for fuzzy queries.
setFuzzyPrefixLength(int) - Method in class org.apache.lucene.queryParser.QueryParser
Set the prefix length for fuzzy queries.
setGreedy(boolean) - Method in class org.apache.lucene.search.TimeLimitedCollector
Deprecated. Sets whether this time limited collector is greedy.
setGreedy(boolean) - Method in class org.apache.lucene.search.TimeLimitingCollector
Sets whether this time limited collector is greedy.
setInfoStream(PrintStream) - Method in class org.apache.lucene.index.CheckIndex
Set infoStream where messages should go.
setInfoStream(PrintStream) - Method in class org.apache.lucene.index.IndexModifier
Deprecated. If non-null, information about merges and a message when IndexModifier.getMaxFieldLength() is reached will be printed to this.
setInfoStream(PrintStream) - Method in class org.apache.lucene.index.IndexWriter
If non-null, information about merges, deletes and a message when maxFieldLength is reached will be printed to this.
setInfoStream(PrintStream) - Static method in class org.apache.lucene.index.SegmentInfos
If non-null, information about retries when loading the segments file will be printed to this.
setInfoStream(PrintStream) - Method in interface org.apache.lucene.search.FieldCache
If non-null, FieldCacheImpl will warn whenever entries are created that are not sane according to FieldCacheSanityChecker.
setIntValue(int) - Method in class org.apache.lucene.analysis.NumericTokenStream
Initializes the token stream with the supplied int value.
setIntValue(int) - Method in class org.apache.lucene.document.NumericField
Initializes the field with the supplied int value.
setLastModified(long) - Method in class org.apache.lucene.store.RAMFile
 
setLength(long) - Method in class org.apache.lucene.store.IndexOutput
Set the file length.
setLength(long) - Method in class org.apache.lucene.store.RAMFile
 
setLength(long) - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexOutput
 
setLength(int) - Method in class org.apache.lucene.util.UnicodeUtil.UTF16Result
 
setLength(int) - Method in class org.apache.lucene.util.UnicodeUtil.UTF8Result
 
setLocale(Locale) - Method in class org.apache.lucene.queryParser.QueryParser
Set locale used by date range parsing.
setLockDir(File) - Method in class org.apache.lucene.store.FSLockFactory
Set the lock directory.
setLockFactory(LockFactory) - Method in class org.apache.lucene.store.Directory
Set the LockFactory that this Directory instance should use for its locking implementation.
setLockPrefix(String) - Method in class org.apache.lucene.store.LockFactory
Set the prefix in use for all locks created in this LockFactory.
setLongValue(long) - Method in class org.apache.lucene.analysis.NumericTokenStream
Initializes the token stream with the supplied long value.
setLongValue(long) - Method in class org.apache.lucene.document.NumericField
Initializes the field with the supplied long value.
setLowercaseExpandedTerms(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
Whether terms of wildcard, prefix, fuzzy and range queries are to be automatically lower-cased or not.
setMatch(Boolean) - Method in class org.apache.lucene.search.ComplexExplanation
Sets the match status assigned to this explanation node.
setMaxBufferedDeleteTerms(int) - Method in class org.apache.lucene.index.IndexWriter
Determines the minimal number of delete terms required before the buffered in-memory delete terms are applied and flushed.
setMaxBufferedDocs(int) - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Determines the minimal number of documents required before the buffered in-memory documents are merging and a new Segment is created.
setMaxBufferedDocs(int) - Method in class org.apache.lucene.index.IndexWriter
Determines the minimal number of documents required before the buffered in-memory documents are flushed as a new Segment.
setMaxChunkSize(int) - Method in class org.apache.lucene.store.MMapDirectory
Sets the maximum chunk size (default is Integer.MAX_VALUE for 64 bit JVMs and 256 MiBytes for 32 bit JVMs) used for memory mapping.
setMaxClauseCount(int) - Static method in class org.apache.lucene.search.BooleanQuery
Set the maximum number of clauses permitted per BooleanQuery.
setMaxFieldLength(int) - Method in class org.apache.lucene.index.IndexModifier
Deprecated. The maximum number of terms that will be indexed for a single field in a document.
setMaxFieldLength(int) - Method in class org.apache.lucene.index.IndexWriter
The maximum number of terms that will be indexed for a single field in a document.
setMaxMergeDocs(int) - Method in class org.apache.lucene.index.IndexWriter
Determines the largest segment (measured by document count) that may be merged with other segments.
setMaxMergeDocs(int) - Method in class org.apache.lucene.index.LogMergePolicy
Determines the largest segment (measured by document count) that may be merged with other segments.
setMaxMergeMB(double) - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
Determines the largest segment (measured by total byte size of the segment's files, in MB) that may be merged with other segments.
setMaxScore(float) - Method in class org.apache.lucene.search.TopDocs
Sets the maximum score value encountered.
setMaxSyncPauseSeconds(double) - Method in class org.apache.lucene.index.IndexWriter
Deprecated. This will be removed in 3.0, when autoCommit=true is removed from IndexWriter.
setMaxThreadCount(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
Sets the max # simultaneous threads that may be running.
setMaxTokenLength(int) - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
Set maximum allowed token length.
setMaxTokenLength(int) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
Set the max allowed token length.
setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer) - Method in class org.apache.lucene.index.IndexWriter
Set the merged segment warmer.
setMergeFactor(int) - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Determines how often segment indices are merged by addDocument().
setMergeFactor(int) - Method in class org.apache.lucene.index.IndexWriter
Determines how often segment indices are merged by addDocument().
setMergeFactor(int) - Method in class org.apache.lucene.index.LogMergePolicy
Determines how often segment indices are merged by addDocument().
setMergePolicy(MergePolicy) - Method in class org.apache.lucene.index.IndexWriter
Expert: set the merge policy used by this writer.
setMergeScheduler(MergeScheduler) - Method in class org.apache.lucene.index.IndexWriter
Expert: set the merge scheduler used by this writer.
setMergeThreadPriority(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
Return the priority that merge threads run at.
setMinimumNumberShouldMatch(int) - Method in class org.apache.lucene.search.BooleanQuery
Specifies a minimum number of the optional BooleanClauses which must be satisfied.
setMinMergeDocs(int) - Method in class org.apache.lucene.index.LogDocMergePolicy
Sets the minimum size for the lowest level segments.
setMinMergeMB(double) - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
Sets the minimum size for the lowest level segments.
setModifiedUTF8StringsMode() - Method in class org.apache.lucene.store.IndexInput
Call this if readString should read characters stored in the old modified UTF8 format (length in java chars and java's modified UTF8 encoding).
setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod) - Method in class org.apache.lucene.queryParser.QueryParser
By default QueryParser uses MultiTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT when creating a PrefixQuery, WildcardQuery or RangeQuery.
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.Collector
Called before collecting from each IndexReader.
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator
Set a new Reader.
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.StringComparatorLocale
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.StringValComparator
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.HitCollectorWrapper
Deprecated.  
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.PositiveScoresOnlyCollector
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.TimeLimitingCollector
 
setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.TopScoreDocCollector
 
setNoCFSRatio(double) - Method in class org.apache.lucene.index.LogMergePolicy
If a merged segment will be more than this percentage of the total size of the index, leave the segment as non-compound file even if compound file is enabled.
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.
setNumWords(int) - Method in class org.apache.lucene.util.OpenBitSet
Expert: sets the number of longs in the array that are in use
setOccur(BooleanClause.Occur) - Method in class org.apache.lucene.search.BooleanClause
 
setOffset(int, int) - Method in class org.apache.lucene.analysis.Token
Set the starting and ending offset.
setOffset(int, int) - Method in interface org.apache.lucene.analysis.tokenattributes.OffsetAttribute
Set the starting and ending offset.
setOffset(int, int) - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
Set the starting and ending offset.
setOmitNorms(boolean) - Method in class org.apache.lucene.document.AbstractField
Expert: If set, omit normalization factors associated with this indexed field.
setOmitNorms(boolean) - Method in interface org.apache.lucene.document.Fieldable
Expert: If set, omit normalization factors associated with this indexed field.
setOmitTermFreqAndPositions(boolean) - Method in class org.apache.lucene.document.AbstractField
Expert: If set, omit term freq, positions and payloads from postings for this field.
setOmitTf(boolean) - Method in class org.apache.lucene.document.AbstractField
Deprecated. Renamed to AbstractField.setOmitTermFreqAndPositions(boolean)
setOmitTf(boolean) - Method in interface org.apache.lucene.document.Fieldable
Deprecated. Renamed to AbstractField.setOmitTermFreqAndPositions(boolean)
setOnlyUseNewAPI(boolean) - Static method in class org.apache.lucene.analysis.TokenStream
Deprecated. This setting will no longer be needed in Lucene 3.0 as the old API will be removed.
setOverridesTokenStreamMethod(Class) - Method in class org.apache.lucene.analysis.Analyzer
Deprecated. This is only present to preserve back-compat of classes that subclass a core analyzer and override tokenStream but not reusableTokenStream
setPayload(Payload) - Method in class org.apache.lucene.analysis.Token
Sets this Token's payload.
setPayload(Payload) - Method in interface org.apache.lucene.analysis.tokenattributes.PayloadAttribute
Sets this Token's payload.
setPayload(Payload) - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
Sets this Token's payload.
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.
setPositionIncrement(int) - Method in interface org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute
Set the position increment.
setPositionIncrement(int) - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
Set the position increment.
setPreviousTokenStream(Object) - Method in class org.apache.lucene.analysis.Analyzer
Used by Analyzers that implement reusableTokenStream to save a TokenStream for later re-use by the same thread.
setQuery(Query) - Method in class org.apache.lucene.search.BooleanClause
 
setRAMBufferSizeMB(double) - Method in class org.apache.lucene.index.IndexWriter
Determines the amount of RAM that may be used for buffering added documents and deletions before they are flushed to the Directory.
setRamUsageEstimator(RamUsageEstimator) - Method in class org.apache.lucene.util.FieldCacheSanityChecker
If set, will be used to estimate size for all CacheEntry objects dealt with.
setRangeCollator(Collator) - Method in class org.apache.lucene.queryParser.QueryParser
Sets the collator used to determine index term inclusion in ranges for RangeQuerys.
setReadChunkSize(int) - Method in class org.apache.lucene.store.FSDirectory
Sets the maximum number of bytes read at once from the underlying file during BufferedIndexInput.readBytes(byte[], int, int).
setReaderTermsIndexDivisor(int) - Method in class org.apache.lucene.index.IndexWriter
Sets the termsIndexDivisor passed to any readers that IndexWriter opens, for example when applying deletes or creating a near-real-time reader in IndexWriter.getReader().
setReplaceInvalidAcronym(boolean) - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. This will be removed (hardwired to true) in 3.0
setReplaceInvalidAcronym(boolean) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
Deprecated. Remove in 3.X and make true the only valid value See https://issues.apache.org/jira/browse/LUCENE-1068
setResolution(long) - Static method in class org.apache.lucene.search.TimeLimitedCollector
Deprecated. Set the timer resolution.
setResolution(long) - Static method in class org.apache.lucene.search.TimeLimitingCollector
Set the timer resolution.
setRewriteMethod(MultiTermQuery.RewriteMethod) - Method in class org.apache.lucene.search.ConstantScoreRangeQuery
Deprecated. Changes of mode are not supported by this class (fixed to constant score rewrite mode)
setRewriteMethod(MultiTermQuery.RewriteMethod) - Method in class org.apache.lucene.search.FuzzyQuery
 
setRewriteMethod(MultiTermQuery.RewriteMethod) - Method in class org.apache.lucene.search.MultiTermQuery
Sets the rewrite method to be used when executing the query.
setRunningMerge(MergePolicy.OneMerge) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
 
setScorer(Scorer) - Method in class org.apache.lucene.search.Collector
Called before successive calls to Collector.collect(int).
setScorer(Scorer) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
setScorer(Scorer) - Method in class org.apache.lucene.search.FieldComparator
Sets the Scorer to use in case a document's score is needed.
setScorer(Scorer) - Method in class org.apache.lucene.search.HitCollectorWrapper
Deprecated.  
setScorer(Scorer) - Method in class org.apache.lucene.search.PositiveScoresOnlyCollector
 
setScorer(Scorer) - Method in class org.apache.lucene.search.TimeLimitingCollector
 
setScorer(Scorer) - Method in class org.apache.lucene.search.TopScoreDocCollector
 
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.MultiPhraseQuery
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
Deprecated. Please specify the type explicitly by first creating a SortField and then use Sort.setSort(SortField)
setSort(String, boolean) - Method in class org.apache.lucene.search.Sort
Deprecated. Please specify the type explicitly by first creating a SortField and then use Sort.setSort(SortField)
setSort(String[]) - Method in class org.apache.lucene.search.Sort
Deprecated. Please specify the type explicitly by first creating SortFields and then use Sort.setSort(SortField[])
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.
setStartOffset(int) - Method in class org.apache.lucene.analysis.Token
Set the starting offset.
setStartOffset(int) - Method in class org.apache.lucene.index.TermVectorOffsetInfo
 
setStoreTermVector(Field.TermVector) - Method in class org.apache.lucene.document.AbstractField
 
setStrict(boolean) - Method in class org.apache.lucene.search.function.CustomScoreQuery
Set the strict mode of this query.
setTermBuffer(char[], int, int) - Method in class org.apache.lucene.analysis.Token
Copies the contents of buffer, starting at offset for length characters, into the termBuffer array.
setTermBuffer(String) - Method in class org.apache.lucene.analysis.Token
Copies the contents of buffer into the termBuffer array.
setTermBuffer(String, int, int) - Method in class org.apache.lucene.analysis.Token
Copies the contents of buffer, starting at offset and continuing for length characters, into the termBuffer array.
setTermBuffer(char[], int, int) - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
Copies the contents of buffer, starting at offset for length characters, into the termBuffer array.
setTermBuffer(String) - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
Copies the contents of buffer into the termBuffer array.
setTermBuffer(String, int, int) - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
Copies the contents of buffer, starting at offset and continuing for length characters, into the termBuffer array.
setTermBuffer(char[], int, int) - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
Copies the contents of buffer, starting at offset for length characters, into the termBuffer array.
setTermBuffer(String) - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
Copies the contents of buffer into the termBuffer array.
setTermBuffer(String, int, int) - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
Copies the contents of buffer, starting at offset and continuing for length characters, into the termBuffer array.
setTermCountCutoff(int) - Method in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
If the number of terms in this query is equal to or larger than this setting then MultiTermQuery.CONSTANT_SCORE_FILTER_REWRITE is used.
setTermIndexInterval(int) - Method in class org.apache.lucene.index.IndexWriter
Expert: Set the interval between indexed terms.
setTermInfosIndexDivisor(int) - Method in class org.apache.lucene.index.IndexReader
Deprecated. Please use IndexReader.open(Directory, IndexDeletionPolicy, boolean, int) to specify the required TermInfos index divisor instead.
setTermLength(int) - Method in class org.apache.lucene.analysis.Token
Set number of valid characters (length of the term) in the termBuffer array.
setTermLength(int) - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
Set number of valid characters (length of the term) in the termBuffer array.
setTermLength(int) - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
Set number of valid characters (length of the term) in the termBuffer array.
setTermText(String) - Method in class org.apache.lucene.analysis.Token
Deprecated. use Token.setTermBuffer(char[], int, int) or Token.setTermBuffer(String) or Token.setTermBuffer(String, int, int).
setTestMode() - Static method in class org.apache.lucene.index.ConcurrentMergeScheduler
 
setThreadPriority(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
 
setTokenStream(TokenStream) - Method in class org.apache.lucene.document.Field
Expert: sets the token stream to be used for indexing and causes isIndexed() and isTokenized() to return true.
setType(String) - Method in class org.apache.lucene.analysis.Token
Set the lexical type.
setType(String) - Method in interface org.apache.lucene.analysis.tokenattributes.TypeAttribute
Set the lexical type.
setType(String) - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
Set the lexical type.
setUseCompoundDocStore(boolean) - Method in class org.apache.lucene.index.LogMergePolicy
Sets whether compound file format should be used for newly flushed and newly merged doc store segment files (term vectors and stored fields).
setUseCompoundFile(boolean) - Method in class org.apache.lucene.index.IndexModifier
Deprecated. Setting to turn on usage of a compound file.
setUseCompoundFile(boolean) - Method in class org.apache.lucene.index.IndexWriter
Setting to turn on usage of a compound file.
setUseCompoundFile(boolean) - Method in class org.apache.lucene.index.LogMergePolicy
Sets whether compound file format should be used for newly flushed and newly merged segments.
setUseLegacySearch(boolean) - Method in class org.apache.lucene.search.SortField
Deprecated. will be removed in Lucene 3.0.
setUseOldRangeQuery(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
Deprecated. Please use QueryParser.setMultiTermRewriteMethod(org.apache.lucene.search.MultiTermQuery.RewriteMethod) instead.
setUseScorer14(boolean) - Static method in class org.apache.lucene.search.BooleanQuery
Deprecated. Use BooleanQuery.setAllowDocsOutOfOrder(boolean) instead.
setUseUnmap(boolean) - Method in class org.apache.lucene.store.MMapDirectory
This method enables the workaround for unmapping the buffers from address space after closing IndexInput, that is mentioned in the bug report.
setValue(String) - Method in class org.apache.lucene.document.Field
Expert: change the value of this field.
setValue(Reader) - Method in class org.apache.lucene.document.Field
Expert: change the value of this field.
setValue(byte[]) - Method in class org.apache.lucene.document.Field
Expert: change the value of this field.
setValue(byte[], int, int) - Method in class org.apache.lucene.document.Field
Expert: change the value of this field.
setValue(TokenStream) - Method in class org.apache.lucene.document.Field
Deprecated. use Field.setTokenStream(org.apache.lucene.analysis.TokenStream)
setValue(float) - Method in class org.apache.lucene.search.Explanation
Sets the value assigned to this explanation node.
setWriteLockTimeout(long) - Method in class org.apache.lucene.index.IndexWriter
Sets the maximum time to wait for a write lock (in milliseconds) for this instance of IndexWriter.
SHIFT_START_INT - Static variable in class org.apache.lucene.util.NumericUtils
Expert: Integers are stored at lower precision by shifting off lower bits.
SHIFT_START_LONG - Static variable in class org.apache.lucene.util.NumericUtils
Expert: Longs are stored at lower precision by shifting off lower bits.
SHORT - Static variable in class org.apache.lucene.search.function.FieldScoreQuery.Type
field values are interpreted as numeric short values.
SHORT - Static variable in class org.apache.lucene.search.SortField
Sort using term values as encoded Shorts.
ShortFieldSource - Class in org.apache.lucene.search.function
Expert: obtains short field values from the FieldCache using getShorts() and makes those values available as other numeric types, casting as needed.
ShortFieldSource(String) - Constructor for class org.apache.lucene.search.function.ShortFieldSource
Create a cached short field source with default string-to-short parser.
ShortFieldSource(String, FieldCache.ShortParser) - Constructor for class org.apache.lucene.search.function.ShortFieldSource
Create a cached short field source with a specific string-to-short parser.
SHOULD - Static variable in class org.apache.lucene.search.BooleanClause.Occur
Use this operator for clauses that should appear in the matching documents.
shrink(int[], int) - Static method in class org.apache.lucene.util.ArrayUtil
 
shrink(long[], int) - Static method in class org.apache.lucene.util.ArrayUtil
 
shrink(byte[], int) - Static method in class org.apache.lucene.util.ArrayUtil
 
similarity - Variable in class org.apache.lucene.search.BooleanQuery.BooleanWeight
The Similarity implementation.
similarity - Variable in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
The Similarity implementation.
Similarity - Class in org.apache.lucene.search
Expert: Scoring API.
Similarity() - Constructor for class org.apache.lucene.search.Similarity
 
similarity - Variable in class org.apache.lucene.search.spans.SpanWeight
 
SimilarityDelegator - Class in org.apache.lucene.search
Expert: Delegating scoring implementation.
SimilarityDelegator(Similarity) - Constructor for class org.apache.lucene.search.SimilarityDelegator
Construct a Similarity that delegates all methods to another.
SimpleAnalyzer - Class in org.apache.lucene.analysis
An Analyzer that filters LetterTokenizer with LowerCaseFilter
SimpleAnalyzer() - Constructor for class org.apache.lucene.analysis.SimpleAnalyzer
 
SimpleFSDirectory - Class in org.apache.lucene.store
A straightforward implementation of FSDirectory using java.io.RandomAccessFile.
SimpleFSDirectory(File, LockFactory) - Constructor for class org.apache.lucene.store.SimpleFSDirectory
Create a new SimpleFSDirectory for the named location.
SimpleFSDirectory(File) - Constructor for class org.apache.lucene.store.SimpleFSDirectory
Create a new SimpleFSDirectory for the named location and NativeFSLockFactory.
SimpleFSDirectory.SimpleFSIndexInput - Class in org.apache.lucene.store
 
SimpleFSDirectory.SimpleFSIndexInput(File) - Constructor for class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
Deprecated. Please use ctor taking chunkSize
SimpleFSDirectory.SimpleFSIndexInput(File, int) - Constructor for class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
Deprecated. Please use ctor taking chunkSize
SimpleFSDirectory.SimpleFSIndexInput(File, int, int) - Constructor for class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
 
SimpleFSDirectory.SimpleFSIndexInput.Descriptor - Class in org.apache.lucene.store
 
SimpleFSDirectory.SimpleFSIndexInput.Descriptor(File, String) - Constructor for class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput.Descriptor
 
SimpleFSDirectory.SimpleFSIndexOutput - Class in org.apache.lucene.store
 
SimpleFSDirectory.SimpleFSIndexOutput(File) - Constructor for class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexOutput
 
SimpleFSLockFactory - Class in org.apache.lucene.store
Implements LockFactory using File.createNewFile().
SimpleFSLockFactory() - Constructor for class org.apache.lucene.store.SimpleFSLockFactory
Create a SimpleFSLockFactory instance, with null (unset) lock directory.
SimpleFSLockFactory(File) - Constructor for class org.apache.lucene.store.SimpleFSLockFactory
Instantiate using the provided directory (as a File instance).
SimpleFSLockFactory(String) - Constructor for class org.apache.lucene.store.SimpleFSLockFactory
Instantiate using the provided directory name (String).
SimpleLRUCache - Class in org.apache.lucene.util.cache
Simple LRU cache implementation that uses a LinkedHashMap.
SimpleLRUCache(int) - Constructor for class org.apache.lucene.util.cache.SimpleLRUCache
Creates a last-recently-used cache with the specified size.
SimpleMapCache - Class in org.apache.lucene.util.cache
Simple cache implementation that uses a HashMap to store (key, value) pairs.
SimpleMapCache() - Constructor for class org.apache.lucene.util.cache.SimpleMapCache
 
SimpleMapCache(Map) - Constructor for class org.apache.lucene.util.cache.SimpleMapCache
 
SimpleStringInterner - Class in org.apache.lucene.util
Simple lockless and memory barrier free String intern cache that is guaranteed to return the same String instance as String.intern() does.
SimpleStringInterner(int, int) - Constructor for class org.apache.lucene.util.SimpleStringInterner
 
SingleInstanceLockFactory - Class in org.apache.lucene.store
Implements LockFactory for a single in-process instance, meaning all locking will take place through this one instance.
SingleInstanceLockFactory() - Constructor for class org.apache.lucene.store.SingleInstanceLockFactory
 
SinkTokenizer - Class in org.apache.lucene.analysis
Deprecated. Use TeeSinkTokenFilter instead
SinkTokenizer(List) - Constructor for class org.apache.lucene.analysis.SinkTokenizer
Deprecated.  
SinkTokenizer() - Constructor for class org.apache.lucene.analysis.SinkTokenizer
Deprecated.  
SinkTokenizer(int) - Constructor for class org.apache.lucene.analysis.SinkTokenizer
Deprecated.  
size() - Method in class org.apache.lucene.analysis.CharArraySet
 
SIZE - Static variable in class org.apache.lucene.document.FieldSelectorResult
Expert: Load the size of this Field rather than its value.
size(SegmentInfo) - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
 
size(SegmentInfo) - Method in class org.apache.lucene.index.LogDocMergePolicy
 
size(SegmentInfo) - Method in class org.apache.lucene.index.LogMergePolicy
 
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.OpenBitSet
Returns the current capacity of this set.
size() - Method in class org.apache.lucene.util.PriorityQueue
Returns the number of elements currently stored in the PriorityQueue.
size() - Method in class org.apache.lucene.util.ScorerDocQueue
Returns the number of scorers currently stored in the ScorerDocQueue.
size() - Method in class org.apache.lucene.util.SortedVIntList
 
SIZE_AND_BREAK - Static variable in class org.apache.lucene.document.FieldSelectorResult
Expert: Like FieldSelectorResult.SIZE but immediately break from the field loading loop, i.e., stop loading further fields, after the size is loaded
sizeBytes(SegmentInfo) - Method in class org.apache.lucene.index.LogMergePolicy
 
sizeDocs(SegmentInfo) - Method in class org.apache.lucene.index.LogMergePolicy
 
sizeInBytes() - Method in class org.apache.lucene.index.SegmentInfo
Returns total size in bytes of all of files used by this segment.
sizeInBytes() - Method in class org.apache.lucene.store.RAMDirectory
Return total size in bytes of all files in this directory.
sizeInBytes - Variable in class org.apache.lucene.store.RAMFile
 
sizeInBytes() - Method in class org.apache.lucene.store.RAMOutputStream
Returns byte usage of all buffers.
sizeMB - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Net size (MB) of the files referenced by this segment.
skipChars(int) - Method in class org.apache.lucene.store.IndexInput
Deprecated. this method operates on old "modified utf8" encoded strings
skipTo(int) - Method in class org.apache.lucene.index.AbstractAllTermDocs
 
skipTo(int) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
 
skipTo(int) - Method in class org.apache.lucene.index.MultipleTermPositions
 
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
Deprecated. This method is not performant and will be removed in Lucene 3.0. Use IndexReader.terms(Term) to create a new TermEnum positioned at a given term.
skipTo(int) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
Deprecated. use ConstantScoreQuery.ConstantScorer.advance(int) instead.
skipTo(int) - Method in class org.apache.lucene.search.DocIdSetIterator
Deprecated. use DocIdSetIterator.advance(int) instead. This will be removed in 3.0
skipTo(int) - Method in class org.apache.lucene.search.FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator
Deprecated. use FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator.advance(int) instead.
skipTo(int) - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
Deprecated. use FilteredDocIdSetIterator.advance(int) instead.
skipTo(int) - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
Deprecated. use ScoreCachingWrappingScorer.advance(int) instead.
skipTo(int) - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
skipTo(int) - Method in class org.apache.lucene.search.spans.NearSpansUnordered
 
skipTo(int) - Method in class org.apache.lucene.search.spans.Spans
Skips to the first match beyond the current, whose document number is greater than or equal to target.
skipTo(int) - Method in class org.apache.lucene.search.spans.SpanScorer
Deprecated. use SpanScorer.advance(int) instead.
skipTo(int) - Method in class org.apache.lucene.search.spans.TermSpans
 
skipTo(int) - Method in class org.apache.lucene.util.OpenBitSetIterator
Deprecated. use OpenBitSetIterator.advance(int) instead.
slop - Variable in class org.apache.lucene.search.spans.SpanNearQuery
 
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.
sloppyFreq(int) - Method in class org.apache.lucene.search.SimilarityDelegator
 
SmallFloat - Class in org.apache.lucene.util
Floating point numbers smaller than 32 bits.
SmallFloat() - Constructor for class org.apache.lucene.util.SmallFloat
 
snapshot() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
Take a snapshot of the most recent commit to the index.
SnapshotDeletionPolicy - Class in org.apache.lucene.index
A IndexDeletionPolicy that wraps around any other IndexDeletionPolicy and adds the ability to hold and later release a single "snapshot" of an index.
SnapshotDeletionPolicy(IndexDeletionPolicy) - Constructor for class org.apache.lucene.index.SnapshotDeletionPolicy
 
Sort - Class in org.apache.lucene.search
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
Deprecated. Please specify the type explicitly by first creating a SortField and then use Sort.Sort(SortField)
Sort(String, boolean) - Constructor for class org.apache.lucene.search.Sort
Deprecated. Please specify the type explicitly by first creating a SortField and then use Sort.Sort(SortField)
Sort(String[]) - Constructor for class org.apache.lucene.search.Sort
Deprecated. Please specify the type explicitly by first creating SortFields and then use Sort.Sort(SortField[])
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.
sortableIntToFloat(int) - Static method in class org.apache.lucene.util.NumericUtils
Converts a sortable int back to a float.
sortableLongToDouble(long) - Static method in class org.apache.lucene.util.NumericUtils
Converts a sortable long back to a double.
SortComparator - Class in org.apache.lucene.search
Deprecated. Please use FieldComparatorSource instead.
SortComparator() - Constructor for class org.apache.lucene.search.SortComparator
Deprecated.  
SortComparatorSource - Interface in org.apache.lucene.search
Deprecated. Please use FieldComparatorSource instead.
SortedTermVectorMapper - Class in org.apache.lucene.index
Store a sorted collection of TermVectorEntrys.
SortedTermVectorMapper(Comparator) - Constructor for class org.apache.lucene.index.SortedTermVectorMapper
 
SortedTermVectorMapper(boolean, boolean, Comparator) - Constructor for class org.apache.lucene.index.SortedTermVectorMapper
 
SortedVIntList - Class in org.apache.lucene.util
Stores and iterate on sorted integers in compressed form in RAM.
SortedVIntList(int[]) - Constructor for class org.apache.lucene.util.SortedVIntList
Create a SortedVIntList from all elements of an array of integers.
SortedVIntList(int[], int) - Constructor for class org.apache.lucene.util.SortedVIntList
Create a SortedVIntList from an array of integers.
SortedVIntList(BitSet) - Constructor for class org.apache.lucene.util.SortedVIntList
Create a SortedVIntList from a BitSet.
SortedVIntList(OpenBitSet) - Constructor for class org.apache.lucene.util.SortedVIntList
Create a SortedVIntList from an OpenBitSet.
SortedVIntList(DocIdSetIterator) - Constructor for class org.apache.lucene.util.SortedVIntList
Create a SortedVIntList.
SorterTemplate - Class in org.apache.lucene.util
Borrowed from Cglib.
SorterTemplate() - Constructor for class org.apache.lucene.util.SorterTemplate
 
SortField - Class in org.apache.lucene.search
Stores information about how to sort documents by terms in an individual field.
SortField(String) - Constructor for class org.apache.lucene.search.SortField
Deprecated. Please specify the exact type instead.
SortField(String, boolean) - Constructor for class org.apache.lucene.search.SortField
Deprecated. Please specify the exact type instead.
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, FieldCache.Parser) - Constructor for class org.apache.lucene.search.SortField
Creates a sort by terms in the given field, parsed to numeric values using a custom FieldCache.Parser.
SortField(String, FieldCache.Parser, boolean) - Constructor for class org.apache.lucene.search.SortField
Creates a sort, possibly in reverse, by terms in the given field, parsed to numeric values using a custom FieldCache.Parser.
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
Deprecated. use SortField (String field, FieldComparatorSource comparator)
SortField(String, FieldComparatorSource) - 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
Deprecated. use SortField (String field, FieldComparatorSource comparator, boolean reverse)
SortField(String, FieldComparatorSource, boolean) - Constructor for class org.apache.lucene.search.SortField
Creates a sort, possibly in reverse, with a custom comparison function.
sortType() - Method in interface org.apache.lucene.search.ScoreDocComparator
Deprecated. Returns the type of sort.
sortValue(ScoreDoc) - Method in interface org.apache.lucene.search.ScoreDocComparator
Deprecated. Returns the value used to sort the given document.
SpanFilter - Class in org.apache.lucene.search
Abstract base class providing a mechanism to restrict searches to a subset of an index and also maintains and returns position information.
SpanFilter() - Constructor for class org.apache.lucene.search.SpanFilter
 
SpanFilterResult - Class in org.apache.lucene.search
The results of a SpanQueryFilter.
SpanFilterResult(BitSet, List) - Constructor for class org.apache.lucene.search.SpanFilterResult
Deprecated. Use SpanFilterResult.SpanFilterResult(DocIdSet, List) instead
SpanFilterResult(DocIdSet, List) - Constructor for class org.apache.lucene.search.SpanFilterResult
 
SpanFilterResult.PositionInfo - Class in org.apache.lucene.search
 
SpanFilterResult.PositionInfo(int) - Constructor for class org.apache.lucene.search.SpanFilterResult.PositionInfo
 
SpanFilterResult.StartEnd - Class in org.apache.lucene.search
 
SpanFilterResult.StartEnd(int, int) - Constructor for class org.apache.lucene.search.SpanFilterResult.StartEnd
 
SpanFirstQuery - Class in org.apache.lucene.search.spans
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 in org.apache.lucene.search.spans
Matches spans which are near one another.
SpanNearQuery(SpanQuery[], int, boolean) - Constructor for class org.apache.lucene.search.spans.SpanNearQuery
Construct a SpanNearQuery.
SpanNearQuery(SpanQuery[], int, boolean, boolean) - Constructor for class org.apache.lucene.search.spans.SpanNearQuery
 
SpanNotQuery - Class in org.apache.lucene.search.spans
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 in org.apache.lucene.search.spans
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 in org.apache.lucene.search.spans
Base class for span-based queries.
SpanQuery() - Constructor for class org.apache.lucene.search.spans.SpanQuery
 
SpanQueryFilter - Class in org.apache.lucene.search
Constrains search results to only match those which also match a provided query.
SpanQueryFilter() - Constructor for class org.apache.lucene.search.SpanQueryFilter
 
SpanQueryFilter(SpanQuery) - Constructor for class org.apache.lucene.search.SpanQueryFilter
Constructs a filter which only matches documents matching query.
Spans - Class in org.apache.lucene.search.spans
Expert: an enumeration of span matches.
Spans() - Constructor for class org.apache.lucene.search.spans.Spans
 
spans - Variable in class org.apache.lucene.search.spans.SpanScorer
 
SpanScorer - Class in org.apache.lucene.search.spans
Public for extension only.
SpanScorer(Spans, Weight, Similarity, byte[]) - Constructor for class org.apache.lucene.search.spans.SpanScorer
 
SpanTermQuery - Class in org.apache.lucene.search.spans
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.
SpanWeight - Class in org.apache.lucene.search.spans
Expert-only.
SpanWeight(SpanQuery, Searcher) - Constructor for class org.apache.lucene.search.spans.SpanWeight
 
specialConstructor - Variable in exception 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.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.
splitIntRange(NumericUtils.IntRangeBuilder, int, int, int) - Static method in class org.apache.lucene.util.NumericUtils
Expert: Splits an int range recursively.
splitLongRange(NumericUtils.LongRangeBuilder, int, long, long) - Static method in class org.apache.lucene.util.NumericUtils
Expert: Splits a long range recursively.
StaleReaderException - Exception in org.apache.lucene.index
This exception is thrown when an IndexReader tries to make changes to the index (via IndexReader.deleteDocument(int), IndexReader.undeleteAll() or IndexReader.setNorm(int, java.lang.String, byte)) but changes have already been committed to the index since this reader was instantiated.
StaleReaderException(String) - Constructor for exception org.apache.lucene.index.StaleReaderException
 
StandardAnalyzer - Class in org.apache.lucene.analysis.standard
Filters StandardTokenizer with StandardFilter, LowerCaseFilter and StopFilter, using a list of English stop words.
StandardAnalyzer() - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Use StandardAnalyzer.StandardAnalyzer(Version) instead.
StandardAnalyzer(Version) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Builds an analyzer with the default stop words (StandardAnalyzer.STOP_WORDS).
StandardAnalyzer(Set) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Use StandardAnalyzer.StandardAnalyzer(Version, Set) instead
StandardAnalyzer(Version, Set) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Builds an analyzer with the given stop words.
StandardAnalyzer(String[]) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Use StandardAnalyzer.StandardAnalyzer(Version, Set) instead
StandardAnalyzer(File) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Use StandardAnalyzer.StandardAnalyzer(Version, File) instead
StandardAnalyzer(Version, File) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Builds an analyzer with the stop words from the given file.
StandardAnalyzer(Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Use StandardAnalyzer.StandardAnalyzer(Version, Reader) instead
StandardAnalyzer(Version, Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Builds an analyzer with the stop words from the given reader.
StandardAnalyzer(boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Remove in 3.X and make true the only valid value
StandardAnalyzer(Reader, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Remove in 3.X and make true the only valid value
StandardAnalyzer(File, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Remove in 3.X and make true the only valid value
StandardAnalyzer(String[], boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Remove in 3.X and make true the only valid value
StandardAnalyzer(Set, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Remove in 3.X and make true the only valid value
StandardFilter - Class in org.apache.lucene.analysis.standard
Normalizes tokens extracted with StandardTokenizer.
StandardFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.standard.StandardFilter
Construct filtering in.
StandardTokenizer - Class in org.apache.lucene.analysis.standard
A grammar-based tokenizer constructed with JFlex
StandardTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
Deprecated. Use StandardTokenizer.StandardTokenizer(Version, Reader) instead
StandardTokenizer(Reader, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
Deprecated. Use StandardTokenizer.StandardTokenizer(Version, Reader) instead
StandardTokenizer(Version, Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
Creates a new instance of the StandardTokenizer.
StandardTokenizer(AttributeSource, Reader, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
Deprecated. Use StandardTokenizer.StandardTokenizer(Version, AttributeSource, Reader) instead
StandardTokenizer(Version, AttributeSource, Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
Creates a new StandardTokenizer with a given AttributeSource.
StandardTokenizer(AttributeSource.AttributeFactory, Reader, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
Deprecated. Use StandardTokenizer.StandardTokenizer(Version, org.apache.lucene.util.AttributeSource.AttributeFactory, Reader) instead
StandardTokenizer(Version, AttributeSource.AttributeFactory, Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
Creates a new StandardTokenizer with a given AttributeSource.AttributeFactory
STAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
start() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
start() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
 
start() - Method in class org.apache.lucene.search.spans.Spans
Returns the start position of the current match.
start() - Method in class org.apache.lucene.search.spans.TermSpans
 
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.
startOffset() - Method in interface org.apache.lucene.analysis.tokenattributes.OffsetAttribute
Returns this Token's starting offset, the position of the first character corresponding to this token in the source text.
startOffset() - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
Returns this Token's starting offset, the position of the first character corresponding to this token in the source text.
STOP_WORDS - Static variable in class org.apache.lucene.analysis.standard.StandardAnalyzer
Deprecated. Use StandardAnalyzer.STOP_WORDS_SET instead
STOP_WORDS_SET - Static variable in class org.apache.lucene.analysis.standard.StandardAnalyzer
An unmodifiable set containing some common English words that are usually not useful for searching.
StopAnalyzer - Class in org.apache.lucene.analysis
Filters LetterTokenizer with LowerCaseFilter and StopFilter.
StopAnalyzer() - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Deprecated. Use StopAnalyzer.StopAnalyzer(Version) instead
StopAnalyzer(Version) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Builds an analyzer which removes words in ENGLISH_STOP_WORDS.
StopAnalyzer(boolean) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Deprecated. Use StopAnalyzer.StopAnalyzer(Version) instead
StopAnalyzer(Set) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Deprecated. Use StopAnalyzer.StopAnalyzer(Version, Set) instead
StopAnalyzer(Version, Set) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Builds an analyzer with the stop words from the given set.
StopAnalyzer(Set, boolean) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Deprecated. Use StopAnalyzer.StopAnalyzer(Version, Set) instead
StopAnalyzer(String[]) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Deprecated. Use StopAnalyzer.StopAnalyzer(Version, Set) instead
StopAnalyzer(String[], boolean) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Deprecated. Use StopAnalyzer.StopAnalyzer(Version, Set) instead
StopAnalyzer(File) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Deprecated. Use StopAnalyzer.StopAnalyzer(Version, File) instead
StopAnalyzer(File, boolean) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Deprecated. Use StopAnalyzer.StopAnalyzer(Version, File) instead
StopAnalyzer(Version, File) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Builds an analyzer with the stop words from the given file.
StopAnalyzer(Reader) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Deprecated. Use StopAnalyzer.StopAnalyzer(Version, Reader) instead
StopAnalyzer(Reader, boolean) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Deprecated. Use StopAnalyzer.StopAnalyzer(Version, Reader) instead
StopAnalyzer(Version, Reader) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
Builds an analyzer with the stop words from the given reader.
StopFilter - Class in org.apache.lucene.analysis
Removes stop words from a token stream.
StopFilter(TokenStream, String[]) - Constructor for class org.apache.lucene.analysis.StopFilter
Deprecated. Use StopFilter.StopFilter(boolean, TokenStream, String[]) instead
StopFilter(boolean, TokenStream, String[]) - Constructor for class org.apache.lucene.analysis.StopFilter
Deprecated. Use StopFilter.StopFilter(boolean, TokenStream, Set) instead.
StopFilter(TokenStream, String[], boolean) - Constructor for class org.apache.lucene.analysis.StopFilter
Deprecated. Use StopFilter.StopFilter(boolean, TokenStream, String[], boolean) instead
StopFilter(boolean, TokenStream, String[], boolean) - Constructor for class org.apache.lucene.analysis.StopFilter
Deprecated. Use StopFilter.StopFilter(boolean, TokenStream, Set, boolean) instead.
StopFilter(TokenStream, Set, boolean) - Constructor for class org.apache.lucene.analysis.StopFilter
Deprecated. Use StopFilter.StopFilter(boolean, TokenStream, Set, boolean) instead
StopFilter(boolean, TokenStream, Set, boolean) - Constructor for class org.apache.lucene.analysis.StopFilter
Construct a token stream filtering the given input.
StopFilter(TokenStream, Set) - Constructor for class org.apache.lucene.analysis.StopFilter
Deprecated. Use StopFilter.StopFilter(boolean, TokenStream, Set) instead
StopFilter(boolean, 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.
storedFieldStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Status for testing of stored fields (null if stored fields could not be tested).
storeOffsetWithTermVector - Variable in class org.apache.lucene.document.AbstractField
 
storePositionWithTermVector - Variable in class org.apache.lucene.document.AbstractField
 
STORES_PAYLOADS - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
All fields that store payloads
storeTermVector - Variable in class org.apache.lucene.document.AbstractField
 
STR_SIZE - Static variable in class org.apache.lucene.document.NumberTools
Deprecated. The length of (all) strings returned by NumberTools.longToString(long)
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.
STRING_VAL - Static variable in class org.apache.lucene.search.SortField
Sort using term values as Strings, but comparing by value (using String.compareTo) for all comparisons.
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.
StringHelper - Class in org.apache.lucene.util
Methods for manipulating strings.
StringInterner - Class in org.apache.lucene.util
Subclasses of StringInterner are required to return the same single String object for all equal strings.
StringInterner() - Constructor for class org.apache.lucene.util.StringInterner
 
stringToDate(String) - Static method in class org.apache.lucene.document.DateField
Deprecated. Converts a string-encoded date into a Date object.
stringToDate(String) - Static method in class org.apache.lucene.document.DateTools
Converts a string produced by timeToString or dateToString back to a time, represented as a Date object.
stringToLong(String) - Static method in class org.apache.lucene.document.NumberTools
Deprecated. Converts a String that was returned by NumberTools.longToString(long) back to a long.
stringToTime(String) - Static method in class org.apache.lucene.document.DateField
Deprecated. Converts a string-encoded date into a millisecond time.
stringToTime(String) - Static method in class org.apache.lucene.document.DateTools
Converts a string produced by timeToString or dateToString back to a time, represented as the number of milliseconds since January 1, 1970, 00:00:00 GMT.
stringValue() - Method in class org.apache.lucene.document.Field
The value of the field as a String, or null.
stringValue() - Method in interface org.apache.lucene.document.Fieldable
The value of the field as a String, or null.
stringValue() - Method in class org.apache.lucene.document.NumericField
Returns the numeric value as a string (how it is stored, when Field.Store.YES is chosen).
strVal(int) - Method in class org.apache.lucene.search.function.DocValues
Return doc value as a string.
subDoc(int) - Method in class org.apache.lucene.search.MultiSearcher
Returns the document number of document n within its sub-index.
subIndex(int, int[]) - Static method in class org.apache.lucene.util.ReaderUtil
Returns index of the searcher/reader for document n in the array used to construct this searcher/reader.
SUBREADER - Static variable in class org.apache.lucene.util.FieldCacheSanityChecker.InsanityType
Indicates an overlap in cache usage on a given field in sub/super readers.
subReader(int, IndexReader) - Static method in class org.apache.lucene.util.ReaderUtil
Returns sub IndexReader that contains the given document id.
subReader(IndexReader, int) - Static method in class org.apache.lucene.util.ReaderUtil
Returns sub-reader subIndex from reader.
subReaders - Variable in class org.apache.lucene.index.MultiReader
 
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.
subset(int, int) - Method in class org.apache.lucene.util.BitVector
Retrieve a subset of this BitVector.
sumOfSquaredWeights() - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
sumOfSquaredWeights() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
 
sumOfSquaredWeights() - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
 
sumOfSquaredWeights() - Method in class org.apache.lucene.search.spans.SpanWeight
 
sumOfSquaredWeights() - Method in class org.apache.lucene.search.Weight
The sum of squared weights of contained query clauses.
SUN_OS - Static variable in class org.apache.lucene.util.Constants
True iff running on SunOS.
swap(int, int) - Method in class org.apache.lucene.util.SorterTemplate
 
SwitchTo(int) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
Switch to specified lex state.
sync() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
 
sync(String) - Method in class org.apache.lucene.store.Directory
Ensure that any writes to this file are moved to stable storage.
sync(String) - Method in class org.apache.lucene.store.FileSwitchDirectory
 
sync(String) - Method in class org.apache.lucene.store.FSDirectory
 
synchronizedCache(Cache) - Static method in class org.apache.lucene.util.cache.Cache
Returns a thread-safe cache backed by the specified cache.

T

TeeSinkTokenFilter - Class in org.apache.lucene.analysis
This TokenFilter provides the ability to set aside attribute states that have already been analyzed.
TeeSinkTokenFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.TeeSinkTokenFilter
Instantiates a new TeeSinkTokenFilter.
TeeSinkTokenFilter.SinkFilter - Class in org.apache.lucene.analysis
A filter that decides which AttributeSource states to store in the sink.
TeeSinkTokenFilter.SinkFilter() - Constructor for class org.apache.lucene.analysis.TeeSinkTokenFilter.SinkFilter
 
TeeSinkTokenFilter.SinkTokenStream - Class in org.apache.lucene.analysis
 
TeeTokenFilter - Class in org.apache.lucene.analysis
Deprecated. Use TeeSinkTokenFilter instead
TeeTokenFilter(TokenStream, SinkTokenizer) - Constructor for class org.apache.lucene.analysis.TeeTokenFilter
Deprecated.  
term() - Method in class org.apache.lucene.analysis.Token
Returns the Token's term text.
term() - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
Returns the Token's term text.
term() - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
Returns the Token's term text.
term() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
 
Term - Class in org.apache.lucene.index
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) - Constructor for class org.apache.lucene.index.Term
Constructs a Term with the given field and empty text.
term() - Method in class org.apache.lucene.index.TermEnum
Returns the current Term in the enumeration.
Term(String) - Method in class org.apache.lucene.queryParser.QueryParser
 
TERM - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
term() - Method in class org.apache.lucene.search.FilteredTermEnum
Returns the current Term in the enumeration.
term - Variable in class org.apache.lucene.search.FuzzyQuery.ScoreTerm
 
term - Variable in class org.apache.lucene.search.FuzzyQuery
 
term - Variable in class org.apache.lucene.search.MultiTermQuery
 
term - Variable in class org.apache.lucene.search.spans.SpanTermQuery
 
term - Variable in class org.apache.lucene.search.spans.TermSpans
 
term - Variable in class org.apache.lucene.search.WildcardQuery
 
TermAttribute - Interface in org.apache.lucene.analysis.tokenattributes
The term text of a Token.
TermAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
The term text of a Token.
TermAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
 
termBuffer() - Method in class org.apache.lucene.analysis.Token
Returns the internal termBuffer character array which you can then directly alter.
termBuffer() - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
Returns the internal termBuffer character array which you can then directly alter.
termBuffer() - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
Returns the internal termBuffer character array which you can then directly alter.
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.PrefixTermEnum
 
termCompare(Term) - Method in class org.apache.lucene.search.TermRangeTermEnum
 
termCompare(Term) - Method in class org.apache.lucene.search.WildcardTermEnum
 
termCount - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
Total term count
termDocs() - Method in class org.apache.lucene.index.FilterIndexReader
 
termDocs(Term) - 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
 
termDocs(Term) - Method in class org.apache.lucene.index.ParallelReader
 
termDocs() - Method in class org.apache.lucene.index.ParallelReader
 
termDocs(Term) - Method in class org.apache.lucene.index.SegmentReader
 
termDocs() - Method in class org.apache.lucene.index.SegmentReader
 
TermDocs - Interface in org.apache.lucene.index
TermDocs provides an interface for enumerating <document, frequency> pairs for a term.
TermEnum - Class in org.apache.lucene.index
Abstract class for enumerating terms.
TermEnum() - Constructor for class org.apache.lucene.index.TermEnum
 
TermFreqVector - Interface in org.apache.lucene.index
Provides access to stored term vector of a document field.
termIndexStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Status for testing of indexed terms (null if indexed terms could not be tested).
termLength() - Method in class org.apache.lucene.analysis.Token
Return number of valid characters (length of the term) in the termBuffer array.
termLength() - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
Return number of valid characters (length of the term) in the termBuffer array.
termLength() - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
Return number of valid characters (length of the term) in the termBuffer array.
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
 
termPositions(Term) - Method in class org.apache.lucene.index.ParallelReader
 
termPositions() - Method in class org.apache.lucene.index.ParallelReader
 
termPositions() - Method in class org.apache.lucene.index.SegmentReader
 
TermPositions - Interface in org.apache.lucene.index
TermPositions provides an interface for enumerating the <document, frequency, <position>* > tuples for a term.
TermPositionVector - Interface in org.apache.lucene.index
Extends TermFreqVector to provide additional information about positions in which each of the terms is found.
TermQuery - Class in org.apache.lucene.search
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.
TermRangeFilter - Class in org.apache.lucene.search
A Filter that restricts search results to a range of term values in a given field.
TermRangeFilter(String, String, String, boolean, boolean) - Constructor for class org.apache.lucene.search.TermRangeFilter
 
TermRangeFilter(String, String, String, boolean, boolean, Collator) - Constructor for class org.apache.lucene.search.TermRangeFilter
WARNING: Using this constructor and supplying a non-null value in the collator parameter will cause every single index Term in the Field referenced by lowerTerm and/or upperTerm to be examined.
TermRangeQuery - Class in org.apache.lucene.search
A Query that matches documents within an range of terms.
TermRangeQuery(String, String, String, boolean, boolean) - Constructor for class org.apache.lucene.search.TermRangeQuery
Constructs a query selecting all terms greater/equal than lowerTerm but less/equal than upperTerm.
TermRangeQuery(String, String, String, boolean, boolean, Collator) - Constructor for class org.apache.lucene.search.TermRangeQuery
Constructs a query selecting all terms greater/equal than lowerTerm but less/equal than upperTerm.
TermRangeTermEnum - Class in org.apache.lucene.search
Subclass of FilteredTermEnum for enumerating all terms that match the specified range parameters.
TermRangeTermEnum(IndexReader, String, String, String, boolean, boolean, Collator) - Constructor for class org.apache.lucene.search.TermRangeTermEnum
Enumerates all terms greater/equal than lowerTerm but less/equal than upperTerm.
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 starting at a given term.
terms() - Method in class org.apache.lucene.index.MultiReader
 
terms(Term) - Method in class org.apache.lucene.index.MultiReader
 
terms() - Method in class org.apache.lucene.index.ParallelReader
 
terms(Term) - Method in class org.apache.lucene.index.ParallelReader
 
terms() - Method in class org.apache.lucene.index.SegmentReader
 
terms(Term) - Method in class org.apache.lucene.index.SegmentReader
 
terms - Variable in class org.apache.lucene.search.spans.SpanWeight
 
TermSpans - Class in org.apache.lucene.search.spans
Expert: Public for extension only
TermSpans(TermPositions, Term) - Constructor for class org.apache.lucene.search.spans.TermSpans
 
termText() - Method in class org.apache.lucene.analysis.Token
Deprecated. This method now has a performance penalty because the text is stored internally in a char[]. If possible, use Token.termBuffer() and Token.termLength() directly instead. If you really need a String, use Token.term()
TERMVECTOR - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
All fields with termvectors enabled.
TERMVECTOR_WITH_OFFSET - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
All fields with termvectors with offset values enabled
TERMVECTOR_WITH_POSITION - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
All fields with termvectors with position values enabled
TERMVECTOR_WITH_POSITION_OFFSET - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
All fields with termvectors with offset values and position values enabled
TermVectorEntry - Class in org.apache.lucene.index
Convenience class for holding TermVector information.
TermVectorEntry() - Constructor for class org.apache.lucene.index.TermVectorEntry
 
TermVectorEntry(String, String, int, TermVectorOffsetInfo[], int[]) - Constructor for class org.apache.lucene.index.TermVectorEntry
 
TermVectorEntryFreqSortedComparator - Class in org.apache.lucene.index
Compares TermVectorEntrys first by frequency and then by the term (case-sensitive)
TermVectorEntryFreqSortedComparator() - Constructor for class org.apache.lucene.index.TermVectorEntryFreqSortedComparator
 
TermVectorMapper - Class in org.apache.lucene.index
The TermVectorMapper can be used to map Term Vectors into your own structure instead of the parallel array structure used by IndexReader.getTermFreqVector(int,String).
TermVectorMapper() - Constructor for class org.apache.lucene.index.TermVectorMapper
 
TermVectorMapper(boolean, boolean) - Constructor for class org.apache.lucene.index.TermVectorMapper
 
TermVectorOffsetInfo - Class in org.apache.lucene.index
The TermVectorOffsetInfo class holds information pertaining to a Term in a TermPositionVector's offset information.
TermVectorOffsetInfo() - Constructor for class org.apache.lucene.index.TermVectorOffsetInfo
 
TermVectorOffsetInfo(int, int) - Constructor for class org.apache.lucene.index.TermVectorOffsetInfo
 
termVectorStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
Status for testing of term vectors (null if term vectors could not be tested).
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.
tf(float) - Method in class org.apache.lucene.search.SimilarityDelegator
 
TimeLimitedCollector - Class in org.apache.lucene.search
Deprecated. Use TimeLimitingCollector instead, which extends the new Collector. This class will be removed in 3.0.
TimeLimitedCollector(HitCollector, long) - Constructor for class org.apache.lucene.search.TimeLimitedCollector
Deprecated. Create a TimeLimitedCollector wrapper over another HitCollector with a specified timeout.
TimeLimitedCollector.TimeExceededException - Exception in org.apache.lucene.search
Deprecated. Thrown when elapsed search time exceeds allowed search time.
TimeLimitingCollector - Class in org.apache.lucene.search
The TimeLimitingCollector is used to timeout search requests that take longer than the maximum allowed search time limit.
TimeLimitingCollector(Collector, long) - Constructor for class org.apache.lucene.search.TimeLimitingCollector
Create a TimeLimitedCollector wrapper over another Collector with a specified timeout.
TimeLimitingCollector.TimeExceededException - Exception in org.apache.lucene.search
Thrown when elapsed search time exceeds allowed search time.
timestamp - Variable in class org.apache.lucene.search.FilterManager.FilterItem
 
timeToString(long) - Static method in class org.apache.lucene.document.DateField
Deprecated. Converts a millisecond time to a string suitable for indexing.
timeToString(long, DateTools.Resolution) - Static method in class org.apache.lucene.document.DateTools
Converts a millisecond time to a string suitable for indexing.
toByteArray() - Method in class org.apache.lucene.index.Payload
Allocates a new byte array, copies the payload data into it and returns it.
toHtml() - Method in class org.apache.lucene.search.Explanation
Render an explanation as HTML.
Token - Class in org.apache.lucene.analysis
A Token is an occurrence of a term from the text of a field.
Token() - Constructor for class org.apache.lucene.analysis.Token
Constructs a Token will null text.
Token(int, int) - Constructor for class org.apache.lucene.analysis.Token
Constructs a Token with null text and start & end offsets.
Token(int, int, String) - Constructor for class org.apache.lucene.analysis.Token
Constructs a Token with null text and start & end offsets plus the Token type.
Token(int, int, int) - Constructor for class org.apache.lucene.analysis.Token
Constructs a Token with null text and start & end offsets plus flags.
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(String, int, int, int) - Constructor for class org.apache.lucene.analysis.Token
Constructs a Token with the given text, start and end offsets, & type.
Token(char[], int, int, int, int) - Constructor for class org.apache.lucene.analysis.Token
Constructs a Token with the given term buffer (offset & length), start and end offsets
token - Variable in class org.apache.lucene.queryParser.QueryParser
Current token.
Token - Class in org.apache.lucene.queryParser
Describes the input token stream.
Token() - Constructor for class org.apache.lucene.queryParser.Token
No-argument constructor
Token(int) - Constructor for class org.apache.lucene.queryParser.Token
Constructs a new token for the specified Image.
Token(int, String) - Constructor for class org.apache.lucene.queryParser.Token
Constructs a new token for the specified Image and Kind.
token_source - Variable in class org.apache.lucene.queryParser.QueryParser
Generated Token Manager.
TOKEN_TYPE_FULL_PREC - Static variable in class org.apache.lucene.analysis.NumericTokenStream
The full precision token gets this token type assigned.
TOKEN_TYPE_LOWER_PREC - Static variable in class org.apache.lucene.analysis.NumericTokenStream
The lower precision tokens gets this token type assigned.
TOKEN_TYPES - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
String token types that correspond to token type int constants
TokenFilter - Class in org.apache.lucene.analysis
A TokenFilter is a TokenStream whose input is another TokenStream.
TokenFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.TokenFilter
Construct a token stream filtering the given input.
tokenImage - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
Deprecated. Please use StandardTokenizer.TOKEN_TYPES instead
tokenImage - Variable in exception 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
Literal token values.
TOKENIZED - Static variable in class org.apache.lucene.document.Field.Index
Deprecated. this has been renamed to Field.Index.ANALYZED
Tokenizer - Class in org.apache.lucene.analysis
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.
Tokenizer(AttributeSource.AttributeFactory) - Constructor for class org.apache.lucene.analysis.Tokenizer
Construct a tokenizer with null input using the given AttributeFactory.
Tokenizer(AttributeSource.AttributeFactory, Reader) - Constructor for class org.apache.lucene.analysis.Tokenizer
Construct a token stream processing the given input using the given AttributeFactory.
Tokenizer(AttributeSource) - Constructor for class org.apache.lucene.analysis.Tokenizer
Construct a token stream processing the given input using the given AttributeSource.
Tokenizer(AttributeSource, Reader) - Constructor for class org.apache.lucene.analysis.Tokenizer
Construct a token stream processing the given input using the given AttributeSource.
TokenMgrError - Error in org.apache.lucene.queryParser
Token Manager Error.
TokenMgrError() - Constructor for error org.apache.lucene.queryParser.TokenMgrError
No arg constructor.
TokenMgrError(String, int) - Constructor for error org.apache.lucene.queryParser.TokenMgrError
Constructor with message and reason.
TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error org.apache.lucene.queryParser.TokenMgrError
Full Constructor.
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.Analyzer
Creates a TokenStream which tokenizes all the text in the provided Reader.
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.KeywordAnalyzer
 
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.standard.StandardAnalyzer
Constructs a StandardTokenizer filtered by a StandardFilter, a LowerCaseFilter and a StopFilter.
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.StopAnalyzer
Filters LowerCaseTokenizer with StopFilter.
TokenStream - Class in org.apache.lucene.analysis
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
A TokenStream using the default attribute factory.
TokenStream(AttributeSource) - Constructor for class org.apache.lucene.analysis.TokenStream
A TokenStream that uses the same attributes as the supplied one.
TokenStream(AttributeSource.AttributeFactory) - Constructor for class org.apache.lucene.analysis.TokenStream
A TokenStream using the supplied AttributeFactory for creating new Attribute instances.
tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.WhitespaceAnalyzer
 
tokenStream - Variable in class org.apache.lucene.document.AbstractField
 
tokenStreamValue() - Method in class org.apache.lucene.document.Field
The TokesStream for this field to be used when indexing, or null.
tokenStreamValue() - Method in interface org.apache.lucene.document.Fieldable
The TokenStream for this field to be used when indexing, or null.
tokenStreamValue() - Method in class org.apache.lucene.document.NumericField
Returns a NumericTokenStream for indexing the numeric value.
toolOutOfDate - Variable in class org.apache.lucene.index.CheckIndex.Status
True if the index was created with a newer version of Lucene than the CheckIndex tool.
top() - Method in class org.apache.lucene.util.PriorityQueue
Returns the least element of the PriorityQueue in constant time.
top() - Method in class org.apache.lucene.util.ScorerDocQueue
Returns the least Scorer of the ScorerDocQueue in constant time.
topDoc() - Method in class org.apache.lucene.util.ScorerDocQueue
Returns document number of the least Scorer of the ScorerDocQueue in constant time.
TopDocCollector - Class in org.apache.lucene.search
Deprecated. Please use TopScoreDocCollector instead, which has better performance.
TopDocCollector(int) - Constructor for class org.apache.lucene.search.TopDocCollector
Deprecated. Construct to collect a given number of hits.
TopDocCollector(PriorityQueue) - Constructor for class org.apache.lucene.search.TopDocCollector
Deprecated. Constructor to collect the top-scoring documents by using the given PQ.
topDocs() - Method in class org.apache.lucene.search.TopDocCollector
Deprecated. The top-scoring hits.
TopDocs - Class in org.apache.lucene.search
Represents hits returned by Searcher.search(Query,Filter,int) and Searcher.search(Query,int).
TopDocs(int, ScoreDoc[], float) - Constructor for class org.apache.lucene.search.TopDocs
 
topDocs() - Method in class org.apache.lucene.search.TopDocsCollector
Returns the top docs that were collected by this collector.
topDocs(int) - Method in class org.apache.lucene.search.TopDocsCollector
Returns the documents in the rage [start ..
topDocs(int, int) - Method in class org.apache.lucene.search.TopDocsCollector
Returns the documents in the rage [start ..
topDocs() - Method in class org.apache.lucene.search.TopFieldDocCollector
Deprecated.  
TopDocsCollector - Class in org.apache.lucene.search
A base class for all collectors that return a TopDocs output.
TopDocsCollector(PriorityQueue) - Constructor for class org.apache.lucene.search.TopDocsCollector
 
TopFieldCollector - Class in org.apache.lucene.search
A Collector that sorts by SortField using FieldComparators.
TopFieldDocCollector - Class in org.apache.lucene.search
Deprecated. Please use TopFieldCollector instead.
TopFieldDocCollector(IndexReader, Sort, int) - Constructor for class org.apache.lucene.search.TopFieldDocCollector
Deprecated. Construct to collect a given number of hits.
TopFieldDocs - Class in org.apache.lucene.search
Represents hits returned by Searcher.search(Query,Filter,int,Sort).
TopFieldDocs(int, ScoreDoc[], SortField[], float) - Constructor for class org.apache.lucene.search.TopFieldDocs
Creates one of these objects.
TopLevelQuery(String) - Method in class org.apache.lucene.queryParser.QueryParser
 
topNextAndAdjustElsePop() - Method in class org.apache.lucene.util.ScorerDocQueue
 
topScore() - Method in class org.apache.lucene.util.ScorerDocQueue
 
TopScoreDocCollector - Class in org.apache.lucene.search
A Collector implementation that collects the top-scoring hits, returning them as a TopDocs.
topSkipToAndAdjustElsePop(int) - Method in class org.apache.lucene.util.ScorerDocQueue
 
toString() - Method in class org.apache.lucene.analysis.NumericTokenStream
 
toString() - Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
 
toString() - Method in class org.apache.lucene.analysis.Token
 
toString() - Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
 
toString() - Method in class org.apache.lucene.document.AbstractField
Prints a Field for human consumption.
toString() - Method in class org.apache.lucene.document.DateTools.Resolution
 
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.index.ConcurrentMergeScheduler.MergeThread
 
toString() - Method in class org.apache.lucene.index.IndexModifier
Deprecated.  
toString() - Method in class org.apache.lucene.index.IndexReader.FieldOption
 
toString() - Method in class org.apache.lucene.index.IndexWriter.MaxFieldLength
 
toString() - Method in class org.apache.lucene.index.SegmentInfo
 
toString() - Method in class org.apache.lucene.index.Term
 
toString() - Method in class org.apache.lucene.index.TermVectorEntry
 
toString() - Method in class org.apache.lucene.messages.MessageImpl
 
toString() - Method in class org.apache.lucene.queryParser.Token
Returns the image.
toString() - Method in class org.apache.lucene.search.BooleanClause.Occur
 
toString() - Method in class org.apache.lucene.search.BooleanClause
 
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.CachingSpanFilter
 
toString() - Method in class org.apache.lucene.search.CachingWrapperFilter
 
toString(String) - Method in class org.apache.lucene.search.ConstantScoreQuery
Prints a user-readable version of this query.
toString(String) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
Prettyprint us.
toString() - Method in class org.apache.lucene.search.Explanation
Render an explanation as text.
toString(int) - Method in class org.apache.lucene.search.Explanation
 
toString() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
 
toString() - Method in class org.apache.lucene.search.FieldCacheRangeFilter
 
toString() - Method in class org.apache.lucene.search.FieldDoc
 
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.function.CustomScoreQuery
 
toString(int) - Method in class org.apache.lucene.search.function.DocValues
Return a string representation of a doc value, as required for Explanations.
toString() - Method in class org.apache.lucene.search.function.FieldScoreQuery.Type
 
toString() - Method in class org.apache.lucene.search.function.ValueSource
 
toString(String) - Method in class org.apache.lucene.search.function.ValueSourceQuery
 
toString(String) - Method in class org.apache.lucene.search.FuzzyQuery
 
toString() - Method in class org.apache.lucene.search.Hit
Deprecated. Prints the parameters to be used to discover the promised result.
toString(String) - Method in class org.apache.lucene.search.MatchAllDocsQuery
 
toString(String) - Method in class org.apache.lucene.search.MultiPhraseQuery
Prints a user-readable version of this query.
toString(String) - Method in class org.apache.lucene.search.MultiTermQuery
 
toString() - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
 
toString(String) - Method in class org.apache.lucene.search.NumericRangeQuery
 
toString(String) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery
 
toString(String) - Method in class org.apache.lucene.search.PhraseQuery
Prints a user-readable version of this query.
toString() - Method in class org.apache.lucene.search.PrefixFilter
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 assumed to be the default field and omitted.
toString() - Method in class org.apache.lucene.search.Query
Prints a query to a string.
toString() - Method in class org.apache.lucene.search.QueryTermVector
 
toString() - Method in class org.apache.lucene.search.QueryWrapperFilter
 
toString(String) - Method in class org.apache.lucene.search.RangeQuery
Deprecated. Prints a user-readable version of this query.
toString() - Method in class org.apache.lucene.search.ScoreDoc
 
toString() - Method in class org.apache.lucene.search.Sort
 
toString() - Method in class org.apache.lucene.search.SortField
 
toString() - Method in class org.apache.lucene.search.SpanQueryFilter
 
toString(String) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
 
toString() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
 
toString() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
 
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.search.spans.TermSpans
 
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.TermRangeQuery
Prints a user-readable version of this query.
toString(String) - Method in class org.apache.lucene.search.WildcardQuery
Prints a user-readable version of this query.
toString() - Method in class org.apache.lucene.store.Directory
 
toString() - Method in class org.apache.lucene.store.FSDirectory
For debug output.
toString() - Method in class org.apache.lucene.util.AttributeImpl
The default implementation of this method accesses all declared fields of this object and prints the values in the following syntax:
toString() - Method in class org.apache.lucene.util.AttributeSource
 
toString() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.Insanity
Multi-Line representation of this Insanity object, starting with the Type and Msg, followed by each CacheEntry.toString() on it's own line prefaced by a tab character
toString() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.InsanityType
 
toString() - Method in class org.apache.lucene.util.Parameter
 
ToStringUtils - Class in org.apache.lucene.util
Helper methods to ease implementing Object.toString().
ToStringUtils() - Constructor for class org.apache.lucene.util.ToStringUtils
 
totalHits - Variable in class org.apache.lucene.search.TopDocCollector
Deprecated. The total number of hits the collector encountered.
totalHits - Variable in class org.apache.lucene.search.TopDocs
The total number of hits for the query.
totalHits - Variable in class org.apache.lucene.search.TopDocsCollector
The total number of documents that the collector encountered.
totFields - Variable in class org.apache.lucene.index.CheckIndex.Status.FieldNormStatus
Number of fields successfully tested
totFields - Variable in class org.apache.lucene.index.CheckIndex.Status.StoredFieldStatus
Total number of stored fields tested.
totFreq - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
Total frequency across all terms.
totLoseDocCount - Variable in class org.apache.lucene.index.CheckIndex.Status
How many documents will be lost to bad segments.
totPos - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
Total number of positions.
totVectors - Variable in class org.apache.lucene.index.CheckIndex.Status.TermVectorStatus
Total number of term vectors tested.
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.FileSwitchDirectory
 
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.
trimTrailingZeros() - Method in class org.apache.lucene.util.OpenBitSet
Lowers numWords, the number of words in use, by checking for trailing zero words.
type() - Method in class org.apache.lucene.analysis.Token
Returns this Token's lexical type.
type() - Method in interface org.apache.lucene.analysis.tokenattributes.TypeAttribute
Returns this Token's lexical type.
type() - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
Returns this Token's lexical type.
TypeAttribute - Interface in org.apache.lucene.analysis.tokenattributes
A Token's lexical type.
TypeAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
A Token's lexical type.
TypeAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
 
TypeAttributeImpl(String) - Constructor for class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
 

U

UN_TOKENIZED - Static variable in class org.apache.lucene.document.Field.Index
Deprecated. This has been renamed to Field.Index.NOT_ANALYZED
undeleteAll() - Method in class org.apache.lucene.index.IndexReader
Undeletes all documents currently marked as deleted in this index.
UNI_REPLACEMENT_CHAR - Static variable in class org.apache.lucene.util.UnicodeUtil
 
UNI_SUR_HIGH_END - Static variable in class org.apache.lucene.util.UnicodeUtil
 
UNI_SUR_HIGH_START - Static variable in class org.apache.lucene.util.UnicodeUtil
 
UNI_SUR_LOW_END - Static variable in class org.apache.lucene.util.UnicodeUtil
 
UNI_SUR_LOW_START - Static variable in class org.apache.lucene.util.UnicodeUtil
 
UnicodeUtil - Class in org.apache.lucene.util
Class to encode java's UTF16 char[] into UTF8 byte[] without always allocating a new byte[] as String.getBytes("UTF-8") does.
UnicodeUtil() - Constructor for class org.apache.lucene.util.UnicodeUtil
 
UnicodeUtil.UTF16Result - Class in org.apache.lucene.util
 
UnicodeUtil.UTF16Result() - Constructor for class org.apache.lucene.util.UnicodeUtil.UTF16Result
 
UnicodeUtil.UTF8Result - Class in org.apache.lucene.util
 
UnicodeUtil.UTF8Result() - Constructor for class org.apache.lucene.util.UnicodeUtil.UTF8Result
 
UNINDEXED - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
All fields which are not indexed
union(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
this = this OR other
unionCount(OpenBitSet, OpenBitSet) - Static method in class org.apache.lucene.util.OpenBitSet
Returns the popcount or cardinality of the union of the two sets.
UNLIMITED - Static variable in class org.apache.lucene.index.IndexWriter.MaxFieldLength
Sets the maximum field length to Integer.MAX_VALUE.
unlock(Directory) - Static method in class org.apache.lucene.index.IndexReader
Deprecated. Please use IndexWriter.unlock(Directory) instead. This method will be removed in the 3.0 release.
unlock(Directory) - Static method in class org.apache.lucene.index.IndexWriter
Forcibly unlocks the index in the named directory.
UNMAP_SUPPORTED - Static variable in class org.apache.lucene.store.MMapDirectory
true, if this platform supports unmapping mmapped files.
unmodifiableSet(CharArraySet) - Static method in class org.apache.lucene.analysis.CharArraySet
Returns an unmodifiable CharArraySet.
updateDocument(Term, Document) - Method in class org.apache.lucene.index.IndexWriter
Updates a document by first deleting the document(s) containing term and then adding the new document.
updateDocument(Term, Document, Analyzer) - Method in class org.apache.lucene.index.IndexWriter
Updates a document by first deleting the document(s) containing term and then adding the new document.
updateTop() - Method in class org.apache.lucene.util.PriorityQueue
Should be called when the Object at top changes values.
useCompoundDocStore(SegmentInfos) - Method in class org.apache.lucene.index.LogMergePolicy
 
useCompoundDocStore(SegmentInfos) - Method in class org.apache.lucene.index.MergePolicy
Returns true if the doc store files should use the compound file format.
useCompoundFile - Variable in class org.apache.lucene.index.IndexModifier
Deprecated.  
useCompoundFile(SegmentInfos, SegmentInfo) - Method in class org.apache.lucene.index.LogMergePolicy
 
useCompoundFile(SegmentInfos, SegmentInfo) - Method in class org.apache.lucene.index.MergePolicy
Returns true if a newly flushed (not from merge) segment should use the compound file format.
userData - Variable in class org.apache.lucene.index.CheckIndex.Status
Holds the userData of the last commit in the index
UTF16toUTF8(char[], int, UnicodeUtil.UTF8Result) - Static method in class org.apache.lucene.util.UnicodeUtil
Encode characters from a char[] source, starting at offset and stopping when the character 0xffff is seen.
UTF16toUTF8(char[], int, int, UnicodeUtil.UTF8Result) - Static method in class org.apache.lucene.util.UnicodeUtil
Encode characters from a char[] source, starting at offset for length chars.
UTF16toUTF8(String, int, int, UnicodeUtil.UTF8Result) - Static method in class org.apache.lucene.util.UnicodeUtil
Encode characters from this String, starting at offset for length characters.
UTF8toUTF16(byte[], int, int, UnicodeUtil.UTF16Result) - Static method in class org.apache.lucene.util.UnicodeUtil
Convert UTF8 bytes into UTF16 characters.

V

value(int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
 
value(int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
 
value(int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
 
value(int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
 
value(int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
 
value(int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
 
value(int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
 
value(int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
 
value(int) - Method in class org.apache.lucene.search.FieldComparator.StringComparatorLocale
 
value(int) - Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
 
value(int) - Method in class org.apache.lucene.search.FieldComparator.StringValComparator
 
value(int) - Method in class org.apache.lucene.search.FieldComparator
Return the actual value in the slot.
value - Variable in class org.apache.lucene.search.spans.SpanScorer
 
value - Variable in class org.apache.lucene.search.spans.SpanWeight
 
VALUEMISMATCH - Static variable in class org.apache.lucene.util.FieldCacheSanityChecker.InsanityType
Indicates entries have the same reader+fieldname but different cached values.
ValueSource - Class in org.apache.lucene.search.function
Expert: source of values for basic function queries.
ValueSource() - Constructor for class org.apache.lucene.search.function.ValueSource
 
ValueSourceQuery - Class in org.apache.lucene.search.function
Expert: A Query that sets the scores of document to the values obtained from a ValueSource.
ValueSourceQuery(ValueSource) - Constructor for class org.apache.lucene.search.function.ValueSourceQuery
Create a value source query
verbose() - Method in class org.apache.lucene.index.IndexWriter
Returns true if verbosing is enabled (i.e., infoStream != null).
verbose() - Method in class org.apache.lucene.index.LogMergePolicy
 
VerifyingLockFactory - Class in org.apache.lucene.store
A LockFactory that wraps another LockFactory and verifies that each lock obtain/release is "correct" (never results in two processes holding the lock at the same time).
VerifyingLockFactory(byte, LockFactory, String, int) - Constructor for class org.apache.lucene.store.VerifyingLockFactory
 
Version - Class in org.apache.lucene.util
Use by certain classes to match version compatibility across releases of Lucene.
Version(String, int) - Constructor for class org.apache.lucene.util.Version
 

W

waitForMerges() - Method in class org.apache.lucene.index.IndexWriter
Wait for any currently outstanding merges to finish.
warm(IndexReader) - Method in class org.apache.lucene.index.IndexWriter.IndexReaderWarmer
 
weight(Searcher) - Method in class org.apache.lucene.search.Query
Expert: Constructs and initializes a Weight for a top-level query.
weight - Variable in class org.apache.lucene.search.spans.SpanScorer
 
Weight - Class in org.apache.lucene.search
Expert: Calculate query weights and build query scorers.
Weight() - Constructor for class org.apache.lucene.search.Weight
 
weights - Variable in class org.apache.lucene.search.BooleanQuery.BooleanWeight
 
weights - Variable in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
The Weights for our subqueries, in 1-1 correspondence with disjuncts
WhitespaceAnalyzer - Class in org.apache.lucene.analysis
An Analyzer that uses WhitespaceTokenizer.
WhitespaceAnalyzer() - Constructor for class org.apache.lucene.analysis.WhitespaceAnalyzer
 
WhitespaceTokenizer - Class in org.apache.lucene.analysis
A WhitespaceTokenizer is a tokenizer that divides text at whitespace.
WhitespaceTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.WhitespaceTokenizer
Construct a new WhitespaceTokenizer.
WhitespaceTokenizer(AttributeSource, Reader) - Constructor for class org.apache.lucene.analysis.WhitespaceTokenizer
Construct a new WhitespaceTokenizer using a given AttributeSource.
WhitespaceTokenizer(AttributeSource.AttributeFactory, Reader) - Constructor for class org.apache.lucene.analysis.WhitespaceTokenizer
Construct a new WhitespaceTokenizer using a given AttributeSource.AttributeFactory.
WILDCARD_CHAR - Static variable in class org.apache.lucene.search.WildcardTermEnum
 
WILDCARD_STRING - Static variable in class org.apache.lucene.search.WildcardTermEnum
String equality with support for wildcards
wildcardEquals(String, int, String, int) - Static method in class org.apache.lucene.search.WildcardTermEnum
Determines if a word matches a wildcard pattern.
WildcardQuery - Class in org.apache.lucene.search
Implements the wildcard search query.
WildcardQuery(Term) - Constructor for class org.apache.lucene.search.WildcardQuery
 
WildcardTermEnum - Class in org.apache.lucene.search
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.
WILDTERM - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
WINDOWS - Static variable in class org.apache.lucene.util.Constants
True iff running on Windows.
WITH_OFFSETS - Static variable in class org.apache.lucene.document.Field.TermVector
Store the term vector + Token offset information
WITH_POSITIONS - Static variable in class org.apache.lucene.document.Field.TermVector
Store the term vector + token position information
WITH_POSITIONS_OFFSETS - Static variable in class org.apache.lucene.document.Field.TermVector
Store the term vector + Token position and offset information
wlen - Variable in class org.apache.lucene.util.OpenBitSet
 
WordlistLoader - Class in org.apache.lucene.analysis
Loader for text files that represent a list of stopwords.
WordlistLoader() - Constructor for class org.apache.lucene.analysis.WordlistLoader
 
write(Directory, String) - Method in class org.apache.lucene.util.BitVector
Writes this vector to the file name in Directory d, in a format that can be read by the constructor BitVector.BitVector(Directory, String).
WRITE_LOCK_NAME - Static variable in class org.apache.lucene.index.IndexWriter
Name of the write lock in the index.
WRITE_LOCK_TIMEOUT - Static variable in class org.apache.lucene.index.IndexWriter
Default value for the write lock timeout (1,000).
writeByte(byte) - Method in class org.apache.lucene.store.BufferedIndexOutput
Writes a single byte.
writeByte(byte) - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
writeByte(byte) - Method in class org.apache.lucene.store.IndexOutput
Writes a single byte.
writeByte(byte) - Method in class org.apache.lucene.store.RAMOutputStream
 
writeBytes(byte[], int, int) - Method in class org.apache.lucene.store.BufferedIndexOutput
Writes an array of bytes.
writeBytes(byte[], int, int) - Method in class org.apache.lucene.store.ChecksumIndexOutput
 
writeBytes(byte[], int) - Method in class org.apache.lucene.store.IndexOutput
Writes an array of bytes.
writeBytes(byte[], int, int) - Method in class org.apache.lucene.store.IndexOutput
Writes an array of bytes.
writeBytes(byte[], int, int) - Method in class org.apache.lucene.store.RAMOutputStream
 
writeChars(String, int, int) - Method in class org.apache.lucene.store.IndexOutput
Deprecated. -- please pre-convert to utf8 bytes instead or use IndexOutput.writeString(java.lang.String)
writeChars(char[], int, int) - Method in class org.apache.lucene.store.IndexOutput
Deprecated. -- please pre-convert to utf8 bytes instead or use IndexOutput.writeString(java.lang.String)
writeInt(int) - Method in class org.apache.lucene.store.IndexOutput
Writes an int as four bytes.
writeLong(long) - Method in class org.apache.lucene.store.IndexOutput
Writes a long as eight bytes.
writer - Variable in class org.apache.lucene.index.ConcurrentMergeScheduler
 
writer - Variable in class org.apache.lucene.index.MergePolicy
 
writeString(String) - Method in class org.apache.lucene.store.IndexOutput
Writes a string.
writeStringStringMap(Map) - Method in class org.apache.lucene.store.IndexOutput
 
writeTo(IndexOutput) - 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.IndexOutput
Writes an int in a variable-length format.
writeVLong(long) - Method in class org.apache.lucene.store.IndexOutput
Writes an long in a variable-length format.

X

xor(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
this = this XOR other
xorCount(OpenBitSet, OpenBitSet) - Static method in class org.apache.lucene.util.OpenBitSet
Returns the popcount or cardinality of the exclusive-or of the two sets.

Y

YEAR - Static variable in class org.apache.lucene.document.DateTools.Resolution
 
YES - Static variable in class org.apache.lucene.document.Field.Store
Store the original field value in the index.
YES - Static variable in class org.apache.lucene.document.Field.TermVector
Store the term vectors of each document.

_

_ESCAPED_CHAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
_innerIter - Variable in class org.apache.lucene.search.FilteredDocIdSetIterator
 
_NUM_CHAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
_QUOTED_CHAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
_TERM_CHAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
_TERM_START_CHAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.
_WHITESPACE - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
RegularExpression Id.

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

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