The payloads package provides Query mechanisms for finding and using payloads.
- 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
-
Returns the score for the nth document in this set.
- 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.
- 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
-
Returns the documents matching query
.
- search(Query, Filter) - Method in class org.apache.lucene.search.Searcher
-
Returns the documents matching query
and
filter
.
- search(Query, Sort) - Method in class org.apache.lucene.search.Searcher
-
Returns documents matching query
sorted by
sort
.
- search(Query, Filter, Sort) - Method in class org.apache.lucene.search.Searcher
-
Returns documents matching query
and filter
,
sorted by sort
.
- search(Query, Filter, int, Sort) - Method in class org.apache.lucene.search.Searcher
-
Expert: Low-level 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
-
Expert: Low-level search implementation.
- 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.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
-
- 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.
- 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.
- 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
-
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- setReplaceInvalidAcronym(boolean) - Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- 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
- 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.
- 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
-
Sets the Token's term text.
- setTestMode() - Static method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- 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(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.
- 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.
- 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).
- 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.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_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.
- 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.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 class org.apache.lucene.search.Scorer
-
Skips to the document matching this Scorer with the lowest doc Id
greater than or equal to a given target.
- skipTo(int) - Method in interface org.apache.lucene.search.spans.Spans
-
Skips to the first match beyond the current, whose document number is
greater than or equal to target.
- skipTo(int) - Method in class org.apache.lucene.search.spans.SpanScorer
-
- skipTo(int) - Method in class org.apache.lucene.search.spans.TermSpans
-
- 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
-
- 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.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
-
- 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
-
- sync() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- 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.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() - 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
-
- 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
-
- 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 occurence 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(String, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with the given term text, and start
& end offsets.
- Token(String, int, int, String) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with the given text, start and end
offsets, & type.
- token - Variable in class org.apache.lucene.queryParser.QueryParser
-
- Token - Class in org.apache.lucene.queryParser
-
Describes the input token stream.
- Token() - Constructor for class org.apache.lucene.queryParser.Token
-
- token_source - Variable in class org.apache.lucene.queryParser.QueryParser
-
- 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 - 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
-
- TOKENIZED - Static variable in class org.apache.lucene.document.Field.Index
-
Index the field's value so it can be searched.
- 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
-
- TokenMgrError() - Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
- TokenMgrError(String, int) - Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
- TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
- 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.
- 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.
- 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.
- 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.IndexModifier
-
Deprecated.
- toString() - Method in class org.apache.lucene.index.IndexReader.FieldOption
-
- 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
-
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.TopDocs
-
Expert: The total number of hits for the query.
- touchFile(String) - Method in class org.apache.lucene.store.Directory
-
Set the modified time of an existing file to now.
- touchFile(String) - Method in class org.apache.lucene.store.FSDirectory
-
Set the modified time of an existing file to now.
- touchFile(String) - Method in class org.apache.lucene.store.RAMDirectory
-
Set the modified time of an existing file to now.
- type() - Method in class org.apache.lucene.analysis.Token
-
Returns this Token's lexical type.