- 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
-
- 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() - 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
-
- check(Directory, boolean, List) - Static method in class org.apache.lucene.index.CheckIndex
-
- 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
-
- checkIndex(List) - Method in class org.apache.lucene.index.CheckIndex
-
- CheckIndex.Status - Class in org.apache.lucene.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
-
- 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
-
- 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
-
- 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
-
- 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
-
- CONSTANT_SCORE_BOOLEAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.MultiTermQuery
-
- 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
-
- 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
-
- create(int, boolean) - Static method in class org.apache.lucene.search.TopScoreDocCollector
-
- createAttributeInstance(Class) - Method in class org.apache.lucene.util.AttributeSource.AttributeFactory
-
- 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
-
- customExplain(int, Explanation, Explanation) - Method in class org.apache.lucene.search.function.CustomScoreQuery
-
- 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
-
- customScore(int, float, float) - Method in class org.apache.lucene.search.function.CustomScoreQuery
-
- CustomScoreProvider - Class in org.apache.lucene.search.function
-
- 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
-
- CustomScoreQuery(Query, ValueSourceQuery[]) - Constructor for class org.apache.lucene.search.function.CustomScoreQuery
-
- 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
-
- 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
AttributeImpl
s 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
-
- 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
-
- DEFAULT_FLOAT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
-
- DEFAULT_GREEDY - Variable in class org.apache.lucene.search.TimeLimitedCollector
-
Deprecated.
- DEFAULT_GREEDY - Variable in class org.apache.lucene.search.TimeLimitingCollector
-
- DEFAULT_INT_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
-
- DEFAULT_LONG_PARSER - Static variable in interface org.apache.lucene.search.FieldCache
-
- 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_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
-
- 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
-
- doc() - Method in class org.apache.lucene.search.DocIdSetIterator
-
- doc() - Method in class org.apache.lucene.search.FieldCacheTermsFilter.FieldCacheTermsFilterDocIdSet.FieldCacheTermsFilterDocIdSetIterator
-
- doc() - Method in class org.apache.lucene.search.FilteredDocIdSetIterator
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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 n
th
Document
in this index.
- document(int, FieldSelector) - Method in class org.apache.lucene.index.IndexReader
-
- 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
-
- 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
-
- 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
-
- 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
-
- FieldComparator.DocComparator - Class in org.apache.lucene.search
-
Sorts by ascending docID
- FieldComparator.DoubleComparator - Class in org.apache.lucene.search
-
- FieldComparator.FloatComparator - Class in org.apache.lucene.search
-
- FieldComparator.IntComparator - Class in org.apache.lucene.search
-
- FieldComparator.LongComparator - Class in org.apache.lucene.search
-
- FieldComparator.RelevanceComparator - Class in org.apache.lucene.search
-
Sorts by descending relevance.
- FieldComparator.ShortComparator - Class in org.apache.lucene.search
-
- 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
-
- 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
-
- 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
-
- FieldSelectorResult - Class in org.apache.lucene.document
-
Provides information about what should be done with this Field
- FieldSortedHitQueue - Class in org.apache.lucene.search
-
- 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
TermVectorEntry
s
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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- FuzzyQuery(Term) - Constructor for class org.apache.lucene.search.FuzzyQuery
-
- 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
.
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- getCurrentVersion(File) - Static method in class org.apache.lucene.index.IndexReader
-
- 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
-
- getCustomScoreProvider(IndexReader) - Method in class org.apache.lucene.search.function.CustomScoreQuery
-
- 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
-
- 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
-
- getDirectory(String, LockFactory) - Static method in class org.apache.lucene.store.FSDirectory
-
- getDirectory(File) - Static method in class org.apache.lucene.store.FSDirectory
-
- getDirectory(File, LockFactory) - Static method in class org.apache.lucene.store.FSDirectory
-
- 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
-
- 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
-
- getField(String) - Method in class org.apache.lucene.document.Document
-
Returns a field with the given name if any exist in this document, or
null.
- getField() - Method in interface org.apache.lucene.index.TermFreqVector
-
- getField() - Method in class org.apache.lucene.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
Fieldable
s 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
-
- 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
Field
s 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- getOmitTf() - Method in interface org.apache.lucene.document.Fieldable
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- 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
-
- getUserData() - Method in class org.apache.lucene.index.IndexCommit
-
- getUserData() - Method in class org.apache.lucene.index.SegmentInfos
-
- getUseScorer14() - Static method in class org.apache.lucene.search.BooleanQuery
-
- 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
-
- 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
-
- idf(Collection, Searcher) - Method in class org.apache.lucene.search.Similarity
-
- 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
-
- 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
-
- 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
-
- indexExists(File) - Static method in class org.apache.lucene.index.IndexReader
-
- 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
-
- 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
-
- IndexSearcher - Class in org.apache.lucene.search
-
Implements search over a single IndexReader.
- IndexSearcher(String) - Constructor for class org.apache.lucene.search.IndexSearcher
-
- IndexSearcher(String, boolean) - Constructor for class org.apache.lucene.search.IndexSearcher
-
- IndexSearcher(Directory) - Constructor for class org.apache.lucene.search.IndexSearcher
-
- 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
-
- IndexWriter(String, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
-
- IndexWriter(File, Analyzer, boolean, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
-
- IndexWriter(File, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
-
- 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
-
- IndexWriter(String, Analyzer, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
-
- IndexWriter(String, Analyzer) - Constructor for class org.apache.lucene.index.IndexWriter
-
- IndexWriter(File, Analyzer, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
-
- IndexWriter(File, Analyzer) - Constructor for class org.apache.lucene.index.IndexWriter
-
- 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
-
- IndexWriter(Directory, boolean, Analyzer) - Constructor for class org.apache.lucene.index.IndexWriter
-
- IndexWriter(Directory, boolean, Analyzer, boolean) - Constructor for class org.apache.lucene.index.IndexWriter
-
- 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
-
- IndexWriter(Directory, Analyzer, boolean, IndexDeletionPolicy, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
-
- IndexWriter(Directory, boolean, Analyzer, boolean, IndexDeletionPolicy) - Constructor for class org.apache.lucene.index.IndexWriter
-
- 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
-
- 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
-
- 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
-
- isLocked(String) - Static method in class org.apache.lucene.index.IndexReader
-
- 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
-
- 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
-
- isTermVectorStored() - Method in interface org.apache.lucene.document.Fieldable
-
- 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
-
- isTokenChar(char) - Method in class org.apache.lucene.analysis.WhitespaceTokenizer
-
- 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
-
- 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.
- 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
-