- cache - Variable in class org.apache.lucene.search.CachingSpanFilter
-
A transient Filter cache.
- cache - Variable in class org.apache.lucene.search.CachingWrapperFilter
-
A transient Filter cache.
- 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
-
- CachingTokenFilter - Class in org.apache.lucene.analysis
-
This class can be used if the Tokens 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
-
- 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)
- 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.
- 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
-
- 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
-
- 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.SegmentInfoStatus - Class in org.apache.lucene.index
-
Holds the status of each segment in the index.
- 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
-
- 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.
- 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 to default.
- 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(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.
- 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
-
- 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.index.Payload
-
Clones this payload by creating a copy of the underlying
byte array.
- 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.Query
-
Returns a clone of this query.
- clone() - Method in class org.apache.lucene.store.BufferedIndexInput
-
- clone() - Method in class org.apache.lucene.store.FSDirectory.FSIndexInput
-
- clone() - Method in class org.apache.lucene.store.IndexInput
-
Returns a clone of this stream.
- clone() - Method in class org.apache.lucene.util.OpenBitSet
-
- close() - Method in class org.apache.lucene.analysis.Analyzer
-
Frees persistent resources used by this Analyzer
- close() - Method in class org.apache.lucene.analysis.SinkTokenizer
-
- 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.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.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 class org.apache.lucene.search.RemoteSearchable
-
- close() - Method in interface org.apache.lucene.search.Searchable
-
Frees resources associated with this Searcher.
- close() - Method in class org.apache.lucene.search.Searcher
-
- close() - Method in class org.apache.lucene.search.WildcardTermEnum
-
- 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.FSDirectory
-
Closes the store to future operations.
- close() - Method in class org.apache.lucene.store.FSDirectory.FSIndexInput
-
- close() - Method in class org.apache.lucene.store.FSDirectory.FSIndexInput.Descriptor
-
- close() - Method in class org.apache.lucene.store.FSDirectory.FSIndexOutput
-
- close() - Method in class org.apache.lucene.store.IndexInput
-
Closes the stream to futher operations.
- close() - Method in class org.apache.lucene.store.IndexOutput
-
Closes this stream to further operations.
- 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.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
-
- collect(int, float) - Method in class org.apache.lucene.search.HitCollector
-
Called once for every document matching a query, with the document
number and its raw score.
- collect(int, float) - Method in class org.apache.lucene.search.TimeLimitedCollector
-
Calls collect() on the decorated HitCollector.
- collect(int, float) - Method in class org.apache.lucene.search.TopDocCollector
-
- collect(int, float) - Method in class org.apache.lucene.search.TopFieldDocCollector
-
- 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() - Method in class org.apache.lucene.index.IndexWriter
-
Commits all pending updates (added & deleted
documents) 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.
- COMPANY - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- comparators - Variable in class org.apache.lucene.search.FieldSortedHitQueue
-
Stores a comparator corresponding to each field being sorted by
- compare(Object, Object) - Method in class org.apache.lucene.index.TermVectorEntryFreqSortedComparator
-
- compare(ScoreDoc, ScoreDoc) - Method in interface org.apache.lucene.search.ScoreDocComparator
-
Compares two ScoreDoc objects and returns a result indicating their
sort order.
- compareTo(Object) - Method in class org.apache.lucene.index.Term
-
- compareTo(Term) - Method in class org.apache.lucene.index.Term
-
Compares two terms, returning 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 - Static variable in class org.apache.lucene.document.Field.Store
-
Store the original field value in the index in a compressed form.
- ConcurrentMergeScheduler - Class in org.apache.lucene.index
-
- ConcurrentMergeScheduler() - Constructor for class org.apache.lucene.index.ConcurrentMergeScheduler
-
- ConcurrentMergeScheduler.MergeThread - Class in org.apache.lucene.index
-
- Conjunction() - Method in class org.apache.lucene.queryParser.QueryParser
-
- 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.ConstantWeight - Class in org.apache.lucene.search
-
- ConstantScorer(Similarity, IndexReader, Weight) - Constructor for class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- ConstantScoreRangeQuery - Class in org.apache.lucene.search
-
A range query that returns a constant score equal to its boost for
all documents in the range.
- ConstantScoreRangeQuery(String, String, String, boolean, boolean) - Constructor for class org.apache.lucene.search.ConstantScoreRangeQuery
-
- ConstantScoreRangeQuery(String, String, String, boolean, boolean, Collator) - Constructor for class org.apache.lucene.search.ConstantScoreRangeQuery
-
- ConstantWeight(Searcher) - Constructor for class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- 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(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(byte[], int) - Method in class org.apache.lucene.index.Payload
-
Copies the payload data to a byte array.
- 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.
- 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.FSDirectory
-
Creates a new, empty file in the directory 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.
- 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
-
- 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.SpanQuery
-
- createWeight(Searcher) - Method in class org.apache.lucene.search.TermQuery
-
- curChar - Variable in class org.apache.lucene.queryParser.QueryParserTokenManager
-
- 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.CustomScoreQuery
-
Explain the custom score.
- customExplain(int, Explanation, Explanation) - Method in class org.apache.lucene.search.function.CustomScoreQuery
-
Explain the custom score.
- customScore(int, float, float[]) - Method in class org.apache.lucene.search.function.CustomScoreQuery
-
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.CustomScoreQuery
-
Compute a custom score by the subQuery score and the ValueSourceQuery score.
- CustomScoreQuery - Class in org.apache.lucene.search.function
-
Query that sets document score as a programmatic function of several (sub) scores.
- 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
-
- 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.
- decodeNorm(byte) - Static method in class org.apache.lucene.search.Similarity
-
Decodes a normalization factor stored in an index.
- 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_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 clenup
- DEFAULT_GREEDY - Variable in class org.apache.lucene.search.TimeLimitedCollector
-
- 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_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_RESOLUTION - Static variable in class org.apache.lucene.search.TimeLimitedCollector
-
Default timer resolution.
- 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
-
- 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.
- 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.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.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()
- Descriptor(File, String) - Constructor for class org.apache.lucene.store.FSDirectory.FSIndexInput.Descriptor
-
- difference() - Method in class org.apache.lucene.search.FilteredTermEnum
-
Equality measure on the term
- difference() - Method in class org.apache.lucene.search.FuzzyTermEnum
-
- difference() - Method in class org.apache.lucene.search.WildcardTermEnum
-
- dir - Variable in class org.apache.lucene.index.CheckIndex.Status
-
Directory index is in.
- dir - Variable in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- 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 - Class in org.apache.lucene.store
-
A Directory is a flat list of files.
- Directory() - Constructor for class org.apache.lucene.store.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.
- 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
- doBody() - Method in class org.apache.lucene.store.Lock.With
-
Code to execute with exclusive access.
- 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
-
Returns the current document number.
- 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(int) - Method in class org.apache.lucene.search.RemoteSearchable
-
- doc(int, FieldSelector) - Method in class org.apache.lucene.search.RemoteSearchable
-
- doc() - Method in class org.apache.lucene.search.ReqExclScorer
-
- doc() - Method in class org.apache.lucene.search.ReqOptSumScorer
-
- 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
-
Expert: 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 interface 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() - 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
-
- 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() - Method in class org.apache.lucene.index.TermEnum
-
Returns the docFreq of the current Term in the enumeration.
- docFreq() - Method in class org.apache.lucene.search.FilteredTermEnum
-
Returns the docFreq of the current Term in the enumeration.
- docFreq(Term) - Method in class org.apache.lucene.search.IndexSearcher
-
- docFreq(Term) - Method in class org.apache.lucene.search.MultiSearcher
-
- docFreq(Term) - Method in class org.apache.lucene.search.ParallelMultiSearcher
-
TODO: parallelize this one too
- docFreq(Term) - Method in class org.apache.lucene.search.RemoteSearchable
-
- docFreq(Term) - Method in interface org.apache.lucene.search.Searchable
-
Expert: Returns the number of documents containing term.
- docFreq(Term) - Method in class org.apache.lucene.search.Searcher
-
- docFreqs(Term[]) - Method in class org.apache.lucene.search.RemoteSearchable
-
- 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
-
- 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
-
- 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
-
- doCommit() - Method in class org.apache.lucene.index.FilterIndexReader
-
- doCommit() - Method in class org.apache.lucene.index.IndexReader
-
Implements commit.
- doCommit() - Method in class org.apache.lucene.index.MultiReader
-
- doCommit() - Method in class org.apache.lucene.index.ParallelReader
-
- docStoreCompoundFile - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
True if the shared doc store files are compound file
format.
- docStoreOffset - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Doc store offset, if this segment shares the doc
store files (stored fields and term vectors) with
other segments.
- docStoreSegment - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
String of the shared doc store segment, or null if
this segment does not share the doc store files.
- Document - Class in org.apache.lucene.document
-
Documents are the unit of indexing and search.
- Document() - Constructor for class org.apache.lucene.document.Document
-
Constructs a new document with no fields.
- document(int, FieldSelector) - Method in class org.apache.lucene.index.FilterIndexReader
-
- document(int) - Method in class org.apache.lucene.index.IndexReader
-
Returns the stored fields of the nth
Document in this index.
- document(int, FieldSelector) - Method in class org.apache.lucene.index.IndexReader
-
- document(int, FieldSelector) - Method in class org.apache.lucene.index.MultiReader
-
- document(int, FieldSelector) - Method in class org.apache.lucene.index.ParallelReader
-
- 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
-
- 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
-
- 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
-
- DOUBLE - Static variable in class org.apache.lucene.search.SortField
-
Sort using term values as encoded Doubles.
- 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
-
- 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, 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.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.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.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.
- 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.
- 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.
- 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
-
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
-
Expert: A hit queue for sorting by hits by terms in more than one field.
- FieldSortedHitQueue(IndexReader, SortField[], int) - Constructor for class org.apache.lucene.search.FieldSortedHitQueue
-
Creates a hit queue sorted by the given list of fields.
- FieldSortedTermVectorMapper - Class in org.apache.lucene.index
-
For each Field, store a sorted collection of
TermVectorEntrys
This is not thread-safe.
- FieldSortedTermVectorMapper(Comparator) - Constructor for class org.apache.lucene.index.FieldSortedTermVectorMapper
-
- FieldSortedTermVectorMapper(boolean, boolean, Comparator) - Constructor for class org.apache.lucene.index.FieldSortedTermVectorMapper
-
- file - Variable in class org.apache.lucene.store.FSDirectory.FSIndexInput
-
- fileExists(String) - Method in class org.apache.lucene.store.Directory
-
Returns true iff a file with the given name exists.
- fileExists(String) - Method in class org.apache.lucene.store.FSDirectory
-
Returns true iff a file with the given name exists.
- fileExists(String) - Method in class org.apache.lucene.store.RAMDirectory
-
Returns true iff the named file exists in this directory.
- fileLength(String) - Method in class org.apache.lucene.store.Directory
-
Returns the length of a file in the directory.
- fileLength(String) - Method in class org.apache.lucene.store.FSDirectory
-
Returns the length in bytes of a file in the directory.
- fileLength(String) - Method in class org.apache.lucene.store.RAMDirectory
-
Returns the length in bytes of a file in the directory.
- fileModified(String) - Method in class org.apache.lucene.store.Directory
-
Returns the time the named file was last modified.
- fileModified(String) - Method in class org.apache.lucene.store.FSDirectory
-
Returns the time the named file was last modified.
- fileModified(File, String) - Static method in class org.apache.lucene.store.FSDirectory
-
Returns the time the named file was last modified.
- fileModified(String) - Method in class org.apache.lucene.store.RAMDirectory
-
Returns the time the named file was last modified.
- 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 providing a mechanism to use a subset of an index
for restriction or permission of index search results.
- Filter() - Constructor for class org.apache.lucene.search.Filter
-
- filter - Variable in class org.apache.lucene.search.FilterManager.FilterItem
-
- filter - Variable in class org.apache.lucene.search.RemoteCachingWrapperFilter
-
- filterCleaner - Variable in class org.apache.lucene.search.FilterManager
-
Cache cleaner that runs in a separate thread
- FilterCleaner() - Constructor for class org.apache.lucene.search.FilterManager.FilterCleaner
-
- 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.FilterTermEnum - Class in org.apache.lucene.index
-
Base class for filtering
TermEnum implementations.
- FilterIndexReader.FilterTermPositions - Class in org.apache.lucene.index
-
- FilterItem(Filter) - Constructor for class org.apache.lucene.search.FilterManager.FilterItem
-
- 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.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.
- FilterTermDocs(TermDocs) - Constructor for class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- FilterTermEnum(TermEnum) - Constructor for class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
-
- FilterTermPositions(TermPositions) - Constructor for class org.apache.lucene.index.FilterIndexReader.FilterTermPositions
-
- finalize() - Method in class org.apache.lucene.index.IndexWriter
-
Release the write lock, if needed.
- finalize() - Method in class org.apache.lucene.store.FSDirectory.FSIndexInput.Descriptor
-
- findMerges(SegmentInfos, IndexWriter) - Method in class org.apache.lucene.index.LogMergePolicy
-
- findMergesForOptimize(SegmentInfos, IndexWriter, int, Set) - Method in class org.apache.lucene.index.LogMergePolicy
-
Returns the merges necessary to optimize the index.
- findMergesToExpungeDeletes(SegmentInfos, IndexWriter) - Method in class org.apache.lucene.index.LogMergePolicy
-
Finds merges necessary 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
-
- fixIndex(CheckIndex.Status) - Method in class org.apache.lucene.index.CheckIndex
-
- 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
- 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() - 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.FSDirectory.FSIndexOutput
-
output methods:
- 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
-
Straightforward implementation of
Directory as a directory of files.
- FSDirectory() - Constructor for class org.apache.lucene.store.FSDirectory
-
- FSDirectory.FSIndexInput - Class in org.apache.lucene.store
-
- FSDirectory.FSIndexInput.Descriptor - Class in org.apache.lucene.store
-
- FSDirectory.FSIndexOutput - Class in org.apache.lucene.store
-
- FSIndexInput(File) - Constructor for class org.apache.lucene.store.FSDirectory.FSIndexInput
-
- FSIndexInput(File, int) - Constructor for class org.apache.lucene.store.FSDirectory.FSIndexInput
-
- FSIndexOutput(File) - Constructor for class org.apache.lucene.store.FSDirectory.FSIndexOutput
-
- 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.ScoreTermQueue - Class in org.apache.lucene.search
-
- FuzzyTermEnum - Class in org.apache.lucene.search
-
Subclass of FilteredTermEnum for enumerating all terms that are similiar
to the specified filter term.
- FuzzyTermEnum(IndexReader, Term) - Constructor for class org.apache.lucene.search.FuzzyTermEnum
-
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.
- generateParseException() - Method in class org.apache.lucene.queryParser.QueryParser
-
Generate ParseException.
- 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() - 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
-
Whether hit docs may be collected out of docid order.
- 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.
- getAuto(IndexReader, String) - Method in interface org.apache.lucene.search.FieldCache
-
Checks the internal cache for an appropriate entry, and if
none is found reads field to see if it contains integers, floats
or strings, and then calls one of the other methods in this class to get the
values.
- getAverageValue() - Method in class org.apache.lucene.search.function.DocValues
-
Returns the average of all values.
- 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.
- 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.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.
- 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
-
- getChecksum() - Method in class org.apache.lucene.store.ChecksumIndexInput
-
- getChecksum() - Method in class org.apache.lucene.store.ChecksumIndexOutput
-
- 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
-
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
-
- getComparable(String) - Method in class org.apache.lucene.search.SortComparator
-
Returns an object which, when sorted according to natural order,
will order the Term values in the correct order.
- getComparator() - Method in class org.apache.lucene.index.FieldSortedTermVectorMapper
-
- getCurrentVersion(String) - Static method in class org.apache.lucene.index.IndexReader
-
Reads version number from segments files.
- getCurrentVersion(File) - Static method in class org.apache.lucene.index.IndexReader
-
Reads version number from segments files.
- getCurrentVersion(Directory) - Static method in class org.apache.lucene.index.IndexReader
-
Reads version number from segments files.
- getCustom(IndexReader, String, SortComparator) - Method in interface org.apache.lucene.search.FieldCache
-
Checks the internal cache for an appropriate entry, and if none
is found reads the terms out of field and calls the given SortComparator
to get the sort values.
- 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.
- getDefault() - Static method in class org.apache.lucene.search.Similarity
-
Return the default Similarity implementation used by indexing and search
code.
- 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
-
- getDefaultWriteLockTimeout() - Static method in class org.apache.lucene.index.IndexWriter
-
Returns default write lock timeout for newly
instantiated IndexWriters.
- getDescription() - Method in class org.apache.lucene.search.Explanation
-
A description of this explanation node.
- getDetails() - Method in class org.apache.lucene.search.Explanation
-
The sub-nodes of this explanation node.
- getDirectory() - 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
-
Returns the directory instance for the named location.
- getDirectory(String, LockFactory) - Static method in class org.apache.lucene.store.FSDirectory
-
Returns the directory instance for the named location.
- getDirectory(File) - Static method in class org.apache.lucene.store.FSDirectory
-
Returns the directory instance for the named location.
- getDirectory(File, LockFactory) - Static method in class org.apache.lucene.store.FSDirectory
-
Returns the directory instance for the named location.
- getDirectory(String, boolean) - Static method in class org.apache.lucene.store.FSDirectory
-
- getDirectory(File, boolean) - Static method in class org.apache.lucene.store.FSDirectory
-
- getDisableLocks() - Static method in class org.apache.lucene.store.FSDirectory
-
Returns whether Lucene's use of lock files is disabled.
- getDoc() - Method in class org.apache.lucene.search.SpanFilterResult.PositionInfo
-
- 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.Filter
-
- getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.PrefixFilter
-
- getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.QueryWrapperFilter
-
- getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.RangeFilter
-
Returns a DocIdSet with documents that should be
permitted in search results.
- getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.RemoteCachingWrapperFilter
-
Uses the
FilterManager to keep the cache for a filter on the
searcher side of a remote connection.
- getDocIdSet() - Method in class org.apache.lucene.search.SpanFilterResult
-
Returns the docIdSet
- getDocIdSet(IndexReader) - Method in class org.apache.lucene.search.SpanQueryFilter
-
- getDocument() - Method in class org.apache.lucene.search.Hit
-
Deprecated.
Returns document for this hit.
- getDoubles(IndexReader, String) - Method in interface org.apache.lucene.search.ExtendedFieldCache
-
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, ExtendedFieldCache.DoubleParser) - Method in interface org.apache.lucene.search.ExtendedFieldCache
-
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
-
- 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.WildcardQuery
-
- getExclude() - Method in class org.apache.lucene.search.spans.SpanNotQuery
-
Return the SpanQuery whose matches must not overlap those returned.
- getFactory() - Method in class org.apache.lucene.search.SortField
-
- getField(String) - Method in class org.apache.lucene.document.Document
-
Returns a field with the given name if any exist in this document, or
null.
- getField() - Method in interface org.apache.lucene.index.TermFreqVector
-
- getField() - Method in class org.apache.lucene.index.TermVectorEntry
-
- getField() - Method in class org.apache.lucene.queryParser.QueryParser
-
- getField() - Method in class org.apache.lucene.search.ConstantScoreRangeQuery
-
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
-
Returns the field name for this query
- getField() - Method in class org.apache.lucene.search.SortField
-
Returns the name of the field.
- getField() - Method in class org.apache.lucene.search.spans.SpanFirstQuery
-
- getField() - Method in class org.apache.lucene.search.spans.SpanNearQuery
-
- getField() - Method in class org.apache.lucene.search.spans.SpanNotQuery
-
- getField() - Method in class org.apache.lucene.search.spans.SpanOrQuery
-
- getField() - Method in class org.apache.lucene.search.spans.SpanQuery
-
Returns the name of the field matched by this query.
- getField() - Method in class org.apache.lucene.search.spans.SpanTermQuery
-
- getFieldable(String) - Method in class org.apache.lucene.document.Document
-
Returns a field with the given name if any exist in this document, or
null.
- getFieldables(String) - Method in class org.apache.lucene.document.Document
-
Returns an array of
Fieldables with the given name.
- 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
-
- 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
Fields with the given name.
- getFieldToTerms() - Method in class org.apache.lucene.index.FieldSortedTermVectorMapper
-
Get the mapping between fields and terms, sorted by the comparator
- getFieldToTerms() - Method in class org.apache.lucene.index.PositionBasedTermVectorMapper
-
Get the mapping between fields and terms, sorted by the comparator
- getFile() - Method in class org.apache.lucene.store.FSDirectory
-
- getFileNames() - Method in class org.apache.lucene.index.IndexCommit
-
Returns all index files referenced by this commit point.
- getFileNames() - Method in interface org.apache.lucene.index.IndexCommitPoint
-
Deprecated.
Returns all index files referenced by this commit point.
- getFilePointer() - Method in class org.apache.lucene.store.BufferedIndexInput
-
- getFilePointer() - Method in class org.apache.lucene.store.BufferedIndexOutput
-
Returns the current position in this file, where the next write will
occur.
- getFilePointer() - Method in class org.apache.lucene.store.ChecksumIndexInput
-
- getFilePointer() - Method in class org.apache.lucene.store.ChecksumIndexOutput
-
- getFilePointer() - Method in class org.apache.lucene.store.IndexInput
-
Returns the current position in this file, where the next read will
occur.
- getFilePointer() - Method in class org.apache.lucene.store.IndexOutput
-
Returns the current position in this file, where the next write will
occur.
- getFilePointer() - Method in class org.apache.lucene.store.RAMOutputStream
-
- getFilter() - Static method in class org.apache.lucene.index.IndexFileNameFilter
-
- getFilter() - Method in class org.apache.lucene.search.ConstantScoreQuery
-
Returns the encapsulated filter
- getFilter() - Method in class org.apache.lucene.search.FilteredQuery
-
- getFilter(Filter) - Method in class org.apache.lucene.search.FilterManager
-
Returns the cached version of the filter.
- getFlags() - Method in class org.apache.lucene.analysis.Token
-
EXPERIMENTAL: While we think this is here to stay, we may want to change it to be a long.
- 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
- getId() - Method in class org.apache.lucene.search.Hit
-
Deprecated.
Returns id for this hit.
- 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.
- 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.
- getLastDocCollected() - Method in exception org.apache.lucene.search.TimeLimitedCollector.TimeExceededException
-
Returns last doc that was collected when the search time exceeded.
- 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.
- 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) - Method in interface org.apache.lucene.search.ExtendedFieldCache
-
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, ExtendedFieldCache.LongParser) - Method in interface org.apache.lucene.search.ExtendedFieldCache
-
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
-
Returns the lower term of this range query
- getLowerVal() - Method in class org.apache.lucene.search.ConstantScoreRangeQuery
-
Returns the value of the lower endpoint of this range query, null if open ended
- 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.
- 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.
- 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 (meaured 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
-
returns the maximum score encountered by elements inserted via insert()
- getMaxScore() - Method in class org.apache.lucene.search.TopDocs
-
Expert: Returns the maximum score value encountered.
- getMaxSyncPauseSeconds() - Method in class org.apache.lucene.index.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
-
Optional op.
- 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
-
- getMinimumNumberShouldMatch() - Method in class org.apache.lucene.search.BooleanQuery
-
Gets the minimum number of the optional BooleanClauses
which must be satisifed.
- 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
-
Optional op.
- 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.
- 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.
- 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.Payload
-
Returns the offset in the underlying byte array
- 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
- getOmitTf() - Method in class org.apache.lucene.document.AbstractField
-
True if tf is omitted for this indexed field
- getOmitTf() - Method in interface org.apache.lucene.document.Fieldable
-
True if tf is omitted for this indexed field
- getPayload() - Method in class org.apache.lucene.analysis.Token
-
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 interface org.apache.lucene.search.spans.PayloadSpans
-
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.
- getPayloadsForQuery(Query) - Method in class org.apache.lucene.search.payloads.PayloadSpanUtil
-
Query should be rewritten for wild/fuzzy support.
- getPayloadSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
-
- getPayloadSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanNearQuery
-
- getPayloadSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanNotQuery
-
- getPayloadSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanOrQuery
-
- getPayloadSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanQuery
-
Returns the matches for this query in an index, including access to any
Payloads at those
positions.
- getPayloadSpans(IndexReader) - Method in class org.apache.lucene.search.spans.SpanTermQuery
-
- getPhraseSlop() - Method in class org.apache.lucene.queryParser.QueryParser
-
Gets the default slop for phrases.
- 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.
- 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
-
- 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.
- getQuery() - Method in class org.apache.lucene.search.BooleanClause
-
- getQuery() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- 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 interface 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
-
- getResolution() - Static method in class org.apache.lucene.search.TimeLimitedCollector
-
Return the timer resolution.
- getReverse() - Method in class org.apache.lucene.search.SortField
-
Returns whether the sort should be reversed.
- 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
-
- 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.
- 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.Scorer
-
Returns the Similarity implementation used by this scorer.
- getSimilarity() - Method in class org.apache.lucene.search.Searcher
-
Expert: Return the Similarity implementation used by this Searcher.
- getSlop() - Method in class org.apache.lucene.search.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.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
-
- 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.
- 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.MultiTermQuery
-
Returns the pattern term.
- 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.
- getTermArrays() - Method in class org.apache.lucene.search.MultiPhraseQuery
-
Returns a List of the terms in the multiphrase.
- 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
-
- 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
-
- 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.
- 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.SpanFirstQuery
-
- getTerms() - Method in class org.apache.lucene.search.spans.SpanNearQuery
-
- getTerms() - Method in class org.apache.lucene.search.spans.SpanNotQuery
-
- getTerms() - Method in class org.apache.lucene.search.spans.SpanOrQuery
-
- getTerms() - Method in class org.apache.lucene.search.spans.SpanQuery
-
- getTerms() - Method in class org.apache.lucene.search.spans.SpanTermQuery
-
- getTermVectorEntrySet() - Method in class org.apache.lucene.index.SortedTermVectorMapper
-
The TermVectorEntrySet.
- getTimeAllowed() - Method in exception org.apache.lucene.search.TimeLimitedCollector.TimeExceededException
-
Returns allowed time (milliseconds).
- getTimeElapsed() - Method in exception org.apache.lucene.search.TimeLimitedCollector.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
-
Get the tokens in the internal List.
- getTotalHits() - Method in class org.apache.lucene.search.TopDocCollector
-
The total number of documents that matched this query.
- getType() - Method in class org.apache.lucene.search.SortField
-
Returns the type of contents in the field.
- getUpperTerm() - Method in class org.apache.lucene.search.RangeQuery
-
Returns the upper term of this range query
- getUpperVal() - Method in class org.apache.lucene.search.ConstantScoreRangeQuery
-
Returns the value of the upper endpoint of this range query, null if open ended
- 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.
- getUseOldRangeQuery() - Method in class org.apache.lucene.queryParser.QueryParser
-
- getUseScorer14() - Static method in class org.apache.lucene.search.BooleanQuery
-
- getValue() - Method in class org.apache.lucene.queryParser.Token
-
An optional attribute value of the Token.
- getValue() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- getValue() - Method in class org.apache.lucene.search.Explanation
-
The value assigned to this explanation node.
- getValue() - Method in class org.apache.lucene.search.spans.SpanWeight
-
- getValue() - Method in interface org.apache.lucene.search.Weight
-
The weight for this query.
- getValues(String) - Method in class org.apache.lucene.document.Document
-
Returns an array of values of the field specified as the method parameter.
- getValues(IndexReader) - Method in class org.apache.lucene.search.function.FieldCacheSource
-
- 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.
- 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(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).
- 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
-
Computes a score factor for a simple term.
- idf(Collection, Searcher) - Method in class org.apache.lucene.search.Similarity
-
Computes a score factor for a phrase.
- idf(int, int) - Method in class org.apache.lucene.search.Similarity
-
Computes a score factor based on a term's document frequency (the number
of documents which contain the term).
- idf(int, int) - Method in class org.apache.lucene.search.SimilarityDelegator
-
- idf - Variable in class org.apache.lucene.search.spans.SpanWeight
-
- 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.ConstantScoreRangeQuery
-
Returns true if the lower endpoint is inclusive
- includesUpper() - Method in class org.apache.lucene.search.ConstantScoreRangeQuery
-
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.
- IndexCommit - Class in org.apache.lucene.index
-
- IndexCommit() - Constructor for class org.apache.lucene.index.IndexCommit
-
- IndexCommitPoint - Interface in org.apache.lucene.index
-
- 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
-
Returns true if an index exists at the specified directory.
- indexExists(File) - Static method in class org.apache.lucene.index.IndexReader
-
Returns true if an index exists at the specified directory.
- indexExists(Directory) - Static method in class org.apache.lucene.index.IndexReader
-
Returns true if an index exists at the specified directory.
- IndexFileNameFilter - Class in org.apache.lucene.index
-
Filename filter that accept filenames and extensions only created by Lucene.
- IndexFileNameFilter() - Constructor for class org.apache.lucene.index.IndexFileNameFilter
-
- 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
-
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
-
- 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
-
Creates a searcher searching the index in the named directory.
- IndexSearcher(Directory) - Constructor for class org.apache.lucene.search.IndexSearcher
-
Creates a searcher searching the index in the provided directory.
- IndexSearcher(IndexReader) - Constructor for class org.apache.lucene.search.IndexSearcher
-
Creates a searcher searching the provided index.
- indexWriter - 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
-
Constructs an IndexWriter for the index in path.
- 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
-
Constructs an IndexWriter for the index in path.
- 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
-
Constructs an IndexWriter for the index in
path, first creating it if it does not
already exist.
- IndexWriter(String, Analyzer) - Constructor for class org.apache.lucene.index.IndexWriter
-
- IndexWriter(File, Analyzer, IndexWriter.MaxFieldLength) - Constructor for class org.apache.lucene.index.IndexWriter
-
Constructs an IndexWriter for the index in
path, first creating it if it does not
already exist.
- 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.MaxFieldLength - Class in org.apache.lucene.index
-
Specifies maximum field length in
IndexWriter constructors.
- infoStream - Variable in class org.apache.lucene.index.IndexModifier
-
Deprecated.
- 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.
- initialValue() - Method in class org.apache.lucene.util.CloseableThreadLocal
-
- 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.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
-
- insert(Object) - Method in class org.apache.lucene.search.FieldSortedHitQueue
-
- insert(Object) - Method in class org.apache.lucene.util.PriorityQueue
-
Adds element to the PriorityQueue in log(size) time if either
the PriorityQueue is not full, or not lessThan(element, top()).
- 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
-
- 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.
- 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.
- 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 iff the value of the filed is stored as binary
- 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 this IndexReader is still using the
current (i.e., most recently committed) version of the
index.
- 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.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
-
- 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
-
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
-
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 iff 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
-
Returns true iff the index in the named directory is
currently locked.
- isLocked() - Method in class org.apache.lucene.store.Lock
-
Returns true if the resource is currently locked.
- 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
-
A filter that replaces accented characters in the ISO Latin 1 character set
(ISO-8859-1) by their unaccented equivalent.
- ISOLatin1AccentFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.ISOLatin1AccentFilter
-
- isOpen - Variable in class org.apache.lucene.store.FSDirectory.FSIndexInput.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 interface org.apache.lucene.search.spans.PayloadSpans
-
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
-
- isReplaceInvalidAcronym() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- 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 iff 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 positon in source text).
- isStoreOffsetWithTermVector() - Method in interface org.apache.lucene.document.Fieldable
-
True iff 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 iff 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
-
Collects only characters which satisfy
Character.isLetter(char).
- isTokenChar(char) - Method in class org.apache.lucene.analysis.WhitespaceTokenizer
-
Collects only characters which do not satisfy
Character.isWhitespace(char).
- isTokenized - Variable in class org.apache.lucene.document.AbstractField
-
- isTokenized() - Method in class org.apache.lucene.document.AbstractField
-
True iff the value of the field should be tokenized as text prior to
indexing.
- isTokenized() - Method in interface org.apache.lucene.document.Fieldable
-
True iff the value of the field should be tokenized as text prior to
indexing.
- iter - Variable in class org.apache.lucene.analysis.SinkTokenizer
-
- 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.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
-
- name - Variable in class org.apache.lucene.document.AbstractField
-
- name() - Method in class org.apache.lucene.document.AbstractField
-
Returns the name of the field as an interned string.
- name() - Method in interface org.apache.lucene.document.Fieldable
-
Returns the name of the field as an interned string.
- name - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Name of the segment.
- name() - Method in class org.apache.lucene.search.function.CustomScoreQuery
-
- NativeFSLockFactory - Class in org.apache.lucene.store
-
- NativeFSLockFactory(String) - Constructor for class org.apache.lucene.store.NativeFSLockFactory
-
Create a NativeFSLockFactory instance, storing lock
files into the specified lockDirName:
- NativeFSLockFactory(File) - Constructor for class org.apache.lucene.store.NativeFSLockFactory
-
Create a NativeFSLockFactory instance, storing lock
files into the specified lockDir:
- newBooleanClause(Query, BooleanClause.Occur) - Method in class org.apache.lucene.queryParser.QueryParser
-
Builds a new BooleanClause instance
- newBooleanQuery(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
-
Builds a new BooleanQuery instance
- newBuffer(byte[]) - Method in class org.apache.lucene.store.BufferedIndexInput
-
- newComparator(IndexReader, String) - Method in class org.apache.lucene.search.SortComparator
-
- newComparator(IndexReader, String) - Method in interface org.apache.lucene.search.SortComparatorSource
-
Creates a comparator for the field in the given index.
- newFuzzyQuery(Term, float, int) - Method in class org.apache.lucene.queryParser.QueryParser
-
Builds a new FuzzyQuery instance
- newMatchAllDocsQuery() - Method in class org.apache.lucene.queryParser.QueryParser
-
Builds a new MatchAllDocsQuery instance
- newMultiPhraseQuery() - Method in class org.apache.lucene.queryParser.QueryParser
-
Builds a new MultiPhraseQuery instance
- newPhraseQuery() - Method in class org.apache.lucene.queryParser.QueryParser
-
Builds a new PhraseQuery instance
- newPrefixQuery(Term) - Method in class org.apache.lucene.queryParser.QueryParser
-
Builds a new PrefixQuery instance
- newRangeQuery(String, String, String, boolean) - Method in class org.apache.lucene.queryParser.QueryParser
-
Builds a new RangeQuery instance
- newTermQuery(Term) - Method in class org.apache.lucene.queryParser.QueryParser
-
Builds a new TermQuery instance
- newToken(int, String) - Static method in class org.apache.lucene.queryParser.Token
-
Returns a new Token object, by default.
- newToken(int) - Static method in class org.apache.lucene.queryParser.Token
-
- newWildcardQuery(Term) - Method in class org.apache.lucene.queryParser.QueryParser
-
Builds a new WildcardQuery instance
- next(Token) - Method in class org.apache.lucene.analysis.CachingTokenFilter
-
- next() - Method in class org.apache.lucene.analysis.CharArraySet.CharArraySetIterator
-
Returns the next String, as a Set would...
- next(Token) - Method in class org.apache.lucene.analysis.CharTokenizer
-
- next(Token) - Method in class org.apache.lucene.analysis.ISOLatin1AccentFilter
-
- next(Token) - Method in class org.apache.lucene.analysis.KeywordTokenizer
-
- next(Token) - Method in class org.apache.lucene.analysis.LengthFilter
-
Returns the next input Token whose term() is the right len
- next(Token) - Method in class org.apache.lucene.analysis.LowerCaseFilter
-
- next(Token) - Method in class org.apache.lucene.analysis.PorterStemFilter
-
- next(Token) - Method in class org.apache.lucene.analysis.SinkTokenizer
-
Returns the next token out of the list of cached tokens
- next(Token) - Method in class org.apache.lucene.analysis.standard.StandardFilter
-
Returns the next token in the stream, or null at EOS.
- next(Token) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- next(Token) - Method in class org.apache.lucene.analysis.StopFilter
-
Returns the next input Token whose term() is not a stop word.
- next(Token) - Method in class org.apache.lucene.analysis.TeeTokenFilter
-
- next() - Method in class org.apache.lucene.analysis.TokenStream
-
- next(Token) - Method in class org.apache.lucene.analysis.TokenStream
-
Returns the next token in the stream, or null at EOS.
- next() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- next() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
-
- next() - Method in class org.apache.lucene.index.MultipleTermPositions
-
- next() - Method in interface org.apache.lucene.index.TermDocs
-
Moves to the next pair in the enumeration.
- next() - Method in class org.apache.lucene.index.TermEnum
-
Increments the enumeration to the next element.
- next - Variable in class org.apache.lucene.queryParser.Token
-
A reference to the next regular (non-special) token from the input
stream.
- next() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- next() - Method in class org.apache.lucene.search.DocIdSetIterator
-
Moves to the next docId in the set.
- next() - Method in class org.apache.lucene.search.FilteredTermEnum
-
Increments the enumeration to the next element.
- next() - Method in class org.apache.lucene.search.HitIterator
-
Deprecated.
Returns a
Hit instance representing the next hit in
Hits.
- next() - Method in class org.apache.lucene.search.ReqExclScorer
-
- next() - Method in class org.apache.lucene.search.ReqOptSumScorer
-
- next() - Method in interface org.apache.lucene.search.spans.Spans
-
Move to the next match, returning true iff any such exists.
- next() - Method in class org.apache.lucene.search.spans.SpanScorer
-
- next() - Method in class org.apache.lucene.search.spans.TermSpans
-
- next() - Method in class org.apache.lucene.util.OpenBitSetIterator
-
alternate shift implementations
// 32 bit shifts, but a long shift needed at the end
private void shift2() {
int y = (int)word;
if (y==0) {wordShift +=32; y = (int)(word >>>32); }
if ((y & 0x0000FFFF) == 0) { wordShift +=16; y>>>=16; }
if ((y & 0x000000FF) == 0) { wordShift +=8; y>>>=8; }
indexArray = bitlist[y & 0xff];
word >>>= (wordShift +1);
}
private void shift3() {
int lower = (int)word;
int lowByte = lower & 0xff;
if (lowByte != 0) {
indexArray=bitlist[lowByte];
return;
}
shift();
}
- nextCharArray() - Method in class org.apache.lucene.analysis.CharArraySet.CharArraySetIterator
-
do not modify the returned char[]
- nextHighestPowerOfTwo(int) - Static method in class org.apache.lucene.util.BitUtil
-
returns the next highest power of two, or the current value if it's already a power of two or zero
- nextHighestPowerOfTwo(long) - Static method in class org.apache.lucene.util.BitUtil
-
returns the next highest power of two, or the current value if it's already a power of two or zero
- nextPosition() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermPositions
-
- nextPosition() - Method in class org.apache.lucene.index.MultipleTermPositions
-
- nextPosition() - Method in interface org.apache.lucene.index.TermPositions
-
Returns next position in the current document.
- nextSetBit(int) - Method in class org.apache.lucene.util.OpenBitSet
-
Returns the index of the first set bit starting at the index specified.
- nextSetBit(long) - Method in class org.apache.lucene.util.OpenBitSet
-
Returns the index of the first set bit starting at the index specified.
- NIOFSDirectory - Class in org.apache.lucene.store
-
NIO version of FSDirectory.
- NIOFSDirectory() - Constructor for class org.apache.lucene.store.NIOFSDirectory
-
- NO - Static variable in class org.apache.lucene.document.Field.Index
-
Do not index the field value.
- NO - Static variable in class org.apache.lucene.document.Field.Store
-
Do not store the field value in the index.
- NO - Static variable in class org.apache.lucene.document.Field.TermVector
-
Do not store term vectors.
- NO_LOAD - Static variable in class org.apache.lucene.document.FieldSelectorResult
-
- NO_NORMS - Static variable in class org.apache.lucene.document.Field.Index
-
- NoLockFactory - Class in org.apache.lucene.store
-
- NoLockFactory() - Constructor for class org.apache.lucene.store.NoLockFactory
-
- normalize(char) - Method in class org.apache.lucene.analysis.CharTokenizer
-
Called on each token character to normalize it before it is added to the
token.
- normalize(char) - Method in class org.apache.lucene.analysis.LowerCaseTokenizer
-
Collects only characters which satisfy
Character.isLetter(char).
- normalize(float) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- normalize(float) - Method in class org.apache.lucene.search.spans.SpanWeight
-
- normalize(float) - Method in interface org.apache.lucene.search.Weight
-
Assigns the query normalization factor to this.
- norms(String) - Method in class org.apache.lucene.index.FilterIndexReader
-
- norms(String, byte[], int) - Method in class org.apache.lucene.index.FilterIndexReader
-
- norms(String) - Method in class org.apache.lucene.index.IndexReader
-
Returns the byte-encoded normalization factor for the named field of
every document.
- norms(String, byte[], int) - Method in class org.apache.lucene.index.IndexReader
-
Reads the byte-encoded normalization factor for the named field of every
document.
- norms(String) - Method in class org.apache.lucene.index.MultiReader
-
- norms(String, byte[], int) - Method in class org.apache.lucene.index.MultiReader
-
- norms(String) - Method in class org.apache.lucene.index.ParallelReader
-
- norms(String, byte[], int) - Method in class org.apache.lucene.index.ParallelReader
-
- norms - Variable in class org.apache.lucene.search.spans.SpanScorer
-
- NOT - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- NOT_ANALYZED - Static variable in class org.apache.lucene.document.Field.Index
-
Index the field's value without using an Analyzer, so it can be searched.
- NOT_ANALYZED_NO_NORMS - Static variable in class org.apache.lucene.document.Field.Index
-
Expert: Index the field's value without an Analyzer,
and also disable the storing of norms.
- ntz(long) - Static method in class org.apache.lucene.util.BitUtil
-
Returns number of trailing zeros in the 64 bit long value.
- ntz2(long) - Static method in class org.apache.lucene.util.BitUtil
-
returns 0 based index of first set bit
(only works for x!=0)
This is an alternate implementation of ntz()
- ntz3(long) - Static method in class org.apache.lucene.util.BitUtil
-
returns 0 based index of first set bit
This is an alternate implementation of ntz()
- ntzTable - Static variable in class org.apache.lucene.util.BitUtil
-
table of number of trailing zeros in a byte
- NUM - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- numBadSegments - Variable in class org.apache.lucene.index.CheckIndex.Status
-
How many bad segments were found.
- NUMBER - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- NumberTools - Class in org.apache.lucene.document
-
Provides support for converting longs to Strings, and back again.
- NumberTools() - Constructor for class org.apache.lucene.document.NumberTools
-
- numDeleted - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Number of deleted documents.
- numDeletedDocs() - Method in class org.apache.lucene.index.IndexReader
-
Returns the number of deleted documents.
- numDocs() - Method in class org.apache.lucene.index.FilterIndexReader
-
- numDocs() - Method in class org.apache.lucene.index.IndexReader
-
Returns the number of documents in this index.
- numDocs() - Method in class org.apache.lucene.index.IndexWriter
-
Returns total number of docs in this index, including
docs not yet flushed (still in the RAM buffer), and
including deletions.
- numDocs() - Method in class org.apache.lucene.index.MultiReader
-
- numDocs() - Method in class org.apache.lucene.index.ParallelReader
-
- numFiles - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Number of files referenced by this segment.
- numRamDocs() - Method in class org.apache.lucene.index.IndexWriter
-
Expert: Return the number of documents currently
buffered in RAM.
- numSegments - Variable in class org.apache.lucene.index.CheckIndex.Status
-
Number of segments in the index.
- score() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- score - Variable in class org.apache.lucene.search.FuzzyQuery.ScoreTerm
-
- score(int) - Method in class org.apache.lucene.search.Hits
-
Deprecated.
Returns the score for the nth document in this set.
- score() - Method in class org.apache.lucene.search.payloads.BoostingTermQuery.BoostingTermWeight.BoostingSpanScorer
-
- score() - Method in class org.apache.lucene.search.ReqExclScorer
-
Returns the score of the current document matching the query.
- score() - Method in class org.apache.lucene.search.ReqOptSumScorer
-
Returns the score of the current document matching the query.
- score - Variable in class org.apache.lucene.search.ScoreDoc
-
Expert: The score of this document for the query.
- score(HitCollector) - Method in class org.apache.lucene.search.Scorer
-
Scores and collects all matching documents.
- score(HitCollector, int) - Method in class org.apache.lucene.search.Scorer
-
Expert: Collects matching documents in a range.
- score() - Method in class org.apache.lucene.search.Scorer
-
Returns the score of the current document matching the query.
- SCORE - Static variable in class org.apache.lucene.search.SortField
-
Sort by document score (relevancy).
- score() - Method in class org.apache.lucene.search.spans.SpanScorer
-
- ScoreDoc - Class in org.apache.lucene.search
-
Expert: Returned by low-level search implementations.
- ScoreDoc(int, float) - Constructor for class org.apache.lucene.search.ScoreDoc
-
Expert: Constructs a ScoreDoc.
- ScoreDocComparator - Interface in org.apache.lucene.search
-
Expert: Compares two ScoreDoc objects for sorting.
- scoreDocs - Variable in class org.apache.lucene.search.TopDocs
-
Expert: The top hits for the query.
- scorePayload(String, byte[], int, int) - Method in class org.apache.lucene.search.Similarity
-
Calculate a scoring factor based on the data in the payload.
- scorePayload(String, byte[], int, int) - Method in class org.apache.lucene.search.SimilarityDelegator
-
- scorer(IndexReader) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- scorer(IndexReader) - Method in class org.apache.lucene.search.payloads.BoostingTermQuery.BoostingTermWeight
-
- Scorer - Class in org.apache.lucene.search
-
Expert: Common scoring functionality for different types of queries.
- Scorer(Similarity) - Constructor for class org.apache.lucene.search.Scorer
-
Constructs a Scorer.
- scorer(IndexReader) - Method in class org.apache.lucene.search.spans.SpanWeight
-
- scorer(IndexReader) - Method in interface org.apache.lucene.search.Weight
-
Constructs a scorer for this.
- ScorerDocQueue - Class in org.apache.lucene.util
-
A ScorerDocQueue maintains a partial ordering of its Scorers such that the
least Scorer can always be found in constant time.
- ScorerDocQueue(int) - Constructor for class org.apache.lucene.util.ScorerDocQueue
-
Create a ScorerDocQueue with a maximum size.
- ScoreTerm(Term, float) - Constructor for class org.apache.lucene.search.FuzzyQuery.ScoreTerm
-
- ScoreTermQueue(int) - Constructor for class org.apache.lucene.search.FuzzyQuery.ScoreTermQueue
-
- search(Weight, Filter, int) - Method in class org.apache.lucene.search.IndexSearcher
-
- search(Weight, Filter, int, Sort) - Method in class org.apache.lucene.search.IndexSearcher
-
- search(Weight, Filter, HitCollector) - Method in class org.apache.lucene.search.IndexSearcher
-
- search(Weight, Filter, int) - Method in class org.apache.lucene.search.MultiSearcher
-
- search(Weight, Filter, int, Sort) - Method in class org.apache.lucene.search.MultiSearcher
-
- search(Weight, Filter, HitCollector) - Method in class org.apache.lucene.search.MultiSearcher
-
- search(Weight, Filter, int) - Method in class org.apache.lucene.search.ParallelMultiSearcher
-
A search implementation which spans a new thread for each
Searchable, waits for each search to complete and merge
the results back together.
- search(Weight, Filter, int, Sort) - Method in class org.apache.lucene.search.ParallelMultiSearcher
-
A search implementation allowing sorting which spans a new thread for each
Searchable, waits for each search to complete and merges
the results back together.
- search(Weight, Filter, HitCollector) - Method in class org.apache.lucene.search.ParallelMultiSearcher
-
Lower-level search API.
- search(Weight, Filter, HitCollector) - Method in class org.apache.lucene.search.RemoteSearchable
-
- search(Weight, Filter, int) - Method in class org.apache.lucene.search.RemoteSearchable
-
- search(Weight, Filter, int, Sort) - Method in class org.apache.lucene.search.RemoteSearchable
-
- search(Weight, Filter, HitCollector) - Method in interface org.apache.lucene.search.Searchable
-
Lower-level search API.
- search(Weight, Filter, int) - Method in interface org.apache.lucene.search.Searchable
-
Expert: Low-level search implementation.
- search(Weight, Filter, int, Sort) - Method in interface org.apache.lucene.search.Searchable
-
Expert: Low-level search implementation with arbitrary sorting.
- search(Query) - Method in class org.apache.lucene.search.Searcher
-
- search(Query, Filter) - Method in class org.apache.lucene.search.Searcher
-
- search(Query, Sort) - Method in class org.apache.lucene.search.Searcher
-
- search(Query, Filter, Sort) - Method in class org.apache.lucene.search.Searcher
-
- search(Query, Filter, int, Sort) - Method in class org.apache.lucene.search.Searcher
-
Search implementation with arbitrary sorting.
- search(Query, HitCollector) - Method in class org.apache.lucene.search.Searcher
-
Lower-level search API.
- search(Query, Filter, HitCollector) - Method in class org.apache.lucene.search.Searcher
-
Lower-level search API.
- search(Query, Filter, int) - Method in class org.apache.lucene.search.Searcher
-
Finds the top n
hits for query, applying filter if non-null.
- search(Query, int) - Method in class org.apache.lucene.search.Searcher
-
Finds the top n
hits for query.
- search(Weight, Filter, HitCollector) - Method in class org.apache.lucene.search.Searcher
-
- search(Weight, Filter, int) - Method in class org.apache.lucene.search.Searcher
-
- search(Weight, Filter, int, Sort) - Method in class org.apache.lucene.search.Searcher
-
- Searchable - Interface in org.apache.lucene.search
-
The interface for search implementations.
- Searcher - Class in org.apache.lucene.search
-
An abstract base class for search implementations.
- Searcher() - Constructor for class org.apache.lucene.search.Searcher
-
- SECOND - Static variable in class org.apache.lucene.document.DateTools.Resolution
-
- seek(Term) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- seek(TermEnum) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- seek(Term) - Method in class org.apache.lucene.index.MultipleTermPositions
-
Not implemented.
- seek(TermEnum) - Method in class org.apache.lucene.index.MultipleTermPositions
-
Not implemented.
- seek(Term) - Method in interface org.apache.lucene.index.TermDocs
-
Sets this to the data for a term.
- seek(TermEnum) - Method in interface org.apache.lucene.index.TermDocs
-
Sets this to the data for the current term in a
TermEnum.
- seek(long) - Method in class org.apache.lucene.store.BufferedIndexInput
-
- seek(long) - Method in class org.apache.lucene.store.BufferedIndexOutput
-
Sets current position in this file, where the next write will occur.
- seek(long) - Method in class org.apache.lucene.store.ChecksumIndexInput
-
- seek(long) - Method in class org.apache.lucene.store.ChecksumIndexOutput
-
- seek(long) - Method in class org.apache.lucene.store.FSDirectory.FSIndexOutput
-
Random-access methods
- seek(long) - Method in class org.apache.lucene.store.IndexInput
-
Sets current position in this file, where the next read will occur.
- seek(long) - Method in class org.apache.lucene.store.IndexOutput
-
Sets current position in this file, where the next write will occur.
- seek(long) - Method in class org.apache.lucene.store.RAMOutputStream
-
- seekInternal(long) - Method in class org.apache.lucene.store.BufferedIndexInput
-
Expert: implements seek.
- seekInternal(long) - Method in class org.apache.lucene.store.FSDirectory.FSIndexInput
-
- segmentFormat - Variable in class org.apache.lucene.index.CheckIndex.Status
-
String description of the version of the index.
- segmentInfos - Variable in class org.apache.lucene.index.CheckIndex.Status
-
- SegmentInfoStatus() - Constructor for class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
- segmentsChecked - Variable in class org.apache.lucene.index.CheckIndex.Status
-
Empty unless you passed specific segments list to check as optional 3rd argument.
- segmentsFileName - Variable in class org.apache.lucene.index.CheckIndex.Status
-
Name of latest segments_N file in the index.
- segString() - Method in class org.apache.lucene.index.IndexWriter
-
- segString(Directory) - Method in class org.apache.lucene.index.MergePolicy.MergeSpecification
-
- SerialMergeScheduler - Class in org.apache.lucene.index
-
A
MergeScheduler that simply does each merge
sequentially, using the current thread.
- SerialMergeScheduler() - Constructor for class org.apache.lucene.index.SerialMergeScheduler
-
- set(int) - Method in class org.apache.lucene.util.BitVector
-
Sets the value of bit to one.
- set(Object) - Method in class org.apache.lucene.util.CloseableThreadLocal
-
- set(long) - Method in class org.apache.lucene.util.OpenBitSet
-
sets a bit, expanding the set size if necessary
- set(long, long) - Method in class org.apache.lucene.util.OpenBitSet
-
Sets a range of bits, expanding the set size if necessary
- setAllowDocsOutOfOrder(boolean) - Static method in class org.apache.lucene.search.BooleanQuery
-
Expert: Indicates whether hit docs may be collected out of docid
order.
- setAllowLeadingWildcard(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
-
Set to true to allow leading wildcard characters.
- SetBasedFieldSelector - Class in org.apache.lucene.document
-
Declare what fields to load normally and what fields to load lazily
- SetBasedFieldSelector(Set, Set) - Constructor for class org.apache.lucene.document.SetBasedFieldSelector
-
Pass in the Set of
Field names to load and the Set of
Field names to load lazily.
- setBits(long[]) - Method in class org.apache.lucene.util.OpenBitSet
-
Expert: sets a new long[] to use as the bit storage
- setBoost(float) - Method in class org.apache.lucene.document.AbstractField
-
Sets the boost factor hits on this field.
- setBoost(float) - Method in class org.apache.lucene.document.Document
-
Sets a boost factor for hits on any field of this document.
- setBoost(float) - Method in interface org.apache.lucene.document.Fieldable
-
Sets the boost factor hits on this field.
- setBoost(float) - Method in class org.apache.lucene.search.Query
-
Sets the boost for this query clause to b.
- setBufferSize(int) - Method in class org.apache.lucene.store.BufferedIndexInput
-
Change the buffer size used by this IndexInput
- setCacheSize(int) - Method in class org.apache.lucene.search.FilterManager
-
Sets the max size that cache should reach before it is cleaned up
- setCleanThreadSleepTime(long) - Method in class org.apache.lucene.search.FilterManager
-
Sets the cache cleaning frequency in milliseconds.
- setData(byte[]) - Method in class org.apache.lucene.index.Payload
-
Sets this payloads data.
- setData(byte[], int, int) - Method in class org.apache.lucene.index.Payload
-
Sets this payloads data.
- setDateResolution(DateTools.Resolution) - Method in class org.apache.lucene.queryParser.QueryParser
-
Sets the default date resolution used by RangeQueries for fields for which no
specific date resolutions has been set.
- setDateResolution(String, DateTools.Resolution) - Method in class org.apache.lucene.queryParser.QueryParser
-
Sets the date resolution used by RangeQueries for a specific field.
- setDebugStream(PrintStream) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
-
Set debug output.
- setDefault(Similarity) - Static method in class org.apache.lucene.search.Similarity
-
Set the default Similarity implementation used by indexing and search
code.
- setDefaultInfoStream(PrintStream) - Static method in class org.apache.lucene.index.IndexWriter
-
If non-null, this will be the default infoStream used
by a newly instantiated IndexWriter.
- setDefaultOperator(QueryParser.Operator) - Method in class org.apache.lucene.queryParser.QueryParser
-
Sets the boolean operator of the QueryParser.
- setDefaultReplaceInvalidAcronym(boolean) - Static method in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- setDefaultWriteLockTimeout(long) - Static method in class org.apache.lucene.index.IndexWriter
-
Sets the default (for any instance of IndexWriter) maximum time to wait for a write lock (in
milliseconds).
- setDescription(String) - Method in class org.apache.lucene.search.Explanation
-
Sets the description of this explanation node.
- setDisableLocks(boolean) - Static method in class org.apache.lucene.store.FSDirectory
-
Set whether Lucene's use of lock files is disabled.
- setDocumentNumber(int) - Method in class org.apache.lucene.index.TermVectorMapper
-
Passes down the index of the document whose term vector is currently being mapped,
once for each top level call to a term vector reader.
- setEnablePositionIncrements(boolean) - Method in class org.apache.lucene.analysis.StopFilter
-
Set to true to make this StopFilter enable position increments to result tokens.
- setEnablePositionIncrements(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
-
Set to true to enable position increments in result query.
- setEnablePositionIncrementsDefault(boolean) - Static method in class org.apache.lucene.analysis.StopFilter
-
Set the default position increments behavior of every StopFilter created from now on.
- setEndOffset(int) - Method in class org.apache.lucene.analysis.Token
-
Set the ending offset.
- setEndOffset(int) - Method in class org.apache.lucene.index.TermVectorOffsetInfo
-
- setEnum(TermEnum) - Method in class org.apache.lucene.search.FilteredTermEnum
-
- setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.FieldSortedTermVectorMapper
-
- setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.PositionBasedTermVectorMapper
-
Callback mechanism used by the TermVectorReader
- setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.SortedTermVectorMapper
-
- setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.TermVectorMapper
-
Tell the mapper what to expect in regards to field, number of terms, offset and position storage.
- setFlags(int) - Method in class org.apache.lucene.analysis.Token
-
- setFreqCurrentDoc() - Method in class org.apache.lucene.search.payloads.BoostingTermQuery.BoostingTermWeight.BoostingSpanScorer
-
- setFreqCurrentDoc() - Method in class org.apache.lucene.search.spans.SpanScorer
-
- setFuzzyMinSim(float) - Method in class org.apache.lucene.queryParser.QueryParser
-
Set the minimum similarity for fuzzy queries.
- setFuzzyPrefixLength(int) - Method in class org.apache.lucene.queryParser.QueryParser
-
Set the prefix length for fuzzy queries.
- setGreedy(boolean) - Method in class org.apache.lucene.search.TimeLimitedCollector
-
Sets whether this time limited collector is greedy.
- setInfoStream(PrintStream) - Method in class org.apache.lucene.index.CheckIndex
-
Set infoStream where messages should go.
- setInfoStream(PrintStream) - Method in class org.apache.lucene.index.IndexModifier
-
Deprecated.
- setInfoStream(PrintStream) - Method in class org.apache.lucene.index.IndexWriter
-
If non-null, information about merges, deletes and a
message when maxFieldLength is reached will be printed
to this.
- setLength(long) - Method in class org.apache.lucene.store.FSDirectory.FSIndexOutput
-
- setLength(long) - Method in class org.apache.lucene.store.IndexOutput
-
Set the file length.
- setLength(int) - Method in class org.apache.lucene.util.UnicodeUtil.UTF16Result
-
- setLength(int) - Method in class org.apache.lucene.util.UnicodeUtil.UTF8Result
-
- setLocale(Locale) - Method in class org.apache.lucene.queryParser.QueryParser
-
Set locale used by date range parsing.
- setLockFactory(LockFactory) - Method in class org.apache.lucene.store.Directory
-
Set the LockFactory that this Directory instance should
use for its locking implementation.
- setLockPrefix(String) - Method in class org.apache.lucene.store.LockFactory
-
Set the prefix in use for all locks created in this
LockFactory.
- setLowercaseExpandedTerms(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
-
Whether terms of wildcard, prefix, fuzzy and range queries are to be automatically
lower-cased or not.
- setMatch(Boolean) - Method in class org.apache.lucene.search.ComplexExplanation
-
Sets the match status assigned to this explanation node.
- setMaxBufferedDeleteTerms(int) - Method in class org.apache.lucene.index.IndexWriter
-
Determines the minimal number of delete terms required before the buffered
in-memory delete terms are applied and flushed.
- setMaxBufferedDocs(int) - Method in class org.apache.lucene.index.IndexModifier
-
Deprecated.
Determines the minimal number of documents required before the buffered
in-memory documents are merging and a new Segment is created.
- setMaxBufferedDocs(int) - Method in class org.apache.lucene.index.IndexWriter
-
Determines the minimal number of documents required
before the buffered in-memory documents are flushed as
a new Segment.
- setMaxClauseCount(int) - Static method in class org.apache.lucene.search.BooleanQuery
-
Set the maximum number of clauses permitted per BooleanQuery.
- setMaxFieldLength(int) - Method in class org.apache.lucene.index.IndexModifier
-
Deprecated.
The maximum number of terms that will be indexed for a single field in a
document.
- setMaxFieldLength(int) - Method in class org.apache.lucene.index.IndexWriter
-
The maximum number of terms that will be indexed for a single field in a
document.
- setMaxMergeDocs(int) - Method in class org.apache.lucene.index.IndexWriter
-
Determines the largest segment (measured by
document count) that may be merged with other segments.
- setMaxMergeDocs(int) - Method in class org.apache.lucene.index.LogMergePolicy
-
Determines the largest segment (measured by
document count) that may be merged with other segments.
- setMaxMergeMB(double) - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
-
Determines the largest segment (measured by total
byte size of the segment's files, in MB) that may be
merged with other segments.
- setMaxScore(float) - Method in class org.apache.lucene.search.TopDocs
-
Expert: Sets the maximum score value encountered.
- setMaxSyncPauseSeconds(double) - Method in class org.apache.lucene.index.IndexWriter
-
- setMaxThreadCount(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Sets the max # simultaneous threads that may be
running.
- setMaxTokenLength(int) - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Set maximum allowed token length.
- setMaxTokenLength(int) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
Set the max allowed token length.
- setMergeFactor(int) - Method in class org.apache.lucene.index.IndexModifier
-
Deprecated.
Determines how often segment indices are merged by addDocument().
- setMergeFactor(int) - Method in class org.apache.lucene.index.IndexWriter
-
Determines how often segment indices are merged by addDocument().
- setMergeFactor(int) - Method in class org.apache.lucene.index.LogMergePolicy
-
Determines how often segment indices are merged by
addDocument().
- setMergePolicy(MergePolicy) - Method in class org.apache.lucene.index.IndexWriter
-
Expert: set the merge policy used by this writer.
- setMergeScheduler(MergeScheduler) - Method in class org.apache.lucene.index.IndexWriter
-
Expert: set the merge scheduler used by this writer.
- setMergeThreadPriority(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Return the priority that merge threads run at.
- setMinimumNumberShouldMatch(int) - Method in class org.apache.lucene.search.BooleanQuery
-
Specifies a minimum number of the optional BooleanClauses
which must be satisfied.
- setMinMergeDocs(int) - Method in class org.apache.lucene.index.LogDocMergePolicy
-
Sets the minimum size for the lowest level segments.
- setMinMergeMB(double) - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
-
Sets the minimum size for the lowest level segments.
- setModifiedUTF8StringsMode() - Method in class org.apache.lucene.store.IndexInput
-
Call this if readString should read characters stored
in the old modified UTF8 format (length in java chars
and java's modified UTF8 encoding).
- setNorm(int, String, byte) - Method in class org.apache.lucene.index.IndexReader
-
Expert: Resets the normalization factor for the named field of the named
document.
- setNorm(int, String, float) - Method in class org.apache.lucene.index.IndexReader
-
Expert: Resets the normalization factor for the named field of the named
document.
- setNumWords(int) - Method in class org.apache.lucene.util.OpenBitSet
-
Expert: sets the number of longs in the array that are in use
- setOccur(BooleanClause.Occur) - Method in class org.apache.lucene.search.BooleanClause
-
- setOmitNorms(boolean) - Method in class org.apache.lucene.document.AbstractField
-
Expert:
If set, omit normalization factors associated with this indexed field.
- setOmitNorms(boolean) - Method in interface org.apache.lucene.document.Fieldable
-
Expert:
If set, omit normalization factors associated with this indexed field.
- setOmitTf(boolean) - Method in class org.apache.lucene.document.AbstractField
-
Expert:
If set, omit tf from postings of this indexed field.
- setOmitTf(boolean) - Method in interface org.apache.lucene.document.Fieldable
-
Expert:
If set, omit term freq, positions and payloads from postings for this field.
- setPayload(Payload) - Method in class org.apache.lucene.analysis.Token
-
Sets this Token's payload.
- setPhraseSlop(int) - Method in class org.apache.lucene.queryParser.QueryParser
-
Sets the default slop for phrases.
- setPositionIncrement(int) - Method in class org.apache.lucene.analysis.Token
-
Set the position increment.
- setPreviousTokenStream(Object) - Method in class org.apache.lucene.analysis.Analyzer
-
Used by Analyzers that implement reusableTokenStream
to save a TokenStream for later re-use by the same
thread.
- setQuery(Query) - Method in class org.apache.lucene.search.BooleanClause
-
- setRAMBufferSizeMB(double) - Method in class org.apache.lucene.index.IndexWriter
-
Determines the amount of RAM that may be used for
buffering added documents before they are flushed as a
new Segment.
- setRangeCollator(Collator) - Method in class org.apache.lucene.queryParser.QueryParser
-
Sets the collator used to determine index term inclusion in ranges
specified either for ConstantScoreRangeQuerys or RangeQuerys (if
QueryParser.setUseOldRangeQuery(boolean) is called with a
true
value.)
WARNING: Setting the rangeCollator to a non-null
collator using this method will cause every single index Term in the
Field referenced by lowerTerm and/or upperTerm to be examined.
- setReplaceInvalidAcronym(boolean) - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- setReplaceInvalidAcronym(boolean) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- setResolution(long) - Static method in class org.apache.lucene.search.TimeLimitedCollector
-
Set the timer resolution.
- setRunningMerge(MergePolicy.OneMerge) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
- setSimilarity(Similarity) - Method in class org.apache.lucene.index.IndexWriter
-
Expert: Set the Similarity implementation used by this IndexWriter.
- setSimilarity(Similarity) - Method in class org.apache.lucene.search.Searcher
-
Expert: Set the Similarity implementation used by this Searcher.
- setSlop(int) - Method in class org.apache.lucene.search.MultiPhraseQuery
-
Sets the phrase slop for this query.
- setSlop(int) - Method in class org.apache.lucene.search.PhraseQuery
-
Sets the number of other words permitted between words in query phrase.
- setSort(String) - Method in class org.apache.lucene.search.Sort
-
Sets the sort to the terms in field then by index order
(document number).
- setSort(String, boolean) - Method in class org.apache.lucene.search.Sort
-
Sets the sort to the terms in field possibly in reverse,
then by index order (document number).
- setSort(String[]) - Method in class org.apache.lucene.search.Sort
-
Sets the sort to the terms in each field in succession.
- setSort(SortField) - Method in class org.apache.lucene.search.Sort
-
Sets the sort to the given criteria.
- setSort(SortField[]) - Method in class org.apache.lucene.search.Sort
-
Sets the sort to the given criteria in succession.
- setStartOffset(int) - Method in class org.apache.lucene.analysis.Token
-
Set the starting offset.
- setStartOffset(int) - Method in class org.apache.lucene.index.TermVectorOffsetInfo
-
- setStoreTermVector(Field.TermVector) - Method in class org.apache.lucene.document.AbstractField
-
- setStrict(boolean) - Method in class org.apache.lucene.search.function.CustomScoreQuery
-
Set the strict mode of this query.
- setTermBuffer(char[], int, int) - Method in class org.apache.lucene.analysis.Token
-
Copies the contents of buffer, starting at offset for
length characters, into the termBuffer array.
- setTermBuffer(String) - Method in class org.apache.lucene.analysis.Token
-
Copies the contents of buffer into the termBuffer array.
- setTermBuffer(String, int, int) - Method in class org.apache.lucene.analysis.Token
-
Copies the contents of buffer, starting at offset and continuing
for length characters, into the termBuffer array.
- setTermIndexInterval(int) - Method in class org.apache.lucene.index.IndexWriter
-
Expert: Set the interval between indexed terms.
- setTermInfosIndexDivisor(int) - Method in class org.apache.lucene.index.IndexReader
-
For IndexReader implementations that use
TermInfosReader to read terms, this sets the
indexDivisor to subsample the number of indexed terms
loaded into memory.
- setTermLength(int) - Method in class org.apache.lucene.analysis.Token
-
Set number of valid characters (length of the term) in
the termBuffer array.
- setTermText(String) - Method in class org.apache.lucene.analysis.Token
-
- setTestMode() - Static method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- setThreadPriority(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
- setType(String) - Method in class org.apache.lucene.analysis.Token
-
Set the lexical type.
- setUseCompoundDocStore(boolean) - Method in class org.apache.lucene.index.LogMergePolicy
-
Sets whether compound file format should be used for
newly flushed and newly merged doc store
segment files (term vectors and stored fields).
- setUseCompoundFile(boolean) - Method in class org.apache.lucene.index.IndexModifier
-
Deprecated.
Setting to turn on usage of a compound file.
- setUseCompoundFile(boolean) - Method in class org.apache.lucene.index.IndexWriter
-
Setting to turn on usage of a compound file.
- setUseCompoundFile(boolean) - Method in class org.apache.lucene.index.LogMergePolicy
-
Sets whether compound file format should be used for
newly flushed and newly merged segments.
- setUseOldRangeQuery(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
-
By default QueryParser uses new ConstantScoreRangeQuery in preference to RangeQuery
for range queries.
- setUseScorer14(boolean) - Static method in class org.apache.lucene.search.BooleanQuery
-
- setValue(String) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setValue(Reader) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setValue(byte[]) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setValue(byte[], int, int) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setValue(TokenStream) - Method in class org.apache.lucene.document.Field
-
Expert: change the value of this field.
- setValue(float) - Method in class org.apache.lucene.search.Explanation
-
Sets the value assigned to this explanation node.
- setWriteLockTimeout(long) - Method in class org.apache.lucene.index.IndexWriter
-
Sets the maximum time to wait for a write lock (in milliseconds) for this instance of IndexWriter.
- SHORT - Static variable in class org.apache.lucene.search.function.FieldScoreQuery.Type
-
field values are interpreted as numeric short values.
- SHORT - Static variable in class org.apache.lucene.search.SortField
-
Sort using term values as encoded Shorts.
- ShortFieldSource - Class in org.apache.lucene.search.function
-
Expert: obtains short field values from the
FieldCache
using
getShorts() and makes those values
available as other numeric types, casting as needed.
- ShortFieldSource(String) - Constructor for class org.apache.lucene.search.function.ShortFieldSource
-
Create a cached short field source with default string-to-short parser.
- ShortFieldSource(String, FieldCache.ShortParser) - Constructor for class org.apache.lucene.search.function.ShortFieldSource
-
Create a cached short field source with a specific string-to-short parser.
- SHOULD - Static variable in class org.apache.lucene.search.BooleanClause.Occur
-
Use this operator for clauses that should appear in the
matching documents.
- shrink(int[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(long[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(byte[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- Similarity - Class in org.apache.lucene.search
-
Expert: Scoring API.
- Similarity() - Constructor for class org.apache.lucene.search.Similarity
-
- similarity - Variable in class org.apache.lucene.search.spans.SpanWeight
-
- SimilarityDelegator - Class in org.apache.lucene.search
-
Expert: Delegating scoring implementation.
- SimilarityDelegator(Similarity) - Constructor for class org.apache.lucene.search.SimilarityDelegator
-
Construct a
Similarity that delegates all methods to another.
- SimpleAnalyzer - Class in org.apache.lucene.analysis
-
An Analyzer that filters LetterTokenizer with LowerCaseFilter.
- SimpleAnalyzer() - Constructor for class org.apache.lucene.analysis.SimpleAnalyzer
-
- SimpleFSLockFactory - Class in org.apache.lucene.store
-
- SimpleFSLockFactory(File) - Constructor for class org.apache.lucene.store.SimpleFSLockFactory
-
Instantiate using the provided directory (as a File instance).
- SimpleFSLockFactory(String) - Constructor for class org.apache.lucene.store.SimpleFSLockFactory
-
Instantiate using the provided directory name (String).
- SimpleLRUCache - Class in org.apache.lucene.util.cache
-
Simple LRU cache implementation that uses a LinkedHashMap.
- SimpleLRUCache(int) - Constructor for class org.apache.lucene.util.cache.SimpleLRUCache
-
Creates a last-recently-used cache with the specified size.
- SimpleMapCache - Class in org.apache.lucene.util.cache
-
Simple cache implementation that uses a HashMap to store (key, value) pairs.
- SimpleMapCache() - Constructor for class org.apache.lucene.util.cache.SimpleMapCache
-
- SimpleMapCache(Map) - Constructor for class org.apache.lucene.util.cache.SimpleMapCache
-
- SingleInstanceLockFactory - Class in org.apache.lucene.store
-
Implements
LockFactory for a single in-process instance,
meaning all locking will take place through this one instance.
- SingleInstanceLockFactory() - Constructor for class org.apache.lucene.store.SingleInstanceLockFactory
-
- SinkTokenizer - Class in org.apache.lucene.analysis
-
A SinkTokenizer can be used to cache Tokens for use in an Analyzer
- SinkTokenizer(List) - Constructor for class org.apache.lucene.analysis.SinkTokenizer
-
- SinkTokenizer() - Constructor for class org.apache.lucene.analysis.SinkTokenizer
-
- SinkTokenizer(int) - Constructor for class org.apache.lucene.analysis.SinkTokenizer
-
- size() - Method in class org.apache.lucene.analysis.CharArraySet
-
- SIZE - Static variable in class org.apache.lucene.document.FieldSelectorResult
-
Expert: Load the size of this
Field rather than its value.
- size(SegmentInfo) - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
-
- size(SegmentInfo) - Method in class org.apache.lucene.index.LogDocMergePolicy
-
- size(SegmentInfo) - Method in class org.apache.lucene.index.LogMergePolicy
-
- size() - Method in interface org.apache.lucene.index.TermFreqVector
-
- size() - Method in class org.apache.lucene.search.QueryTermVector
-
- size() - Method in class org.apache.lucene.util.BitVector
-
Returns the number of bits in this vector.
- size() - Method in class org.apache.lucene.util.OpenBitSet
-
Returns the current capacity of this set.
- size() - Method in class org.apache.lucene.util.PriorityQueue
-
Returns the number of elements currently stored in the PriorityQueue.
- size() - Method in class org.apache.lucene.util.ScorerDocQueue
-
Returns the number of scorers currently stored in the ScorerDocQueue.
- size() - Method in class org.apache.lucene.util.SortedVIntList
-
- SIZE_AND_BREAK - Static variable in class org.apache.lucene.document.FieldSelectorResult
-
Expert: Like
FieldSelectorResult.SIZE but immediately break from the field loading loop, i.e., stop loading further fields, after the size is loaded
- sizeInBytes() - Method in class org.apache.lucene.store.RAMDirectory
-
Return total size in bytes of all files in this
directory.
- sizeInBytes() - Method in class org.apache.lucene.store.RAMOutputStream
-
Returns byte usage of all buffers.
- sizeMB - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Net size (MB) of the files referenced by this
segment.
- skipChars(int) - Method in class org.apache.lucene.store.IndexInput
-
- skipTo(int) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- skipTo(int) - Method in class org.apache.lucene.index.MultipleTermPositions
-
- skipTo(int) - Method in interface org.apache.lucene.index.TermDocs
-
Skips entries to the first beyond the current whose document number is
greater than or equal to target.
- skipTo(Term) - Method in class org.apache.lucene.index.TermEnum
-
Skips terms to the first beyond the current whose value is
greater or equal to target.
- skipTo(int) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- skipTo(int) - Method in class org.apache.lucene.search.DocIdSetIterator
-
Skips entries to the first beyond the current whose document number is
greater than or equal to target.
- skipTo(int) - Method in class org.apache.lucene.search.ReqExclScorer
-
Skips to the first match beyond the current whose document number is
greater than or equal to a given target.
- skipTo(int) - Method in class org.apache.lucene.search.ReqOptSumScorer
-
- skipTo(int) - Method in interface org.apache.lucene.search.spans.Spans
-
Skips to the first match beyond the current, whose document number is
greater than or equal to target.
- skipTo(int) - Method in class org.apache.lucene.search.spans.SpanScorer
-
- skipTo(int) - Method in class org.apache.lucene.search.spans.TermSpans
-
- skipTo(int) - Method in class org.apache.lucene.util.OpenBitSetIterator
-
- sloppyFreq(int) - Method in class org.apache.lucene.search.DefaultSimilarity
-
Implemented as 1 / (distance + 1).
- sloppyFreq(int) - Method in class org.apache.lucene.search.Similarity
-
Computes the amount of a sloppy phrase match, based on an edit distance.
- sloppyFreq(int) - Method in class org.apache.lucene.search.SimilarityDelegator
-
- SmallFloat - Class in org.apache.lucene.util
-
Floating point numbers smaller than 32 bits.
- SmallFloat() - Constructor for class org.apache.lucene.util.SmallFloat
-
- snapshot() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
-
Take a snapshot of the most recent commit to the
index.
- SnapshotDeletionPolicy - Class in org.apache.lucene.index
-
- SnapshotDeletionPolicy(IndexDeletionPolicy) - Constructor for class org.apache.lucene.index.SnapshotDeletionPolicy
-
- Sort - Class in org.apache.lucene.search
-
Encapsulates sort criteria for returned hits.
- Sort() - Constructor for class org.apache.lucene.search.Sort
-
Sorts by computed relevance.
- Sort(String) - Constructor for class org.apache.lucene.search.Sort
-
Sorts by the terms in field then by index order (document
number).
- Sort(String, boolean) - Constructor for class org.apache.lucene.search.Sort
-
Sorts possibly in reverse by the terms in field then by
index order (document number).
- Sort(String[]) - Constructor for class org.apache.lucene.search.Sort
-
Sorts in succession by the terms in each field.
- Sort(SortField) - Constructor for class org.apache.lucene.search.Sort
-
Sorts by the criteria in the given SortField.
- Sort(SortField[]) - Constructor for class org.apache.lucene.search.Sort
-
Sorts in succession by the criteria in each SortField.
- SortComparator - Class in org.apache.lucene.search
-
Abstract base class for sorting hits returned by a Query.
- SortComparator() - Constructor for class org.apache.lucene.search.SortComparator
-
- SortComparatorSource - Interface in org.apache.lucene.search
-
Expert: returns a comparator for sorting ScoreDocs.
- SortedTermVectorMapper - Class in org.apache.lucene.index
-
- SortedTermVectorMapper(Comparator) - Constructor for class org.apache.lucene.index.SortedTermVectorMapper
-
- SortedTermVectorMapper(boolean, boolean, Comparator) - Constructor for class org.apache.lucene.index.SortedTermVectorMapper
-
- SortedVIntList - Class in org.apache.lucene.util
-
Store and iterate sorted integers in compressed form in RAM.
- SortedVIntList(int[]) - Constructor for class org.apache.lucene.util.SortedVIntList
-
Create a SortedVIntList from all elements of an array of integers.
- SortedVIntList(int[], int) - Constructor for class org.apache.lucene.util.SortedVIntList
-
Create a SortedVIntList from an array of integers.
- SortedVIntList(BitSet) - Constructor for class org.apache.lucene.util.SortedVIntList
-
Create a SortedVIntList from a BitSet.
- SortedVIntList(OpenBitSet) - Constructor for class org.apache.lucene.util.SortedVIntList
-
Create a SortedVIntList from an OpenBitSet.
- SortedVIntList(DocIdSetIterator) - Constructor for class org.apache.lucene.util.SortedVIntList
-
Create a SortedVIntList.
- SortField - Class in org.apache.lucene.search
-
Stores information about how to sort documents by terms in an individual
field.
- SortField(String) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort by terms in the given field where the type of term value
is determined dynamically (
AUTO).
- SortField(String, boolean) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort, possibly in reverse, by terms in the given field where
the type of term value is determined dynamically (
AUTO).
- SortField(String, int) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort by terms in the given field with the type of term
values explicitly given.
- SortField(String, int, boolean) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort, possibly in reverse, by terms in the given field with the
type of term values explicitly given.
- SortField(String, Locale) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort by terms in the given field sorted
according to the given locale.
- SortField(String, Locale, boolean) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort, possibly in reverse, by terms in the given field sorted
according to the given locale.
- SortField(String, SortComparatorSource) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort with a custom comparison function.
- SortField(String, SortComparatorSource, boolean) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort, possibly in reverse, with a custom comparison function.
- sortType() - Method in interface org.apache.lucene.search.ScoreDocComparator
-
Returns the type of sort.
- sortValue(ScoreDoc) - Method in interface org.apache.lucene.search.ScoreDocComparator
-
Returns the value used to sort the given document.
- SpanFilter - Class in org.apache.lucene.search
-
Abstract base class providing a mechanism to restrict searches to a subset
of an index and also maintains and returns position information.
- SpanFilter() - Constructor for class org.apache.lucene.search.SpanFilter
-
- SpanFilterResult - Class in org.apache.lucene.search
-
The results of a SpanQueryFilter.
- SpanFilterResult(BitSet, List) - Constructor for class org.apache.lucene.search.SpanFilterResult
-
- SpanFilterResult(DocIdSet, List) - Constructor for class org.apache.lucene.search.SpanFilterResult
-
- SpanFilterResult.PositionInfo - Class in org.apache.lucene.search
-
- SpanFilterResult.StartEnd - Class in org.apache.lucene.search
-
- SpanFirstQuery - Class in org.apache.lucene.search.spans
-
Matches spans near the beginning of a field.
- SpanFirstQuery(SpanQuery, int) - Constructor for class org.apache.lucene.search.spans.SpanFirstQuery
-
Construct a SpanFirstQuery matching spans in match whose end
position is less than or equal to end.
- SpanNearQuery - Class in org.apache.lucene.search.spans
-
Matches spans which are near one another.
- SpanNearQuery(SpanQuery[], int, boolean) - Constructor for class org.apache.lucene.search.spans.SpanNearQuery
-
Construct a SpanNearQuery.
- SpanNotQuery - Class in org.apache.lucene.search.spans
-
Removes matches which overlap with another SpanQuery.
- SpanNotQuery(SpanQuery, SpanQuery) - Constructor for class org.apache.lucene.search.spans.SpanNotQuery
-
Construct a SpanNotQuery matching spans from include which
have no overlap with spans from exclude.
- SpanOrQuery - Class in org.apache.lucene.search.spans
-
Matches the union of its clauses.
- SpanOrQuery(SpanQuery[]) - Constructor for class org.apache.lucene.search.spans.SpanOrQuery
-
Construct a SpanOrQuery merging the provided clauses.
- SpanQuery - Class in org.apache.lucene.search.spans
-
Base class for span-based queries.
- SpanQuery() - Constructor for class org.apache.lucene.search.spans.SpanQuery
-
- SpanQueryFilter - Class in org.apache.lucene.search
-
Constrains search results to only match those which also match a provided
query.
- SpanQueryFilter() - Constructor for class org.apache.lucene.search.SpanQueryFilter
-
- SpanQueryFilter(SpanQuery) - Constructor for class org.apache.lucene.search.SpanQueryFilter
-
Constructs a filter which only matches documents matching
query.
- Spans - Interface in org.apache.lucene.search.spans
-
Expert: an enumeration of span matches.
- spans - Variable in class org.apache.lucene.search.spans.SpanScorer
-
- SpanScorer - Class in org.apache.lucene.search.spans
-
Public for extension only.
- SpanScorer(Spans, Weight, Similarity, byte[]) - Constructor for class org.apache.lucene.search.spans.SpanScorer
-
- SpanTermQuery - Class in org.apache.lucene.search.spans
-
Matches spans containing a term.
- SpanTermQuery(Term) - Constructor for class org.apache.lucene.search.spans.SpanTermQuery
-
Construct a SpanTermQuery matching the named term's spans.
- SpanWeight - Class in org.apache.lucene.search.spans
-
Expert-only.
- SpanWeight(SpanQuery, Searcher) - Constructor for class org.apache.lucene.search.spans.SpanWeight
-
- specialConstructor - Variable in exception org.apache.lucene.queryParser.ParseException
-
This variable determines which constructor was used to create
this object and thereby affects the semantics of the
"getMessage" method (see below).
- specialToken - Variable in class org.apache.lucene.queryParser.Token
-
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
- StaleReaderException - Exception in org.apache.lucene.index
-
- StaleReaderException(String) - Constructor for exception org.apache.lucene.index.StaleReaderException
-
- StandardAnalyzer - Class in org.apache.lucene.analysis.standard
-
- StandardAnalyzer() - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- StandardAnalyzer(Set) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Builds an analyzer with the given stop words.
- StandardAnalyzer(String[]) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Builds an analyzer with the given stop words.
- StandardAnalyzer(File) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Builds an analyzer with the stop words from the given file.
- StandardAnalyzer(Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Builds an analyzer with the stop words from the given reader.
- StandardAnalyzer(boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- StandardAnalyzer(Reader, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- StandardAnalyzer(File, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- StandardAnalyzer(String[], boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- StandardAnalyzer(Set, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- StandardFilter - Class in org.apache.lucene.analysis.standard
-
- StandardFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.standard.StandardFilter
-
Construct filtering in.
- StandardTokenizer - Class in org.apache.lucene.analysis.standard
-
A grammar-based tokenizer constructed with JFlex
- StandardTokenizer(Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
-
- StandardTokenizer(Reader, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
-
- STAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- start() - Method in interface org.apache.lucene.search.spans.Spans
-
Returns the start position of the current match.
- start() - Method in class org.apache.lucene.search.spans.TermSpans
-
- StartEnd(int, int) - Constructor for class org.apache.lucene.search.SpanFilterResult.StartEnd
-
- startOffset() - Method in class org.apache.lucene.analysis.Token
-
Returns this Token's starting offset, the position of the first character
corresponding to this token in the source text.
- Status() - Constructor for class org.apache.lucene.index.CheckIndex.Status
-
- STOP_WORDS - Static variable in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
An array containing some common English words that are usually not
useful for searching.
- StopAnalyzer - Class in org.apache.lucene.analysis
-
Filters LetterTokenizer with LowerCaseFilter and StopFilter.
- StopAnalyzer() - Constructor for class org.apache.lucene.analysis.StopAnalyzer
-
Builds an analyzer which removes words in ENGLISH_STOP_WORDS.
- StopAnalyzer(Set) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
-
Builds an analyzer with the stop words from the given set.
- StopAnalyzer(String[]) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
-
Builds an analyzer which removes words in the provided array.
- StopAnalyzer(File) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
-
Builds an analyzer with the stop words from the given file.
- StopAnalyzer(Reader) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
-
Builds an analyzer with the stop words from the given reader.
- StopFilter - Class in org.apache.lucene.analysis
-
Removes stop words from a token stream.
- StopFilter(TokenStream, String[]) - Constructor for class org.apache.lucene.analysis.StopFilter
-
Construct a token stream filtering the given input.
- StopFilter(TokenStream, String[], boolean) - Constructor for class org.apache.lucene.analysis.StopFilter
-
Constructs a filter which removes words from the input
TokenStream that are named in the array of words.
- StopFilter(TokenStream, Set, boolean) - Constructor for class org.apache.lucene.analysis.StopFilter
-
Construct a token stream filtering the given input.
- StopFilter(TokenStream, Set) - Constructor for class org.apache.lucene.analysis.StopFilter
-
Constructs a filter which removes words from the input
TokenStream that are named in the Set.
- storeOffsetWithTermVector - Variable in class org.apache.lucene.document.AbstractField
-
- storePositionWithTermVector - Variable in class org.apache.lucene.document.AbstractField
-
- STORES_PAYLOADS - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
-
All fields that store payloads
- storeTermVector - Variable in class org.apache.lucene.document.AbstractField
-
- STR_SIZE - Static variable in class org.apache.lucene.document.NumberTools
-
- STRING - Static variable in class org.apache.lucene.search.SortField
-
Sort using term values as Strings.
- STRING_INDEX - Static variable in interface org.apache.lucene.search.FieldCache
-
Indicator for StringIndex values in the cache.
- stringDifference(String, String) - Static method in class org.apache.lucene.util.StringHelper
-
Compares two strings, character by character, and returns the
first position where the two strings differ from one another.
- StringHelper - Class in org.apache.lucene.util
-
Methods for manipulating strings.
- StringIndex(int[], String[]) - Constructor for class org.apache.lucene.search.FieldCache.StringIndex
-
Creates one of these objects
- stringToDate(String) - Static method in class org.apache.lucene.document.DateField
-
Deprecated.
Converts a string-encoded date into a Date object.
- stringToDate(String) - Static method in class org.apache.lucene.document.DateTools
-
Converts a string produced by timeToString or
dateToString back to a time, represented as a
Date object.
- stringToLong(String) - Static method in class org.apache.lucene.document.NumberTools
-
- stringToTime(String) - Static method in class org.apache.lucene.document.DateField
-
Deprecated.
Converts a string-encoded date into a millisecond time.
- stringToTime(String) - Static method in class org.apache.lucene.document.DateTools
-
Converts a string produced by timeToString or
dateToString back to a time, represented as the
number of milliseconds since January 1, 1970, 00:00:00 GMT.
- stringValue() - Method in class org.apache.lucene.document.Field
-
The value of the field as a String, or null.
- stringValue() - Method in interface org.apache.lucene.document.Fieldable
-
The value of the field as a String, or null.
- strVal(int) - Method in class org.apache.lucene.search.function.DocValues
-
Return doc value as a string.
- subDoc(int) - Method in class org.apache.lucene.search.MultiSearcher
-
Returns the document number of document n within its
sub-index.
- subReaders - Variable in class org.apache.lucene.index.MultiReader
-
- subSearcher(int) - Method in class org.apache.lucene.search.MultiSearcher
-
Returns index of the searcher for document n in the array
used to construct this searcher.
- sumOfSquaredWeights() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- sumOfSquaredWeights() - Method in class org.apache.lucene.search.spans.SpanWeight
-
- sumOfSquaredWeights() - Method in interface org.apache.lucene.search.Weight
-
The sum of squared weights of contained query clauses.
- SUN_OS - Static variable in class org.apache.lucene.util.Constants
-
True iff running on SunOS.
- SwitchTo(int) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
-
Switch to specified lex state.
- sync() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- sync(String) - Method in class org.apache.lucene.store.Directory
-
Ensure that any writes to this file are moved to
stable storage.
- sync(String) - Method in class org.apache.lucene.store.FSDirectory
-
- synchronizedCache(Cache) - Static method in class org.apache.lucene.util.cache.Cache
-
Returns a thread-safe cache backed by the specified cache.
- TeeTokenFilter - Class in org.apache.lucene.analysis
-
Works in conjunction with the SinkTokenizer to provide the ability to set aside tokens
that have already been analyzed.
- TeeTokenFilter(TokenStream, SinkTokenizer) - Constructor for class org.apache.lucene.analysis.TeeTokenFilter
-
- term() - Method in class org.apache.lucene.analysis.Token
-
Returns the Token's term text.
- term() - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
-
- Term - Class in org.apache.lucene.index
-
A Term represents a word from text.
- Term(String, String) - Constructor for class org.apache.lucene.index.Term
-
Constructs a Term with the given field and text.
- Term(String) - Constructor for class org.apache.lucene.index.Term
-
Constructs a Term with the given field and empty text.
- term() - Method in class org.apache.lucene.index.TermEnum
-
Returns the current Term in the enumeration.
- Term(String) - Method in class org.apache.lucene.queryParser.QueryParser
-
- TERM - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- term() - Method in class org.apache.lucene.search.FilteredTermEnum
-
Returns the current Term in the enumeration.
- term - Variable in class org.apache.lucene.search.FuzzyQuery.ScoreTerm
-
- term - Variable in class org.apache.lucene.search.spans.SpanTermQuery
-
- term - Variable in class org.apache.lucene.search.spans.TermSpans
-
- termBuffer() - Method in class org.apache.lucene.analysis.Token
-
Returns the internal termBuffer character array which
you can then directly alter.
- termCompare(Term) - Method in class org.apache.lucene.search.FilteredTermEnum
-
Equality compare on the term
- termCompare(Term) - Method in class org.apache.lucene.search.FuzzyTermEnum
-
The termCompare method in FuzzyTermEnum uses Levenshtein distance to
calculate the distance between the given term and the comparing term.
- termCompare(Term) - Method in class org.apache.lucene.search.WildcardTermEnum
-
- termDocs() - Method in class org.apache.lucene.index.FilterIndexReader
-
- termDocs(Term) - Method in class org.apache.lucene.index.IndexReader
-
Returns an enumeration of all the documents which contain
term.
- termDocs() - Method in class org.apache.lucene.index.IndexReader
-
Returns an unpositioned
TermDocs enumerator.
- termDocs() - Method in class org.apache.lucene.index.MultiReader
-
- termDocs(Term) - Method in class org.apache.lucene.index.ParallelReader
-
- termDocs() - Method in class org.apache.lucene.index.ParallelReader
-
- TermDocs - Interface in org.apache.lucene.index
-
TermDocs provides an interface for enumerating <document, frequency>
pairs for a term.
- TermEnum - Class in org.apache.lucene.index
-
Abstract class for enumerating terms.
- TermEnum() - Constructor for class org.apache.lucene.index.TermEnum
-
- TermFreqVector - Interface in org.apache.lucene.index
-
Provides access to stored term vector of
a document field.
- termLength() - Method in class org.apache.lucene.analysis.Token
-
Return number of valid characters (length of the term)
in the termBuffer array.
- termPositions() - Method in class org.apache.lucene.index.FilterIndexReader
-
- termPositions(Term) - Method in class org.apache.lucene.index.IndexReader
-
Returns an enumeration of all the documents which contain
term.
- termPositions() - Method in class org.apache.lucene.index.IndexReader
-
- termPositions() - Method in class org.apache.lucene.index.MultiReader
-
- termPositions(Term) - Method in class org.apache.lucene.index.ParallelReader
-
- termPositions() - Method in class org.apache.lucene.index.ParallelReader
-
- TermPositions - Interface in org.apache.lucene.index
-
TermPositions provides an interface for enumerating the <document,
frequency, <position>* > tuples for a term.
- TermPositionVector - Interface in org.apache.lucene.index
-
Extends TermFreqVector to provide additional information about
positions in which each of the terms is found.
- TermQuery - Class in org.apache.lucene.search
-
A Query that matches documents containing a term.
- TermQuery(Term) - Constructor for class org.apache.lucene.search.TermQuery
-
Constructs a query for the term t.
- terms() - Method in class org.apache.lucene.index.FilterIndexReader
-
- terms(Term) - Method in class org.apache.lucene.index.FilterIndexReader
-
- terms() - Method in class org.apache.lucene.index.IndexReader
-
Returns an enumeration of all the terms in the index.
- terms(Term) - Method in class org.apache.lucene.index.IndexReader
-
Returns an enumeration of all terms starting at a given term.
- terms() - Method in class org.apache.lucene.index.MultiReader
-
- terms(Term) - Method in class org.apache.lucene.index.MultiReader
-
- terms() - Method in class org.apache.lucene.index.ParallelReader
-
- terms(Term) - Method in class org.apache.lucene.index.ParallelReader
-
- terms - Variable in class org.apache.lucene.search.spans.SpanWeight
-
- TermSpans - Class in org.apache.lucene.search.spans
-
Expert:
Public for extension only
- TermSpans(TermPositions, Term) - Constructor for class org.apache.lucene.search.spans.TermSpans
-
- termText() - Method in class org.apache.lucene.analysis.Token
-
- TERMVECTOR - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
-
All fields with termvectors enabled.
- TERMVECTOR_WITH_OFFSET - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
-
All fields with termvectors with offset values enabled
- TERMVECTOR_WITH_POSITION - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
-
All fields with termvectors with position values enabled
- TERMVECTOR_WITH_POSITION_OFFSET - Static variable in class org.apache.lucene.index.IndexReader.FieldOption
-
All fields with termvectors with offset values and position values enabled
- TermVectorEntry - Class in org.apache.lucene.index
-
Convenience class for holding TermVector information.
- TermVectorEntry() - Constructor for class org.apache.lucene.index.TermVectorEntry
-
- TermVectorEntry(String, String, int, TermVectorOffsetInfo[], int[]) - Constructor for class org.apache.lucene.index.TermVectorEntry
-
- TermVectorEntryFreqSortedComparator - Class in org.apache.lucene.index
-
Compares
TermVectorEntrys first by frequency and then by
the term (case-sensitive)
- TermVectorEntryFreqSortedComparator() - Constructor for class org.apache.lucene.index.TermVectorEntryFreqSortedComparator
-
- TermVectorMapper - Class in org.apache.lucene.index
-
- TermVectorMapper() - Constructor for class org.apache.lucene.index.TermVectorMapper
-
- TermVectorMapper(boolean, boolean) - Constructor for class org.apache.lucene.index.TermVectorMapper
-
- TermVectorOffsetInfo - Class in org.apache.lucene.index
-
The TermVectorOffsetInfo class holds information pertaining to a Term in a
TermPositionVector's
offset information.
- TermVectorOffsetInfo() - Constructor for class org.apache.lucene.index.TermVectorOffsetInfo
-
- TermVectorOffsetInfo(int, int) - Constructor for class org.apache.lucene.index.TermVectorOffsetInfo
-
- text() - Method in class org.apache.lucene.index.Term
-
Returns the text of this term.
- tf(float) - Method in class org.apache.lucene.search.DefaultSimilarity
-
Implemented as sqrt(freq).
- tf(int) - Method in class org.apache.lucene.search.Similarity
-
Computes a score factor based on a term or phrase's frequency in a
document.
- tf(float) - Method in class org.apache.lucene.search.Similarity
-
Computes a score factor based on a term or phrase's frequency in a
document.
- tf(float) - Method in class org.apache.lucene.search.SimilarityDelegator
-
- TimeLimitedCollector - Class in org.apache.lucene.search
-
The TimeLimitedCollector is used to timeout search requests that
take longer than the maximum allowed search time limit.
- TimeLimitedCollector(HitCollector, long) - Constructor for class org.apache.lucene.search.TimeLimitedCollector
-
Create a TimeLimitedCollector wrapper over another HitCollector with a specified timeout.
- TimeLimitedCollector.TimeExceededException - Exception in org.apache.lucene.search
-
Thrown when elapsed search time exceeds allowed search time.
- timestamp - Variable in class org.apache.lucene.search.FilterManager.FilterItem
-
- timeToString(long) - Static method in class org.apache.lucene.document.DateField
-
Deprecated.
Converts a millisecond time to a string suitable for indexing.
- timeToString(long, DateTools.Resolution) - Static method in class org.apache.lucene.document.DateTools
-
Converts a millisecond time to a string suitable for indexing.
- toByteArray() - Method in class org.apache.lucene.index.Payload
-
Allocates a new byte array, copies the payload data into it and returns it.
- toHtml() - Method in class org.apache.lucene.search.Explanation
-
Render an explanation as HTML.
- Token - Class in org.apache.lucene.analysis
-
A Token is an occurrence of a term from the text of a field.
- Token() - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token will null text.
- Token(int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with null text and start & end
offsets.
- Token(int, int, String) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with null text and start & end
offsets plus the Token type.
- Token(int, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with null text and start & end
offsets plus flags.
- Token(String, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Deprecated.
- Token(String, int, int, String) - Constructor for class org.apache.lucene.analysis.Token
-
Deprecated.
- Token(String, int, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Deprecated.
- Token(char[], int, int, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with the given term buffer (offset
& length), start and end
offsets
- token - Variable in class org.apache.lucene.queryParser.QueryParser
-
Current token.
- Token - Class in org.apache.lucene.queryParser
-
Describes the input token stream.
- Token() - Constructor for class org.apache.lucene.queryParser.Token
-
No-argument constructor
- Token(int) - Constructor for class org.apache.lucene.queryParser.Token
-
Constructs a new token for the specified Image.
- Token(int, String) - Constructor for class org.apache.lucene.queryParser.Token
-
Constructs a new token for the specified Image and Kind.
- token_source - Variable in class org.apache.lucene.queryParser.QueryParser
-
Generated Token Manager.
- TOKEN_TYPES - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
-
String token types that correspond to token type int constants
- TokenFilter - Class in org.apache.lucene.analysis
-
A TokenFilter is a TokenStream whose input is another token stream.
- TokenFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.TokenFilter
-
Construct a token stream filtering the given input.
- tokenImage - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- tokenImage - Variable in exception org.apache.lucene.queryParser.ParseException
-
This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred.
- tokenImage - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
Literal token values.
- TOKENIZED - Static variable in class org.apache.lucene.document.Field.Index
-
- Tokenizer - Class in org.apache.lucene.analysis
-
A Tokenizer is a TokenStream whose input is a Reader.
- Tokenizer() - Constructor for class org.apache.lucene.analysis.Tokenizer
-
Construct a tokenizer with null input.
- Tokenizer(Reader) - Constructor for class org.apache.lucene.analysis.Tokenizer
-
Construct a token stream processing the given input.
- TokenMgrError - Error in org.apache.lucene.queryParser
-
Token Manager Error.
- TokenMgrError() - Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
No arg constructor.
- TokenMgrError(String, int) - Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
Constructor with message and reason.
- TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
Full Constructor.
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.Analyzer
-
Creates a TokenStream which tokenizes all the text in the provided
Reader.
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.KeywordAnalyzer
-
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
-
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.SimpleAnalyzer
-
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.StopAnalyzer
-
Filters LowerCaseTokenizer with StopFilter.
- TokenStream - Class in org.apache.lucene.analysis
-
A TokenStream enumerates the sequence of tokens, either from
fields of a document or from query text.
- TokenStream() - Constructor for class org.apache.lucene.analysis.TokenStream
-
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.WhitespaceAnalyzer
-
- tokenStreamValue() - Method in class org.apache.lucene.document.Field
-
The value of the field as a TokesStream, or null.
- tokenStreamValue() - Method in interface org.apache.lucene.document.Fieldable
-
The value of the field as a TokenStream, or null.
- toolOutOfDate - Variable in class org.apache.lucene.index.CheckIndex.Status
-
True if the index was created with a newer version of Lucene than the CheckIndex tool.
- TooManyClauses() - Constructor for exception org.apache.lucene.search.BooleanQuery.TooManyClauses
-
- top() - Method in class org.apache.lucene.util.PriorityQueue
-
Returns the least element of the PriorityQueue in constant time.
- top() - Method in class org.apache.lucene.util.ScorerDocQueue
-
Returns the least Scorer of the ScorerDocQueue in constant time.
- topDoc() - Method in class org.apache.lucene.util.ScorerDocQueue
-
Returns document number of the least Scorer of the ScorerDocQueue
in constant time.
- TopDocCollector - Class in org.apache.lucene.search
-
A
HitCollector implementation that collects the top-scoring
documents, returning them as a
TopDocs.
- TopDocCollector(int) - Constructor for class org.apache.lucene.search.TopDocCollector
-
Construct to collect a given number of hits.
- TopDocCollector(PriorityQueue) - Constructor for class org.apache.lucene.search.TopDocCollector
-
Constructor to collect the top-scoring documents by using the given PQ.
- topDocs() - Method in class org.apache.lucene.search.TopDocCollector
-
The top-scoring hits.
- TopDocs - Class in org.apache.lucene.search
-
Expert: Returned by low-level search implementations.
- TopDocs(int, ScoreDoc[], float) - Constructor for class org.apache.lucene.search.TopDocs
-
Expert: Constructs a TopDocs.
- topDocs() - Method in class org.apache.lucene.search.TopFieldDocCollector
-
- TopFieldDocCollector - Class in org.apache.lucene.search
-
- TopFieldDocCollector(IndexReader, Sort, int) - Constructor for class org.apache.lucene.search.TopFieldDocCollector
-
Construct to collect a given number of hits.
- TopFieldDocs - Class in org.apache.lucene.search
-
Expert: Returned by low-level sorted search implementations.
- TopFieldDocs(int, ScoreDoc[], SortField[], float) - Constructor for class org.apache.lucene.search.TopFieldDocs
-
Creates one of these objects.
- TopLevelQuery(String) - Method in class org.apache.lucene.queryParser.QueryParser
-
- topNextAndAdjustElsePop() - Method in class org.apache.lucene.util.ScorerDocQueue
-
- topScore() - Method in class org.apache.lucene.util.ScorerDocQueue
-
- topSkipToAndAdjustElsePop(int) - Method in class org.apache.lucene.util.ScorerDocQueue
-
- toString() - Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
-
- toString() - Method in class org.apache.lucene.analysis.Token
-
- toString() - Method in class org.apache.lucene.document.AbstractField
-
Prints a Field for human consumption.
- toString() - Method in class org.apache.lucene.document.DateTools.Resolution
-
- toString() - Method in class org.apache.lucene.document.Document
-
Prints the fields of a document for human consumption.
- toString() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
- toString() - Method in class org.apache.lucene.index.IndexModifier
-
Deprecated.
- toString() - Method in class org.apache.lucene.index.IndexReader.FieldOption
-
- toString() - Method in class org.apache.lucene.index.IndexWriter.MaxFieldLength
-
- toString() - Method in class org.apache.lucene.index.Term
-
- toString() - Method in class org.apache.lucene.index.TermVectorEntry
-
- toString() - Method in class org.apache.lucene.queryParser.Token
-
Returns the image.
- toString() - Method in class org.apache.lucene.search.BooleanClause.Occur
-
- toString() - Method in class org.apache.lucene.search.BooleanClause
-
- toString(String) - Method in class org.apache.lucene.search.BooleanQuery
-
Prints a user-readable version of this query.
- toString() - Method in class org.apache.lucene.search.CachingSpanFilter
-
- toString() - Method in class org.apache.lucene.search.CachingWrapperFilter
-
- toString(String) - Method in class org.apache.lucene.search.ConstantScoreQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.ConstantScoreRangeQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
-
Prettyprint us.
- toString() - Method in class org.apache.lucene.search.Explanation
-
Render an explanation as text.
- toString(int) - Method in class org.apache.lucene.search.Explanation
-
- toString(String) - Method in class org.apache.lucene.search.FilteredQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.function.CustomScoreQuery
-
- toString(int) - Method in class org.apache.lucene.search.function.DocValues
-
Return a string representation of a doc value, as reuired for Explanations.
- toString() - Method in class org.apache.lucene.search.function.FieldScoreQuery.Type
-
- toString() - Method in class org.apache.lucene.search.function.ValueSource
-
- toString(String) - Method in class org.apache.lucene.search.function.ValueSourceQuery
-
- toString(String) - Method in class org.apache.lucene.search.FuzzyQuery
-
- toString() - Method in class org.apache.lucene.search.Hit
-
Deprecated.
Prints the parameters to be used to discover the promised result.
- toString(String) - Method in class org.apache.lucene.search.MatchAllDocsQuery
-
- toString(String) - Method in class org.apache.lucene.search.MultiPhraseQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.MultiTermQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.PhraseQuery
-
Prints a user-readable version of this query.
- toString() - Method in class org.apache.lucene.search.PrefixFilter
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.PrefixQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.Query
-
Prints a query to a string, with field assumed to be the
default field and omitted.
- toString() - Method in class org.apache.lucene.search.Query
-
Prints a query to a string.
- toString() - Method in class org.apache.lucene.search.QueryTermVector
-
- toString() - Method in class org.apache.lucene.search.QueryWrapperFilter
-
- toString() - Method in class org.apache.lucene.search.RangeFilter
-
- toString(String) - Method in class org.apache.lucene.search.RangeQuery
-
Prints a user-readable version of this query.
- toString() - Method in class org.apache.lucene.search.Sort
-
- toString() - Method in class org.apache.lucene.search.SortField
-
- toString() - Method in class org.apache.lucene.search.SpanQueryFilter
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanNearQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanNotQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanOrQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanTermQuery
-
- toString() - Method in class org.apache.lucene.search.spans.TermSpans
-
- toString(String) - Method in class org.apache.lucene.search.TermQuery
-
Prints a user-readable version of this query.
- toString() - Method in class org.apache.lucene.store.FSDirectory
-
For debug output.
- toString() - Method in class org.apache.lucene.util.Parameter
-
- ToStringUtils - Class in org.apache.lucene.util
-
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
- ToStringUtils() - Constructor for class org.apache.lucene.util.ToStringUtils
-
- totalHits - Variable in class org.apache.lucene.search.TopDocCollector
-
The total number of hits the collector encountered.
- totalHits - Variable in class org.apache.lucene.search.TopDocs
-
Expert: The total number of hits for the query.
- totLoseDocCount - Variable in class org.apache.lucene.index.CheckIndex.Status
-
How many documents will be lost to bad segments.
- touchFile(String) - Method in class org.apache.lucene.store.Directory
-
Set the modified time of an existing file to now.
- touchFile(String) - Method in class org.apache.lucene.store.FSDirectory
-
Set the modified time of an existing file to now.
- touchFile(String) - Method in class org.apache.lucene.store.RAMDirectory
-
Set the modified time of an existing file to now.
- trimTrailingZeros() - Method in class org.apache.lucene.util.OpenBitSet
-
Lowers numWords, the number of words in use,
by checking for trailing zero words.
- TVPositionInfo(int, boolean) - Constructor for class org.apache.lucene.index.PositionBasedTermVectorMapper.TVPositionInfo
-
- type() - Method in class org.apache.lucene.analysis.Token
-
Returns this Token's lexical type.