The payloads package provides Query mechanisms for finding and using payloads.
- RAMDirectory - Class in org.apache.lucene.store
-
- RAMDirectory() - Constructor for class org.apache.lucene.store.RAMDirectory
-
- RAMDirectory(Directory) - Constructor for class org.apache.lucene.store.RAMDirectory
-
Creates a new RAMDirectory
instance from a different
Directory
implementation.
- RAMDirectory(File) - Constructor for class org.apache.lucene.store.RAMDirectory
-
Creates a new
RAMDirectory
instance from the
FSDirectory
.
- RAMDirectory(String) - Constructor for class org.apache.lucene.store.RAMDirectory
-
Creates a new
RAMDirectory
instance from the
FSDirectory
.
- RAMOutputStream - Class in org.apache.lucene.store
-
- RAMOutputStream() - Constructor for class org.apache.lucene.store.RAMOutputStream
-
Construct an empty output buffer.
- ramSizeInBytes() - Method in class org.apache.lucene.index.IndexWriter
-
Expert: Return the total size of all index files currently cached in memory.
- RangeEx - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
Lexical state.
- RANGEEX_END - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- RANGEEX_GOOP - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- RANGEEX_QUOTED - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- RANGEEX_START - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- RANGEEX_TO - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- RangeFilter - Class in org.apache.lucene.search
-
A Filter that restricts search results to a range of values in a given
field.
- RangeFilter(String, String, String, boolean, boolean) - Constructor for class org.apache.lucene.search.RangeFilter
-
- RangeFilter(String, String, String, boolean, boolean, Collator) - Constructor for class org.apache.lucene.search.RangeFilter
-
WARNING: Using this constructor and supplying a non-null
value in the collator
parameter will cause every single
index Term in the Field referenced by lowerTerm and/or upperTerm to be
examined.
- RangeIn - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
Lexical state.
- RANGEIN_END - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- RANGEIN_GOOP - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- RANGEIN_QUOTED - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- RANGEIN_START - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- RANGEIN_TO - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- RangeQuery - Class in org.apache.lucene.search
-
A Query that matches documents within an exclusive range.
- RangeQuery(Term, Term, boolean) - Constructor for class org.apache.lucene.search.RangeQuery
-
Constructs a query selecting all terms greater than
lowerTerm
but less than upperTerm
.
- RangeQuery(Term, Term, boolean, Collator) - Constructor for class org.apache.lucene.search.RangeQuery
-
Constructs a query selecting all terms greater than
lowerTerm
but less than upperTerm
.
- read(int[], int[]) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- read(int[], int[]) - Method in class org.apache.lucene.index.MultipleTermPositions
-
Not implemented.
- read(int[], int[]) - Method in interface org.apache.lucene.index.TermDocs
-
Attempts to read multiple entries from the enumeration, up to length of
docs.
- readByte() - Method in class org.apache.lucene.store.BufferedIndexInput
-
- readByte() - Method in class org.apache.lucene.store.ChecksumIndexInput
-
- readByte() - Method in class org.apache.lucene.store.IndexInput
-
Reads and returns a single byte.
- readBytes(byte[], int, int) - Method in class org.apache.lucene.store.BufferedIndexInput
-
- readBytes(byte[], int, int, boolean) - Method in class org.apache.lucene.store.BufferedIndexInput
-
- readBytes(byte[], int, int) - Method in class org.apache.lucene.store.ChecksumIndexInput
-
- readBytes(byte[], int, int) - Method in class org.apache.lucene.store.IndexInput
-
Reads a specified number of bytes into an array at the specified offset.
- readBytes(byte[], int, int, boolean) - Method in class org.apache.lucene.store.IndexInput
-
Reads a specified number of bytes into an array at the
specified offset with control over whether the read
should be buffered (callers who have their own buffer
should pass in "false" for useBuffer).
- readChar() - Method in interface org.apache.lucene.queryParser.CharStream
-
Returns the next character from the selected input.
- readChar() - Method in class org.apache.lucene.queryParser.FastCharStream
-
- readChars(char[], int, int) - Method in class org.apache.lucene.store.IndexInput
-
Deprecated.
-- please use readString or readBytes
instead, and construct the string
from those utf8 bytes
- readerValue() - Method in class org.apache.lucene.document.Field
-
The value of the field as a Reader, or null.
- readerValue() - Method in interface org.apache.lucene.document.Fieldable
-
The value of the field as a Reader, or null.
- readInt() - Method in class org.apache.lucene.store.IndexInput
-
Reads four bytes and returns an int.
- readInternal(byte[], int, int) - Method in class org.apache.lucene.store.BufferedIndexInput
-
Expert: implements buffer refill.
- readInternal(byte[], int, int) - Method in class org.apache.lucene.store.FSDirectory.FSIndexInput
-
IndexInput methods
- readLong() - Method in class org.apache.lucene.store.IndexInput
-
Reads eight bytes and returns a long.
- readResolve() - Method in class org.apache.lucene.util.Parameter
-
Resolves the deserialized instance to the local reference for accurate
equals() and == comparisons.
- readString() - Method in class org.apache.lucene.store.IndexInput
-
Reads a string.
- readVInt() - Method in class org.apache.lucene.store.IndexInput
-
Reads an int stored in variable-length format.
- readVLong() - Method in class org.apache.lucene.store.IndexInput
-
Reads a long stored in variable-length format.
- reinit(char[], int, int, int, int, String) - Method in class org.apache.lucene.analysis.Token
-
- reinit(char[], int, int, int, int) - Method in class org.apache.lucene.analysis.Token
-
- reinit(String, int, int, String) - Method in class org.apache.lucene.analysis.Token
-
- reinit(String, int, int, int, int, String) - Method in class org.apache.lucene.analysis.Token
-
- reinit(String, int, int) - Method in class org.apache.lucene.analysis.Token
-
- reinit(String, int, int, int, int) - Method in class org.apache.lucene.analysis.Token
-
- reinit(Token) - Method in class org.apache.lucene.analysis.Token
-
Copy the prototype token's fields into this one.
- reinit(Token, String) - Method in class org.apache.lucene.analysis.Token
-
Copy the prototype token's fields into this one, with a different term.
- reinit(Token, char[], int, int) - Method in class org.apache.lucene.analysis.Token
-
Copy the prototype token's fields into this one, with a different term.
- ReInit(CharStream) - Method in class org.apache.lucene.queryParser.QueryParser
-
Reinitialise.
- ReInit(QueryParserTokenManager) - Method in class org.apache.lucene.queryParser.QueryParser
-
Reinitialise.
- ReInit(CharStream) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
-
Reinitialise parser.
- ReInit(CharStream, int) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
-
Reinitialise parser.
- release() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
-
Release the currently held snapshot.
- release() - Method in class org.apache.lucene.store.Lock
-
Releases exclusive access.
- RELEVANCE - Static variable in interface org.apache.lucene.search.ScoreDocComparator
-
Special comparator for sorting hits according to computed relevance (document score).
- RELEVANCE - Static variable in class org.apache.lucene.search.Sort
-
Represents sorting by computed relevance.
- RemoteCachingWrapperFilter - Class in org.apache.lucene.search
-
Provides caching of
Filter
s themselves on the remote end of an RMI connection.
- RemoteCachingWrapperFilter(Filter) - Constructor for class org.apache.lucene.search.RemoteCachingWrapperFilter
-
- RemoteSearchable - Class in org.apache.lucene.search
-
A remote searchable implementation.
- RemoteSearchable(Searchable) - Constructor for class org.apache.lucene.search.RemoteSearchable
-
Constructs and exports a remote searcher.
- remove() - Method in class org.apache.lucene.analysis.CharArraySet.CharArraySetIterator
-
- remove() - Method in class org.apache.lucene.search.HitIterator
-
Deprecated.
Unsupported operation.
- remove(OpenBitSet) - Method in class org.apache.lucene.util.OpenBitSet
-
Remove all elements set in other.
- removeAccents(char[], int) - Method in class org.apache.lucene.analysis.ISOLatin1AccentFilter
-
To replace accented characters in a String by unaccented equivalents.
- removeField(String) - Method in class org.apache.lucene.document.Document
-
Removes field with the specified name from the document.
- removeFields(String) - Method in class org.apache.lucene.document.Document
-
Removes all fields with the given name from the document.
- renameFile(String, String) - Method in class org.apache.lucene.store.Directory
-
Deprecated.
- renameFile(String, String) - Method in class org.apache.lucene.store.FSDirectory
-
Deprecated.
- renameFile(String, String) - Method in class org.apache.lucene.store.RAMDirectory
-
Deprecated.
- reopen() - Method in class org.apache.lucene.index.IndexReader
-
Refreshes an IndexReader if the index has changed since this instance
was (re)opened.
- reopen() - Method in class org.apache.lucene.index.MultiReader
-
Tries to reopen the subreaders.
- reopen() - Method in class org.apache.lucene.index.ParallelReader
-
Tries to reopen the subreaders.
- ReqExclScorer - Class in org.apache.lucene.search
-
A Scorer for queries with a required subscorer and an excluding (prohibited) subscorer.
- ReqExclScorer(Scorer, Scorer) - Constructor for class org.apache.lucene.search.ReqExclScorer
-
Construct a ReqExclScorer
.
- ReqOptSumScorer - Class in org.apache.lucene.search
-
A Scorer for queries with a required part and an optional part.
- ReqOptSumScorer(Scorer, Scorer) - Constructor for class org.apache.lucene.search.ReqOptSumScorer
-
Construct a ReqOptScorer
.
- reset() - Method in class org.apache.lucene.analysis.CachingTokenFilter
-
- reset(Reader) - Method in class org.apache.lucene.analysis.CharTokenizer
-
- reset(Reader) - Method in class org.apache.lucene.analysis.KeywordTokenizer
-
- reset() - Method in class org.apache.lucene.analysis.SinkTokenizer
-
Reset the internal data structures to the start at the front of the list of tokens.
- reset() - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- reset(Reader) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- reset() - Method in class org.apache.lucene.analysis.TokenFilter
-
Reset the filter as well as the input TokenStream.
- reset(Reader) - Method in class org.apache.lucene.analysis.Tokenizer
-
Expert: Reset the tokenizer to a new reader.
- reset() - Method in class org.apache.lucene.analysis.TokenStream
-
Resets this stream to the beginning.
- reset() - Method in class org.apache.lucene.store.RAMOutputStream
-
Resets this to an empty buffer.
- resizeTermBuffer(int) - Method in class org.apache.lucene.analysis.Token
-
Grows the termBuffer to at least size newSize, preserving the
existing content.
- result - Variable in class org.apache.lucene.util.UnicodeUtil.UTF16Result
-
- result - Variable in class org.apache.lucene.util.UnicodeUtil.UTF8Result
-
- reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.Analyzer
-
Creates a TokenStream that is allowed to be re-used
from the previous time that the same thread called
this method.
- reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.KeywordAnalyzer
-
- reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
-
- reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.SimpleAnalyzer
-
- reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.StopAnalyzer
-
- reusableTokenStream(String, Reader) - Method in class org.apache.lucene.analysis.WhitespaceAnalyzer
-
- ReverseOrdFieldSource - Class in org.apache.lucene.search.function
-
Expert: obtains the ordinal of the field value from the default Lucene
FieldCache
using getStringIndex()
and reverses the order.
- ReverseOrdFieldSource(String) - Constructor for class org.apache.lucene.search.function.ReverseOrdFieldSource
-
Contructor for a certain field.
- rewrite(IndexReader) - Method in class org.apache.lucene.search.BooleanQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.ConstantScoreQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.ConstantScoreRangeQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
-
Optimize our representation and our subqueries representations
- rewrite(IndexReader) - Method in class org.apache.lucene.search.FilteredQuery
-
Rewrites the wrapped query.
- rewrite(IndexReader) - Method in class org.apache.lucene.search.function.CustomScoreQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.function.ValueSourceQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.FuzzyQuery
-
- rewrite(Query) - Method in class org.apache.lucene.search.IndexSearcher
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.MultiPhraseQuery
-
- rewrite(Query) - Method in class org.apache.lucene.search.MultiSearcher
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.MultiTermQuery
-
- rewrite(Query) - Method in class org.apache.lucene.search.ParallelMultiSearcher
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.PrefixQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.Query
-
Expert: called to re-write queries into primitive queries.
- rewrite(IndexReader) - Method in class org.apache.lucene.search.RangeQuery
-
- rewrite(Query) - Method in class org.apache.lucene.search.RemoteSearchable
-
- rewrite(Query) - Method in interface org.apache.lucene.search.Searchable
-
Expert: called to re-write queries into primitive queries.
- rewrite(Query) - Method in class org.apache.lucene.search.Searcher
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanNearQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanNotQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.spans.SpanOrQuery
-
- rewrite(IndexReader) - Method in class org.apache.lucene.search.WildcardQuery
-
- rollback() - Method in class org.apache.lucene.index.IndexWriter
-
Close the IndexWriter
without committing
any changes that have occurred since the last commit
(or since it was opened, if commit hasn't been called).
- round(Date, DateTools.Resolution) - Static method in class org.apache.lucene.document.DateTools
-
Limit a date's resolution.
- round(long, DateTools.Resolution) - Static method in class org.apache.lucene.document.DateTools
-
Limit a date's resolution.
- RPAREN - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- run() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
- run() - Method in class org.apache.lucene.search.FilterManager.FilterCleaner
-
- run() - Method in class org.apache.lucene.store.Lock.With
-
- 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.
- 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
-
- 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
-
Deprecated.
This will be removed (hardwired to true) in 3.0
- setDefaultWriteLockTimeout(long) - Static method in class org.apache.lucene.index.IndexWriter
-
Sets the default (for any instance of IndexWriter) maximum time to wait for a write lock (in
milliseconds).
- setDescription(String) - Method in class org.apache.lucene.search.Explanation
-
Sets the description of this explanation node.
- 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
-
Deprecated.
This will be removed in 3.0, when
autoCommit=true is removed from IndexWriter.
- setMaxThreadCount(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Sets the max # simultaneous threads that may be
running.
- setMaxTokenLength(int) - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Set maximum allowed token length.
- setMaxTokenLength(int) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
Set the max allowed token length.
- 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
-
Deprecated.
This will be removed (hardwired to true) in 3.0
- setReplaceInvalidAcronym(boolean) - Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
Deprecated.
Remove in 3.X and make true the only valid value
See https://issues.apache.org/jira/browse/LUCENE-1068
- setResolution(long) - Static method in class org.apache.lucene.search.TimeLimitedCollector
-
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
-
Deprecated.
this method operates on old "modified utf8" encoded
strings
- 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.PositionInfo(int) - Constructor for class org.apache.lucene.search.SpanFilterResult.PositionInfo
-
- SpanFilterResult.StartEnd - Class in org.apache.lucene.search
-
- SpanFilterResult.StartEnd(int, int) - Constructor for class org.apache.lucene.search.SpanFilterResult.StartEnd
-
- SpanFirstQuery - Class in org.apache.lucene.search.spans
-
Matches spans near the beginning of a field.
- SpanFirstQuery(SpanQuery, int) - Constructor for class org.apache.lucene.search.spans.SpanFirstQuery
-
Construct a SpanFirstQuery matching spans in match
whose end
position is less than or equal to end
.
- SpanNearQuery - Class in org.apache.lucene.search.spans
-
Matches spans which are near one another.
- SpanNearQuery(SpanQuery[], int, boolean) - Constructor for class org.apache.lucene.search.spans.SpanNearQuery
-
Construct a SpanNearQuery.
- 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
-
Deprecated.
Remove in 3.X and make true the only valid value
- StandardAnalyzer(Reader, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Deprecated.
Remove in 3.X and make true the only valid value
- StandardAnalyzer(File, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Deprecated.
Remove in 3.X and make true the only valid value
- StandardAnalyzer(String[], boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Deprecated.
Remove in 3.X and make true the only valid value
- StandardAnalyzer(Set, boolean) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Deprecated.
Remove in 3.X and make true the only valid value
- StandardFilter - Class in org.apache.lucene.analysis.standard
-
- 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
-
- 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.
- 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.
- 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
TermVectorEntry
s 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.
- 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.
- type() - Method in class org.apache.lucene.analysis.Token
-
Returns this Token's lexical type.