- save(DataOutput) - Method in class org.apache.lucene.util.fst.FST
-
- save(File) - Method in class org.apache.lucene.util.fst.FST
-
Writes an automaton to a file.
- score(List<SegmentInfo>, boolean, long) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Expert: scores one merge; subclasses can override.
- score() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- score(Collector) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- score(Collector, int, int) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- score() - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
-
- score() - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
-
- score(Collector, int, int) - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
-
- score() - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
-
- score(Collector) - Method in class org.apache.lucene.search.ScoreCachingWrappingScorer
-
- score - Variable in class org.apache.lucene.search.ScoreDoc
-
The score of this document for the query.
- score(Collector) - Method in class org.apache.lucene.search.Scorer
-
Scores and collects all matching documents.
- score(Collector, int, int) - Method in class org.apache.lucene.search.Scorer
-
Expert: Collects matching documents in a range.
- score() - Method in class org.apache.lucene.search.Scorer
-
Returns the score of the current document matching the query.
- SCORE - Static variable in class org.apache.lucene.search.SortField
-
Sort by document score (relevance).
- score() - Method in class org.apache.lucene.search.spans.SpanScorer
-
- ScoreCachingWrappingScorer - Class in org.apache.lucene.search
-
A
Scorer
which wraps another scorer and caches the score of the
current document.
- ScoreCachingWrappingScorer(Scorer) - Constructor for class org.apache.lucene.search.ScoreCachingWrappingScorer
-
Creates a new instance by wrapping the given scorer.
- ScoreDoc - Class in org.apache.lucene.search
-
- ScoreDoc(int, float) - Constructor for class org.apache.lucene.search.ScoreDoc
-
Constructs a ScoreDoc.
- ScoreDoc(int, float, int) - Constructor for class org.apache.lucene.search.ScoreDoc
-
Constructs a ScoreDoc.
- scoreDocs - Variable in class org.apache.lucene.search.TopDocs
-
The top hits for the query.
- scorePayload(int, String, int, int, byte[], int, int) - Method in class org.apache.lucene.search.Similarity
-
Calculate a scoring factor based on the data in the payload.
- scorePayload(int, String, int, int, byte[], int, int) - Method in class org.apache.lucene.search.SimilarityDelegator
-
Deprecated.
- scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
-
- scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
-
Create the scorer used to score our associated DisjunctionMaxQuery
- scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanWeight
-
- scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight
-
- Scorer - Class in org.apache.lucene.search
-
Expert: Common scoring functionality for different types of queries.
- Scorer(Weight) - Constructor for class org.apache.lucene.search.Scorer
-
Constructs a Scorer
- Scorer(Similarity) - Constructor for class org.apache.lucene.search.Scorer
-
- Scorer(Similarity, Weight) - Constructor for class org.apache.lucene.search.Scorer
-
- scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.spans.SpanWeight
-
- scorer(IndexReader, boolean, boolean) - Method in class org.apache.lucene.search.Weight
-
Returns a
Scorer
which scores documents in/out-of order according
to
scoreDocsInOrder
.
- Scorer.ScorerVisitor<P extends Query,C extends Query,S extends Scorer> - Class in org.apache.lucene.search
-
A callback to gather information from a scorer and its sub-scorers.
- Scorer.ScorerVisitor() - Constructor for class org.apache.lucene.search.Scorer.ScorerVisitor
-
- ScorerDocQueue - Class in org.apache.lucene.util
-
A ScorerDocQueue maintains a partial ordering of its Scorers such that the
least Scorer can always be found in constant time.
- ScorerDocQueue(int) - Constructor for class org.apache.lucene.util.ScorerDocQueue
-
Create a ScorerDocQueue with a maximum size.
- scoresDocsOutOfOrder() - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
-
- scoresDocsOutOfOrder() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- scoresDocsOutOfOrder() - Method in class org.apache.lucene.search.Weight
-
Returns true iff this implementation scores docs only out of order.
- SCORING_BOOLEAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.MultiTermQuery
-
A rewrite method that first translates each term into
BooleanClause.Occur.SHOULD
clause in a
BooleanQuery, and keeps the scores as computed by the
query.
- SCORING_BOOLEAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.ScoringRewrite
-
A rewrite method that first translates each term into
BooleanClause.Occur.SHOULD
clause in a
BooleanQuery, and keeps the scores as computed by the
query.
- SCORING_SPAN_QUERY_REWRITE - Static variable in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
-
A rewrite method that first translates each term into a SpanTermQuery in a
BooleanClause.Occur.SHOULD
clause in a BooleanQuery, and keeps the
scores as computed by the query.
- ScoringRewrite<Q extends Query> - Class in org.apache.lucene.search
-
- ScoringRewrite() - Constructor for class org.apache.lucene.search.ScoringRewrite
-
- search(Query, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Finds the top n
hits for query
.
- search(Query, Filter, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Finds the top n
hits for query
, applying filter
if non-null.
- search(Query, Filter, Collector) - Method in class org.apache.lucene.search.IndexSearcher
-
Lower-level search API.
- search(Query, Collector) - Method in class org.apache.lucene.search.IndexSearcher
-
Lower-level search API.
- search(Query, Filter, int, Sort) - Method in class org.apache.lucene.search.IndexSearcher
-
Search implementation with arbitrary sorting.
- search(Query, int, Sort) - Method in class org.apache.lucene.search.IndexSearcher
-
Search implementation with arbitrary sorting and no filter.
- search(Weight, Filter, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Expert: Low-level search implementation.
- search(Weight, Filter, ScoreDoc, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Expert: Low-level search implementation.
- search(Weight, Filter, int, Sort) - Method in class org.apache.lucene.search.IndexSearcher
-
Expert: Low-level search implementation with arbitrary sorting.
- search(Weight, Filter, int, Sort, boolean) - Method in class org.apache.lucene.search.IndexSearcher
-
- search(Weight, Filter, Collector) - Method in class org.apache.lucene.search.IndexSearcher
-
Lower-level search API.
- search(Weight, Filter, int) - Method in class org.apache.lucene.search.MultiSearcher
-
Deprecated.
- search(Weight, Filter, int, Sort) - Method in class org.apache.lucene.search.MultiSearcher
-
Deprecated.
- search(Weight, Filter, Collector) - Method in class org.apache.lucene.search.MultiSearcher
-
Deprecated.
- search(Weight, Filter, int) - Method in class org.apache.lucene.search.ParallelMultiSearcher
-
Deprecated.
A search implementation which executes each
Searchable
in its own thread and 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
-
Deprecated.
A search implementation allowing sorting which spans a new thread for each
Searchable, waits for each search to complete and merges
the results back together.
- search(Weight, Filter, Collector) - Method in class org.apache.lucene.search.ParallelMultiSearcher
-
Deprecated.
Lower-level search API.
- search(Weight, Filter, Collector) - Method in interface org.apache.lucene.search.Searchable
-
Deprecated.
Lower-level search API.
- search(Weight, Filter, int) - Method in interface org.apache.lucene.search.Searchable
-
Deprecated.
Expert: Low-level search implementation.
- search(Weight, Filter, int, Sort) - Method in interface org.apache.lucene.search.Searchable
-
Deprecated.
Expert: Low-level search implementation with arbitrary sorting.
- search(Query, Filter, int, Sort) - Method in class org.apache.lucene.search.Searcher
-
Deprecated.
Search implementation with arbitrary sorting.
- search(Query, int, Sort) - Method in class org.apache.lucene.search.Searcher
-
Deprecated.
Search implementation with arbitrary sorting and no filter.
- search(Query, Collector) - Method in class org.apache.lucene.search.Searcher
-
Deprecated.
Lower-level search API.
- search(Query, Filter, Collector) - Method in class org.apache.lucene.search.Searcher
-
Deprecated.
Lower-level search API.
- search(Query, Filter, int) - Method in class org.apache.lucene.search.Searcher
-
Deprecated.
Finds the top n
hits for query
, applying filter
if non-null.
- search(Query, int) - Method in class org.apache.lucene.search.Searcher
-
Deprecated.
Finds the top n
hits for query
.
- search(Weight, Filter, Collector) - Method in class org.apache.lucene.search.Searcher
-
Deprecated.
- search(Weight, Filter, int) - Method in class org.apache.lucene.search.Searcher
-
Deprecated.
- search(Weight, Filter, int, Sort) - Method in class org.apache.lucene.search.Searcher
-
Deprecated.
- Searchable - Interface in org.apache.lucene.search
-
Deprecated.
In 4.0 this interface is removed/absorbed
into IndexSearcher
- searchAfter(ScoreDoc, Query, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Finds the top n
hits for query
where all results are after a previous
result (after
).
- searchAfter(ScoreDoc, Query, Filter, int) - Method in class org.apache.lucene.search.IndexSearcher
-
Finds the top n
hits for query
, applying filter
if non-null,
where all results are after a previous result (after
).
- Searcher - Class in org.apache.lucene.search
-
Deprecated.
In 4.0 this abstract class is removed/absorbed
into IndexSearcher
- Searcher() - Constructor for class org.apache.lucene.search.Searcher
-
Deprecated.
- SearcherFactory - Class in org.apache.lucene.search
-
- SearcherFactory() - Constructor for class org.apache.lucene.search.SearcherFactory
-
- SearcherLifetimeManager - Class in org.apache.lucene.search
-
Keeps track of current plus old IndexSearchers, closing
the old ones once they have timed out.
- SearcherLifetimeManager() - Constructor for class org.apache.lucene.search.SearcherLifetimeManager
-
- SearcherLifetimeManager.PruneByAge - Class in org.apache.lucene.search
-
Simple pruner that drops any searcher older by
more than the specified seconds, than the newest
searcher.
- SearcherLifetimeManager.PruneByAge(double) - Constructor for class org.apache.lucene.search.SearcherLifetimeManager.PruneByAge
-
- SearcherLifetimeManager.Pruner - Interface in org.apache.lucene.search
-
- SearcherManager - Class in org.apache.lucene.search
-
Utility class to safely share
IndexSearcher
instances across multiple
threads, while periodically reopening.
- SearcherManager(IndexWriter, boolean, SearcherFactory) - Constructor for class org.apache.lucene.search.SearcherManager
-
Creates and returns a new SearcherManager from the given
IndexWriter
.
- SearcherManager(Directory, SearcherFactory) - Constructor for class org.apache.lucene.search.SearcherManager
-
Creates and returns a new SearcherManager from the given
Directory
.
- second - Variable in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
-
- seek(Term) - Method in class org.apache.lucene.index.AbstractAllTermDocs
-
- seek(TermEnum) - Method in class org.apache.lucene.index.AbstractAllTermDocs
-
- seek(Term) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- seek(TermEnum) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- seek(Term) - Method in class org.apache.lucene.index.MultipleTermPositions
-
Not implemented.
- seek(TermEnum) - Method in class org.apache.lucene.index.MultipleTermPositions
-
Not implemented.
- seek(Term) - Method in interface org.apache.lucene.index.TermDocs
-
Sets this to the data for a term.
- seek(TermEnum) - Method in interface org.apache.lucene.index.TermDocs
-
Sets this to the data for the current term in a
TermEnum
.
- seek(long) - Method in class org.apache.lucene.store.BufferedIndexInput
-
- seek(long) - Method in class org.apache.lucene.store.BufferedIndexOutput
-
Sets current position in this file, where the next write will occur.
- seek(long) - Method in class org.apache.lucene.store.ChecksumIndexInput
-
- seek(long) - Method in class org.apache.lucene.store.ChecksumIndexOutput
-
- seek(long) - Method in class org.apache.lucene.store.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.RAMInputStream
-
- seek(long) - Method in class org.apache.lucene.store.RAMOutputStream
-
- seekCeil(BytesRef) - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
-
Seeks to smallest term that's >= target.
- seekCeil(IntsRef) - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
-
Seeks to smallest term that's >= target.
- seekExact(BytesRef) - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
-
Seeks to exactly this term, returning null if the term
doesn't exist.
- seekExact(IntsRef) - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
-
Seeks to exactly this term, returning null if the term
doesn't exist.
- seekFloor(BytesRef) - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
-
Seeks to biggest term that's <= target.
- seekFloor(IntsRef) - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
-
Seeks to biggest term that's <= target.
- seekInternal(long) - Method in class org.apache.lucene.store.BufferedIndexInput
-
Expert: implements seek.
- seekInternal(long) - Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
-
- segDeletes - Variable in class org.apache.lucene.index.SegmentWriteState
-
- segmentFileName(String, String) - Static method in class org.apache.lucene.index.IndexFileNames
-
Returns the file name that matches the given segment name and extension.
- segmentFormat - Variable in class org.apache.lucene.index.CheckIndex.Status
-
String description of the version of the index.
- SegmentInfo - Class in org.apache.lucene.index
-
Information about a segment such as it's name, directory, and files related
to the segment.
- SegmentInfo(String, int, Directory, boolean, boolean, boolean, boolean) - Constructor for class org.apache.lucene.index.SegmentInfo
-
- segmentInfos - Variable in class org.apache.lucene.index.CheckIndex.Status
-
- SegmentInfos - Class in org.apache.lucene.index
-
A collection of segmentInfo objects with methods for operating on
those segments in relation to the file system.
- SegmentInfos() - Constructor for class org.apache.lucene.index.SegmentInfos
-
- SegmentInfos.FindSegmentsFile - Class in org.apache.lucene.index
-
Utility class for executing code that needs to do
something with the current segments file.
- SegmentInfos.FindSegmentsFile(Directory) - Constructor for class org.apache.lucene.index.SegmentInfos.FindSegmentsFile
-
- segmentName - Variable in class org.apache.lucene.index.SegmentWriteState
-
- SegmentReader - Class in org.apache.lucene.index
-
IndexReader implementation over a single segment.
- SegmentReader() - Constructor for class org.apache.lucene.index.SegmentReader
-
- SegmentReader.CoreClosedListener - Interface in org.apache.lucene.index
-
Called when the shared core for this SegmentReader
is closed.
- SEGMENTS - Static variable in class org.apache.lucene.index.IndexFileNames
-
Name of the index segment file
- segments - Variable in class org.apache.lucene.index.MergePolicy.OneMerge
-
- SEGMENTS_GEN - Static variable in class org.apache.lucene.index.IndexFileNames
-
Name of the generation reference file name
- 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.
- SegmentWriteState - Class in org.apache.lucene.index
-
Holder class for common parameters used during write.
- SegmentWriteState(PrintStream, Directory, String, FieldInfos, int, int, BufferedDeletes) - Constructor for class org.apache.lucene.index.SegmentWriteState
-
- segString() - Method in class org.apache.lucene.index.IndexWriter
-
- segString(Iterable<SegmentInfo>) - Method in class org.apache.lucene.index.IndexWriter
-
- segString(SegmentInfo) - Method in class org.apache.lucene.index.IndexWriter
-
- segString(Directory) - Method in class org.apache.lucene.index.MergePolicy.MergeSpecification
-
- segString(Directory) - Method in class org.apache.lucene.index.MergePolicy.OneMerge
-
- SEPARATE_NORMS_EXTENSION - Static variable in class org.apache.lucene.index.IndexFileNames
-
Extension of separate norms
- 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(T) - Method in class org.apache.lucene.util.CloseableThreadLocal
-
- set(int) - Method in class org.apache.lucene.util.FixedBitSet
-
- set(int, int) - Method in class org.apache.lucene.util.FixedBitSet
-
Sets a range of bits
- 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
- set(int, long) - Method in class org.apache.lucene.util.packed.GrowableWriter
-
- set(int, long) - Method in interface org.apache.lucene.util.packed.PackedInts.Mutable
-
Set the value at the given index in the array.
- set(T) - Method in class org.apache.lucene.util.SetOnce
-
Sets the given object.
- setAllowArrayArcs(boolean) - Method in class org.apache.lucene.util.fst.Builder
-
Pass false to disable the array arc optimization
while building the FST; this will make the resulting
FST smaller but slower to traverse.
- setAllowArrayArcs(boolean) - Method in class org.apache.lucene.util.fst.FST
-
- setAllowLeadingWildcard(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
-
Set to true
to allow leading wildcard characters.
- setAutoGeneratePhraseQueries(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
-
Set to true if phrase queries will be automatically generated
when the analyzer returns more than one term from whitespace
delimited text.
- SetBasedFieldSelector - Class in org.apache.lucene.document
-
Declare what fields to load normally and what fields to load lazily
- SetBasedFieldSelector(Set<String>, Set<String>) - 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.
- setBaseline(long) - Method in class org.apache.lucene.search.TimeLimitingCollector
-
Sets the baseline for this collector.
- setBaseline() - Method in class org.apache.lucene.search.TimeLimitingCollector
-
- 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.index.FieldInvertState
-
- setBoost(float) - Method in class org.apache.lucene.search.Query
-
Sets the boost for this query clause to b
.
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator
-
Set the bottom slot, ie the "weakest" (sorted last)
entry in the queue.
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.StringComparatorLocale
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
-
- setBottom(int) - Method in class org.apache.lucene.search.FieldComparator.StringValComparator
-
- setBufferSize(int) - Method in class org.apache.lucene.store.BufferedIndexInput
-
Change the buffer size used by this IndexInput
- setBytesRef(BytesRef, int) - Method in class org.apache.lucene.util.ByteBlockPool
-
- setCacheSize(int) - Method in class org.apache.lucene.search.FilterManager
-
Deprecated.
Sets the max size that cache should reach before it is cleaned up
- setCalibrateSizeByDeletes(boolean) - Method in class org.apache.lucene.index.LogMergePolicy
-
Sets whether the segment size should be calibrated by
the number of deletes when choosing segments for merge.
- setCleanThreadSleepTime(long) - Method in class org.apache.lucene.search.FilterManager
-
Deprecated.
Sets the cache cleaning frequency in milliseconds.
- setCollector(Collector) - Method in class org.apache.lucene.search.TimeLimitingCollector
-
This is so the same timer can be used with a multi-phase search process such as grouping.
- setCurrentLabel(int) - Method in class org.apache.lucene.util.fst.BytesRefFSTEnum
-
- setCurrentLabel(int) - Method in class org.apache.lucene.util.fst.IntsRefFSTEnum
-
- setData(byte[]) - Method in class org.apache.lucene.index.Payload
-
Sets this payloads data.
- setData(byte[], int, int) - Method in class org.apache.lucene.index.Payload
-
Sets this payloads data.
- setDateResolution(DateTools.Resolution) - Method in class org.apache.lucene.queryParser.QueryParser
-
Sets the default date resolution used by RangeQueries for fields for which no
specific date resolutions has been set.
- setDateResolution(String, DateTools.Resolution) - Method in class org.apache.lucene.queryParser.QueryParser
-
Sets the date resolution used by RangeQueries for a specific field.
- setDebugStream(PrintStream) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
-
Set debug output.
- setDefault(Similarity) - Static method in class org.apache.lucene.search.Similarity
-
Set the default Similarity implementation used by indexing and search
code.
- setDefaultFieldSortScoring(boolean, boolean) - Method in class org.apache.lucene.search.IndexSearcher
-
- setDefaultGenLookaheadCount(int) - Static method in class org.apache.lucene.index.SegmentInfos
-
Advanced: set how many times to try incrementing the
gen when loading the segments file.
- setDefaultInfoStream(PrintStream) - Static method in class org.apache.lucene.index.IndexWriter
-
If non-null, this will be the default infoStream used
by a newly instantiated IndexWriter.
- setDefaultOperator(QueryParser.Operator) - Method in class org.apache.lucene.queryParser.QueryParser
-
Sets the boolean operator of the QueryParser.
- setDefaultWriteLockTimeout(long) - Static method in class org.apache.lucene.index.IndexWriter
-
- setDefaultWriteLockTimeout(long) - Static method in class org.apache.lucene.index.IndexWriterConfig
-
Sets the default (for any instance) 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.
- setDiscountOverlaps(boolean) - Method in class org.apache.lucene.search.DefaultSimilarity
-
Determines whether overlap tokens (Tokens with
0 position increment) are ignored when computing
norm.
- setDocStoreSegment(String) - Method in class org.apache.lucene.index.SegmentInfo
-
- setDocumentNumber(int) - Method in class org.apache.lucene.index.TermVectorMapper
-
Passes down the index of the document whose term vector is currently being mapped,
once for each top level call to a term vector reader.
- setDoubleValue(double) - Method in class org.apache.lucene.analysis.NumericTokenStream
-
Initializes the token stream with the supplied double
value.
- setDoubleValue(double) - Method in class org.apache.lucene.document.NumericField
-
Initializes the field with the supplied double
value.
- setEmpty() - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
-
Sets the length of the termBuffer to zero.
- setEmpty() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
- setEnablePositionIncrements(boolean) - Method in class org.apache.lucene.analysis.FilteringTokenFilter
-
If true
, this TokenFilter will preserve
positions of the incoming tokens (ie, accumulate and
set position increments of the removed tokens).
- setEnablePositionIncrements(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
-
Set to true
to enable position increments in result query.
- setEndOffset(int) - Method in class org.apache.lucene.analysis.Token
-
Set the ending offset.
- setEndOffset(int) - Method in class org.apache.lucene.index.TermVectorOffsetInfo
-
- setEnum(TermEnum) - Method in class org.apache.lucene.search.FilteredTermEnum
-
use this method to set the actual TermEnum (e.g.
- setEstimatedSize(String) - Method in class org.apache.lucene.search.FieldCache.CacheEntry
-
- setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.FieldSortedTermVectorMapper
-
- setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.PositionBasedTermVectorMapper
-
Callback mechanism used by the TermVectorReader
- setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.SortedTermVectorMapper
-
- setExpectations(String, int, boolean, boolean) - Method in class org.apache.lucene.index.TermVectorMapper
-
Tell the mapper what to expect in regards to field, number of terms, offset and position storage.
- setFlags(int) - Method in class org.apache.lucene.analysis.Token
-
- setFlags(int) - Method in interface org.apache.lucene.analysis.tokenattributes.FlagsAttribute
-
- setFlags(int) - Method in class org.apache.lucene.analysis.tokenattributes.FlagsAttributeImpl
-
- setFloatValue(float) - Method in class org.apache.lucene.analysis.NumericTokenStream
-
Initializes the token stream with the supplied float
value.
- setFloatValue(float) - Method in class org.apache.lucene.document.NumericField
-
Initializes the field with the supplied float
value.
- setFloorSegmentMB(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Segments smaller than this are "rounded up" to this
size, ie treated as equal (floor) size for merge
selection.
- setForceMergeDeletesPctAllowed(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
When forceMergeDeletes is called, we only merge away a
segment if its delete percentage is over this
threshold.
- setFormat(int) - Method in class org.apache.lucene.index.SegmentInfos
-
- setFreqCurrentDoc() - Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
-
- setFreqCurrentDoc() - Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
-
- setFreqCurrentDoc() - Method in class org.apache.lucene.search.spans.SpanScorer
-
- setFuzzyMinSim(float) - Method in class org.apache.lucene.queryParser.QueryParser
-
Set the minimum similarity for fuzzy queries.
- setFuzzyPrefixLength(int) - Method in class org.apache.lucene.queryParser.QueryParser
-
Set the prefix length for fuzzy queries.
- setGreedy(boolean) - Method in class org.apache.lucene.search.TimeLimitingCollector
-
Sets whether this time limited collector is greedy.
- setHasVectors(boolean) - Method in class org.apache.lucene.index.SegmentInfo
-
- setIndexCommit(IndexCommit) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Expert: allows to open a certain commit point.
- setIndexDeletionPolicy(IndexDeletionPolicy) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setIndexOptions(FieldInfo.IndexOptions) - Method in class org.apache.lucene.document.AbstractField
-
Expert:
If set, omit term freq, and optionally also positions and payloads from
postings for this field.
- setIndexOptions(FieldInfo.IndexOptions) - Method in interface org.apache.lucene.document.Fieldable
-
Expert:
If set, omit term freq, and optionally positions and payloads from
postings for this field.
- setIndexWriter(IndexWriter) - Method in class org.apache.lucene.index.MergePolicy
-
- setIndexWriter(IndexWriter) - Method in class org.apache.lucene.index.NoMergePolicy
-
- setIndexWriter(IndexWriter) - Method in class org.apache.lucene.index.UpgradeIndexMergePolicy
-
- 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.IndexWriter
-
If non-null, information about merges, deletes and a
message when maxFieldLength is reached will be printed
to this.
- setInfoStream(PrintStream) - Static method in class org.apache.lucene.index.SegmentInfos
-
If non-null, information about retries when loading
the segments file will be printed to this.
- setInfoStream(PrintStream) - Method in interface org.apache.lucene.search.FieldCache
-
If non-null, FieldCacheImpl will warn whenever
entries are created that are not sane according to
FieldCacheSanityChecker
.
- setIntValue(int) - Method in class org.apache.lucene.analysis.NumericTokenStream
-
Initializes the token stream with the supplied int
value.
- setIntValue(int) - Method in class org.apache.lucene.document.NumericField
-
Initializes the field with the supplied int
value.
- setKeyword(boolean) - Method in interface org.apache.lucene.analysis.tokenattributes.KeywordAttribute
-
Marks the current token as keyword iff set to true
.
- setKeyword(boolean) - Method in class org.apache.lucene.analysis.tokenattributes.KeywordAttributeImpl
-
Marks the current token as keyword iff set to true
.
- setLastModified(long) - Method in class org.apache.lucene.store.RAMFile
-
- setLastOutput(int, T) - Method in class org.apache.lucene.util.fst.Builder.UnCompiledNode
-
- setLength(int) - Method in interface org.apache.lucene.analysis.tokenattributes.CharTermAttribute
-
Set number of valid characters (length of the term) in
the termBuffer array.
- setLength(int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
- setLength(int) - Method in class org.apache.lucene.index.FieldInvertState
-
- 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(long) - Method in class org.apache.lucene.store.RAMFile
-
- setLength(int) - Method in class org.apache.lucene.util.UnicodeUtil.UTF16Result
-
- setLength(int) - Method in class org.apache.lucene.util.UnicodeUtil.UTF8Result
-
- setLocale(Locale) - Method in class org.apache.lucene.queryParser.QueryParser
-
Set locale used by date range parsing.
- setLockDir(File) - Method in class org.apache.lucene.store.FSLockFactory
-
Set the lock directory.
- setLockFactory(LockFactory) - Method in class org.apache.lucene.store.Directory
-
Set the LockFactory that this Directory instance should
use for its locking implementation.
- setLockFactory(LockFactory) - Method in class org.apache.lucene.store.FSDirectory
-
- setLockFactory(LockFactory) - Method in class org.apache.lucene.store.NRTCachingDirectory
-
- setLockPrefix(String) - Method in class org.apache.lucene.store.LockFactory
-
Set the prefix in use for all locks created in this
LockFactory.
- setLongValue(long) - Method in class org.apache.lucene.analysis.NumericTokenStream
-
Initializes the token stream with the supplied long
value.
- setLongValue(long) - Method in class org.apache.lucene.document.NumericField
-
Initializes the field with the supplied long
value.
- setLowercaseExpandedTerms(boolean) - Method in class org.apache.lucene.queryParser.QueryParser
-
Whether terms of wildcard, prefix, fuzzy and range queries are to be automatically
lower-cased or not.
- setMatch(Boolean) - Method in class org.apache.lucene.search.ComplexExplanation
-
Sets the match status assigned to this explanation node.
- setMaxBufferedDeleteTerms(int) - Method in class org.apache.lucene.index.IndexWriter
-
- setMaxBufferedDeleteTerms(int) - Method in class org.apache.lucene.index.IndexWriterConfig
-
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.IndexWriter
-
- setMaxBufferedDocs(int) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Determines the minimal number of documents required before the buffered
in-memory documents are flushed as a new Segment.
- setMaxChunkSize(int) - Method in class org.apache.lucene.store.MMapDirectory
-
Sets the maximum chunk size (default is 1 GiBytes for
64 bit JVMs and 256 MiBytes for 32 bit JVMs) used for memory mapping.
- setMaxClauseCount(int) - Static method in class org.apache.lucene.search.BooleanQuery
-
Set the maximum number of clauses permitted per BooleanQuery.
- setMaxFieldLength(int) - Method in class org.apache.lucene.index.IndexWriter
-
Deprecated.
use LimitTokenCountAnalyzer
instead. Note that the
behvaior slightly changed - the analyzer limits the number of
tokens per token stream created, while this setting limits the
total number of tokens to index. This only matters if you index
many multi-valued fields though.
- setMaxMergeAtOnce(int) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Maximum number of segments to be merged at a time
during "normal" merging.
- setMaxMergeAtOnceExplicit(int) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Maximum number of segments to be merged at a time,
during forceMerge or forceMergeDeletes.
- setMaxMergeCount(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Sets the max # simultaneous merges that are allowed.
- setMaxMergeDocs(int) - Method in class org.apache.lucene.index.IndexWriter
-
- 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.
- setMaxMergedSegmentMB(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Maximum sized segment to produce during
normal merging.
- 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.
- setMaxMergeMBForForcedMerge(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 during forceMerge.
- setMaxMergeMBForOptimize(double) - Method in class org.apache.lucene.index.LogByteSizeMergePolicy
-
- setMaxScore(float) - Method in class org.apache.lucene.search.TopDocs
-
Sets the maximum score value encountered.
- setMaxThreadCount(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Sets the max # simultaneous merge threads that should
be running at once.
- setMaxThreadStates(int) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Sets the max number of simultaneous threads that may be indexing documents
at once in IndexWriter.
- setMaxTokenLength(int) - Method in class org.apache.lucene.analysis.standard.ClassicAnalyzer
-
Set maximum allowed token length.
- setMaxTokenLength(int) - Method in class org.apache.lucene.analysis.standard.ClassicTokenizer
-
Set the max allowed token length.
- 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.
- setMaxTokenLength(int) - Method in class org.apache.lucene.analysis.standard.UAX29URLEmailAnalyzer
-
Set maximum allowed token length.
- setMaxTokenLength(int) - Method in class org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer
-
Set the max allowed token length.
- setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer) - Method in class org.apache.lucene.index.IndexWriter
-
- setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Set the merged segment warmer.
- setMergeFactor(int) - Method in class org.apache.lucene.index.IndexWriter
-
- 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
-
- setMergePolicy(MergePolicy) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Expert:
MergePolicy
is invoked whenever there are changes to the
segments in the index.
- setMergeScheduler(MergeScheduler) - Method in class org.apache.lucene.index.IndexWriter
-
- setMergeScheduler(MergeScheduler) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Expert: sets the merge scheduler used by this writer.
- setMergeThreadPriority(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Set the base 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.
- setMissingValue(Object) - Method in class org.apache.lucene.search.SortField
-
Set a default sorting value for documents which lacks one
- setModifiedUTF8StringsMode() - Method in class org.apache.lucene.store.DataInput
-
Call this if readString should read characters stored
in the old modified UTF8 format (length in java chars
and java's modified UTF8 encoding).
- setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod) - Method in class org.apache.lucene.queryParser.QueryParser
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.CachingCollector
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.Collector
-
Called before collecting from each IndexReader.
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.ByteComparator
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.DocComparator
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.FloatComparator
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.IntComparator
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.LongComparator
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.NumericComparator
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator
-
Set a new Reader.
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.ShortComparator
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.StringComparatorLocale
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.FieldComparator.StringValComparator
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.MultiCollector
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.PositiveScoresOnlyCollector
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.TimeLimitingCollector
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.TopScoreDocCollector
-
- setNextReader(IndexReader, int) - Method in class org.apache.lucene.search.TotalHitCountCollector
-
- setNoCFSRatio(double) - Method in class org.apache.lucene.index.LogMergePolicy
-
If a merged segment will be more than this percentage
of the total size of the index, leave the segment as
non-compound file even if compound file is enabled.
- setNoCFSRatio(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
If a merged segment will be more than this percentage
of the total size of the index, leave the segment as
non-compound file even if compound file is enabled.
- setNorm(int, String, byte) - Method in class org.apache.lucene.index.IndexReader
-
Deprecated.
Write support will be removed in Lucene 4.0.
There will be no replacement for this method.
- setNorm(int, String, float) - Method in class org.apache.lucene.index.IndexReader
-
Deprecated.
Write support will be removed in Lucene 4.0.
There will be no replacement for this method.
- setNumOverlap(int) - Method in class org.apache.lucene.index.FieldInvertState
-
- setNumWords(int) - Method in class org.apache.lucene.util.OpenBitSet
-
Expert: sets the number of longs in the array that are in use
- setOccur(BooleanClause.Occur) - Method in class org.apache.lucene.search.BooleanClause
-
- setOffset(int, int) - Method in class org.apache.lucene.analysis.Token
-
Set the starting and ending offset.
- setOffset(int, int) - Method in interface org.apache.lucene.analysis.tokenattributes.OffsetAttribute
-
Set the starting and ending offset.
- setOffset(int, int) - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
-
Set the starting and ending offset.
- setOmitNorms(boolean) - Method in class org.apache.lucene.document.AbstractField
-
Expert:
If set, omit normalization factors associated with this indexed field.
- setOmitNorms(boolean) - Method in interface org.apache.lucene.document.Fieldable
-
Expert:
If set, omit normalization factors associated with this indexed field.
- setOmitTermFreqAndPositions(boolean) - Method in class org.apache.lucene.document.AbstractField
-
- SetOnce<T> - Class in org.apache.lucene.util
-
A convenient class which offers a semi-immutable object wrapper
implementation which allows one to set the value of an object exactly once,
and retrieve it many times.
- SetOnce() - Constructor for class org.apache.lucene.util.SetOnce
-
A default constructor which does not set the internal object, and allows
setting it by calling
SetOnce.set(Object)
.
- SetOnce(T) - Constructor for class org.apache.lucene.util.SetOnce
-
Creates a new instance with the internal object set to the given object.
- SetOnce.AlreadySetException - Exception in org.apache.lucene.util
-
- SetOnce.AlreadySetException() - Constructor for exception org.apache.lucene.util.SetOnce.AlreadySetException
-
- setOpenMode(IndexWriterConfig.OpenMode) - Method in class org.apache.lucene.index.IndexWriterConfig
-
- setPause(boolean) - Method in class org.apache.lucene.index.MergePolicy.OneMerge
-
- setPayload(Payload) - Method in class org.apache.lucene.analysis.Token
-
Sets this Token's payload.
- setPayload(Payload) - Method in interface org.apache.lucene.analysis.tokenattributes.PayloadAttribute
-
Sets this Token's payload.
- setPayload(Payload) - Method in class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
-
Sets this Token's payload.
- setPayloadProcessorProvider(PayloadProcessorProvider) - Method in class org.apache.lucene.index.IndexWriter
-
- setPhraseSlop(int) - Method in class org.apache.lucene.queryParser.QueryParser
-
Sets the default slop for phrases.
- setPivot(int) - Method in class org.apache.lucene.util.SorterTemplate
-
Implement this method, that stores the value of slot i
as pivot value
- setPosition(long) - Method in class org.apache.lucene.util.PagedBytes.PagedBytesDataInput
-
- setPositionIncrement(int) - Method in class org.apache.lucene.analysis.Token
-
Set the position increment.
- setPositionIncrement(int) - Method in interface org.apache.lucene.analysis.tokenattributes.PositionIncrementAttribute
-
Set the position increment.
- setPositionIncrement(int) - Method in class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
-
Set the position increment.
- setPositionLength(int) - Method in interface org.apache.lucene.analysis.tokenattributes.PositionLengthAttribute
-
- setPositionLength(int) - Method in class org.apache.lucene.analysis.tokenattributes.PositionLengthAttributeImpl
-
- 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
-
- setRAMBufferSizeMB(double) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Determines the amount of RAM that may be used for buffering added documents
and deletions before they are flushed to the Directory.
- setRamUsageEstimator(boolean) - Method in class org.apache.lucene.util.FieldCacheSanityChecker
-
If set, estimate size for all CacheEntry objects will be calculateed.
- setRangeCollator(Collator) - Method in class org.apache.lucene.queryParser.QueryParser
-
Sets the collator used to determine index term inclusion in ranges
for RangeQuerys.
- setReadChunkSize(int) - Method in class org.apache.lucene.store.FSDirectory
-
- setReaderPooling(boolean) - Method in class org.apache.lucene.index.IndexWriterConfig
-
By default, IndexWriter does not pool the
SegmentReaders it must open for deletions and
merging, unless a near-real-time reader has been
obtained by calling
IndexWriter.getReader()
.
- setReaderTermsIndexDivisor(int) - Method in class org.apache.lucene.index.IndexWriter
-
- setReaderTermsIndexDivisor(int) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Sets the termsIndexDivisor passed to any readers that
IndexWriter opens, for example when applying deletes
or creating a near-real-time reader in
IndexWriter.getReader()
.
- setReclaimDeletesWeight(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Controls how aggressively merges that reclaim more
deletions are favored.
- setReplaceInvalidAcronym(boolean) - Method in class org.apache.lucene.analysis.standard.ClassicTokenizer
-
Deprecated.
Remove in 3.X and make true the only valid value
See https://issues.apache.org/jira/browse/LUCENE-1068
- 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) - Method in class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
Set the timer resolution.
- setRewriteMethod(MultiTermQuery.RewriteMethod) - Method in class org.apache.lucene.search.MultiTermQuery
-
Sets the rewrite method to be used when executing the
query.
- setRewriteMethod(SpanMultiTermQueryWrapper.SpanRewriteMethod) - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
-
Expert: sets the rewrite method.
- setRunningMerge(MergePolicy.OneMerge) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.Collector
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.FieldComparator
-
Sets the Scorer to use in case a document's score is
needed.
- setScorer(Scorer) - Method in class org.apache.lucene.search.MultiCollector
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.PositiveScoresOnlyCollector
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.TimeLimitingCollector
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.TopScoreDocCollector
-
- setScorer(Scorer) - Method in class org.apache.lucene.search.TotalHitCountCollector
-
- setSegmentsPerTier(double) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Sets the allowed number of segments per tier.
- setSimilarity(Similarity) - Method in class org.apache.lucene.index.IndexWriter
-
- setSimilarity(Similarity) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Expert: set the
Similarity
implementation used by this IndexWriter.
- setSimilarity(Similarity) - Method in class org.apache.lucene.search.IndexSearcher
-
Expert: Set the Similarity implementation used by this Searcher.
- setSimilarity(Similarity) - Method in class org.apache.lucene.search.Searcher
-
Deprecated.
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(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.tokenattributes.CharTermAttributeImpl
-
Deprecated.
- setTermBuffer(String) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
Deprecated.
- setTermBuffer(String, int, int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
Deprecated.
- setTermBuffer(char[], int, int) - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
-
Deprecated.
Copies the contents of buffer, starting at offset for
length characters, into the termBuffer array.
- setTermBuffer(String) - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
-
Deprecated.
Copies the contents of buffer into the termBuffer array.
- setTermBuffer(String, int, int) - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
-
Deprecated.
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
-
- setTermIndexInterval(int) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Expert: set the interval between indexed terms.
- setTermLength(int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
Deprecated.
- setTermLength(int) - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
-
Deprecated.
Set number of valid characters (length of the term) in
the termBuffer array.
- setTestMode() - Static method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Deprecated.
this test mode code will be removed in a future release
- setThreadPriority(int) - Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
- setTokenStream(TokenStream) - Method in class org.apache.lucene.document.Field
-
Expert: sets the token stream to be used for indexing and causes isIndexed() and isTokenized() to return true.
- setType(String) - Method in class org.apache.lucene.analysis.Token
-
Set the lexical type.
- setType(String) - Method in interface org.apache.lucene.analysis.tokenattributes.TypeAttribute
-
Set the lexical type.
- setType(String) - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
-
Set the lexical type.
- setUseCompoundFile(boolean) - Method in class org.apache.lucene.index.IndexWriter
-
- 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.
- setUseCompoundFile(boolean) - Method in class org.apache.lucene.index.TieredMergePolicy
-
Sets whether compound file format should be used for
newly flushed and newly merged segments.
- setUseUnmap(boolean) - Method in class org.apache.lucene.store.MMapDirectory
-
This method enables the workaround for unmapping the buffers
from address space after closing
IndexInput
, that is
mentioned in the bug report.
- setValue(V) - Method in class org.apache.lucene.analysis.CharArrayMap.EntryIterator
-
sets the value associated with the last key returned
- 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(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
-
- setWriteLockTimeout(long) - Method in class org.apache.lucene.index.IndexWriterConfig
-
Sets the maximum time to wait for a write lock (in milliseconds) for this
instance.
- shallowSizeOf(Object) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Estimates a "shallow" memory usage of the given object.
- shallowSizeOfInstance(Class<?>) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the shallow instance size in bytes an instance of the given class would occupy.
- shardIndex - Variable in class org.apache.lucene.search.ScoreDoc
-
- SHIFT_START_INT - Static variable in class org.apache.lucene.util.NumericUtils
-
Expert: Integers are stored at lower precision by shifting off lower bits.
- SHIFT_START_LONG - Static variable in class org.apache.lucene.util.NumericUtils
-
Expert: Longs are stored at lower precision by shifting off lower bits.
- SHORT - Static variable in class org.apache.lucene.search.function.FieldScoreQuery.Type
-
field values are interpreted as numeric short values.
- SHORT - Static variable in class org.apache.lucene.search.SortField
-
Sort using term values as encoded Shorts.
- shortestPaths(FST<T>, FST.Arc<T>, Comparator<T>, int) - Static method in class org.apache.lucene.util.fst.Util
-
Starting from node, find the top N min cost
completions to a final node.
- 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.
- shouldDelete(String) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
-
Returns true if this segment can be deleted.
- shouldUpgradeSegment(SegmentInfo) - Method in class org.apache.lucene.index.UpgradeIndexMergePolicy
-
Returns if the given segment should be upgraded.
- shrink(short[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- 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
-
- shrink(boolean[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(char[], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(int[][], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(float[][], int) - Static method in class org.apache.lucene.util.ArrayUtil
-
- similarity - Variable in class org.apache.lucene.search.BooleanQuery.BooleanWeight
-
The Similarity implementation.
- similarity - Variable in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
-
The Similarity implementation.
- Similarity - Class in org.apache.lucene.search
-
Expert: Scoring API.
- Similarity() - Constructor for class org.apache.lucene.search.Similarity
-
- similarity - Variable in class org.apache.lucene.search.spans.SpanWeight
-
- SimilarityDelegator - Class in org.apache.lucene.search
-
- SimilarityDelegator(Similarity) - Constructor for class org.apache.lucene.search.SimilarityDelegator
-
Deprecated.
Construct a
Similarity
that delegates all methods to another.
- SimpleAnalyzer - Class in org.apache.lucene.analysis
-
- SimpleAnalyzer(Version) - Constructor for class org.apache.lucene.analysis.SimpleAnalyzer
-
- SimpleAnalyzer() - Constructor for class org.apache.lucene.analysis.SimpleAnalyzer
-
- SimpleFSDirectory - Class in org.apache.lucene.store
-
A straightforward implementation of
FSDirectory
using java.io.RandomAccessFile.
- SimpleFSDirectory(File, LockFactory) - Constructor for class org.apache.lucene.store.SimpleFSDirectory
-
Create a new SimpleFSDirectory for the named location.
- SimpleFSDirectory(File) - Constructor for class org.apache.lucene.store.SimpleFSDirectory
-
- SimpleFSDirectory.SimpleFSIndexInput - Class in org.apache.lucene.store
-
- SimpleFSDirectory.SimpleFSIndexInput(File, int, int) - Constructor for class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
-
Deprecated.
please pass resourceDesc
- SimpleFSDirectory.SimpleFSIndexInput(String, File, int, int) - Constructor for class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
-
- SimpleFSDirectory.SimpleFSIndexInput.Descriptor - Class in org.apache.lucene.store
-
- SimpleFSDirectory.SimpleFSIndexInput.Descriptor(File, String) - Constructor for class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput.Descriptor
-
- SimpleFSLockFactory - Class in org.apache.lucene.store
-
- SimpleFSLockFactory() - Constructor for class org.apache.lucene.store.SimpleFSLockFactory
-
Create a SimpleFSLockFactory instance, with null (unset)
lock directory.
- SimpleFSLockFactory(File) - Constructor for class org.apache.lucene.store.SimpleFSLockFactory
-
Instantiate using the provided directory (as a File instance).
- SimpleFSLockFactory(String) - Constructor for class org.apache.lucene.store.SimpleFSLockFactory
-
Instantiate using the provided directory name (String).
- SimpleStringInterner - Class in org.apache.lucene.util
-
Simple lockless and memory barrier free String intern cache that is guaranteed
to return the same String instance as String.intern()
does.
- SimpleStringInterner(int, int) - Constructor for class org.apache.lucene.util.SimpleStringInterner
-
- SingleInstanceLockFactory - Class in org.apache.lucene.store
-
Implements
LockFactory
for a single in-process instance,
meaning all locking will take place through this one instance.
- SingleInstanceLockFactory() - Constructor for class org.apache.lucene.store.SingleInstanceLockFactory
-
- SingleTermEnum - Class in org.apache.lucene.search
-
Subclass of FilteredTermEnum for enumerating a single term.
- SingleTermEnum(IndexReader, Term) - Constructor for class org.apache.lucene.search.SingleTermEnum
-
Creates a new SingleTermEnum
.
- sink - Variable in class org.apache.lucene.analysis.ReusableAnalyzerBase.TokenStreamComponents
-
- size() - Method in class org.apache.lucene.analysis.CharArrayMap.EntrySet
-
- size() - Method in class org.apache.lucene.analysis.CharArrayMap
-
- size() - Method in class org.apache.lucene.analysis.CharArraySet
-
- size() - Method in class org.apache.lucene.index.FieldInfos
-
- 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 class org.apache.lucene.index.SegmentInfos
-
- 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.BytesRefHash
-
- size() - Method in class org.apache.lucene.util.MapBackedSet
-
- size() - Method in class org.apache.lucene.util.OpenBitSet
-
Returns the current capacity of this set.
- size() - Method in class org.apache.lucene.util.packed.GrowableWriter
-
- size() - Method in interface org.apache.lucene.util.packed.PackedInts.Reader
-
- size() - Method in class org.apache.lucene.util.packed.PackedInts.ReaderImpl
-
- 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() - Method in class org.apache.lucene.util.WeakIdentityMap
-
- sizeBytes(SegmentInfo) - Method in class org.apache.lucene.index.LogMergePolicy
-
- sizeDocs(SegmentInfo) - Method in class org.apache.lucene.index.LogMergePolicy
-
- sizeInBytes(boolean) - Method in class org.apache.lucene.index.SegmentInfo
-
Returns total size in bytes of all of files used by this segment (if
includeDocStores
is true), or the size of all files except the store
files otherwise.
- sizeInBytes() - Method in class org.apache.lucene.store.NRTCachingDirectory
-
Returns how many bytes are being used by the
RAMDirectory cache
- sizeInBytes - Variable in class org.apache.lucene.store.RAMDirectory
-
- sizeInBytes() - Method in class org.apache.lucene.store.RAMDirectory
-
Return total size in bytes of all files in this directory.
- sizeInBytes - Variable in class org.apache.lucene.store.RAMFile
-
- sizeInBytes() - Method in class org.apache.lucene.store.RAMOutputStream
-
Returns byte usage of all buffers.
- sizeInBytes() - Method in class org.apache.lucene.util.fst.FST
-
Returns bytes used to represent the FST
- sizeMB - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Net size (MB) of the files referenced by this
segment.
- sizeOf(byte[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the byte[] object.
- sizeOf(boolean[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the boolean[] object.
- sizeOf(char[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the char[] object.
- sizeOf(short[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the short[] object.
- sizeOf(int[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the int[] object.
- sizeOf(float[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the float[] object.
- sizeOf(long[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the long[] object.
- sizeOf(double[]) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Returns the size in bytes of the double[] object.
- sizeOf(Object) - Static method in class org.apache.lucene.util.RamUsageEstimator
-
Estimates the RAM usage by the given object.
- skipBytes(int) - Method in class org.apache.lucene.store.ByteArrayDataInput
-
- skipChars(int) - Method in class org.apache.lucene.store.IndexInput
-
Deprecated.
this method operates on old "modified utf8" encoded
strings
- skipInterval - Variable in class org.apache.lucene.index.SegmentWriteState
-
Expert: The fraction of TermDocs entries stored in skip tables,
used to accelerate
TermDocs.skipTo(int)
.
- skipTo(int) - Method in class org.apache.lucene.index.AbstractAllTermDocs
-
- skipTo(int) - Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- skipTo(int) - Method in class org.apache.lucene.index.MultipleTermPositions
-
- skipTo(int) - Method in interface org.apache.lucene.index.TermDocs
-
Skips entries to the first beyond the current whose document number is
greater than or equal to target.
- skipTo(int) - Method in class org.apache.lucene.search.spans.NearSpansOrdered
-
- skipTo(int) - Method in class org.apache.lucene.search.spans.NearSpansUnordered
-
- skipTo(int) - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
-
- skipTo(int) - Method in class org.apache.lucene.search.spans.Spans
-
Skips to the first match beyond the current, whose document number is
greater than or equal to target.
- skipTo(int) - Method in class org.apache.lucene.search.spans.TermSpans
-
- slop - Variable in class org.apache.lucene.search.spans.SpanNearQuery
-
- sloppyFreq(int) - Method in class org.apache.lucene.search.DefaultSimilarity
-
Implemented as 1 / (distance + 1)
.
- sloppyFreq(int) - Method in class org.apache.lucene.search.Similarity
-
Computes the amount of a sloppy phrase match, based on an edit distance.
- sloppyFreq(int) - Method in class org.apache.lucene.search.SimilarityDelegator
-
Deprecated.
- slot - Variable in class org.apache.lucene.search.FieldValueHitQueue.Entry
-
- SmallFloat - Class in org.apache.lucene.util
-
Floating point numbers smaller than 32 bits.
- SmallFloat() - Constructor for class org.apache.lucene.util.SmallFloat
-
- snapshot(String) - Method in class org.apache.lucene.index.PersistentSnapshotDeletionPolicy
-
Snapshots the last commit using the given ID.
- snapshot(String) - Method in class org.apache.lucene.index.SnapshotDeletionPolicy
-
Snapshots the last commit.
- SnapshotDeletionPolicy - Class in org.apache.lucene.index
-
- SnapshotDeletionPolicy(IndexDeletionPolicy) - Constructor for class org.apache.lucene.index.SnapshotDeletionPolicy
-
- SnapshotDeletionPolicy(IndexDeletionPolicy, Map<String, String>) - Constructor for class org.apache.lucene.index.SnapshotDeletionPolicy
-
- SnapshotDeletionPolicy.SnapshotCommitPoint - Class in org.apache.lucene.index
-
- SnapshotDeletionPolicy.SnapshotCommitPoint(IndexCommit) - Constructor for class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
-
- 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(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.
- sort(Comparator<BytesRef>) - Method in class org.apache.lucene.util.BytesRefHash
-
Returns the values array sorted by the referenced byte values.
- sortableIntToFloat(int) - Static method in class org.apache.lucene.util.NumericUtils
-
Converts a sortable int
back to a float
.
- sortableLongToDouble(long) - Static method in class org.apache.lucene.util.NumericUtils
-
Converts a sortable long
back to a double
.
- SortedTermVectorMapper - Class in org.apache.lucene.index
-
- SortedTermVectorMapper(Comparator<TermVectorEntry>) - Constructor for class org.apache.lucene.index.SortedTermVectorMapper
-
- SortedTermVectorMapper(boolean, boolean, Comparator<TermVectorEntry>) - Constructor for class org.apache.lucene.index.SortedTermVectorMapper
-
- SortedVIntList - Class in org.apache.lucene.util
-
Stores and iterate on sorted integers in compressed form in RAM.
- SortedVIntList(int...) - Constructor for class org.apache.lucene.util.SortedVIntList
-
Create a SortedVIntList from all elements of an array of integers.
- SortedVIntList(int[], int) - Constructor for class org.apache.lucene.util.SortedVIntList
-
Create a SortedVIntList from an array of integers.
- SortedVIntList(BitSet) - Constructor for class org.apache.lucene.util.SortedVIntList
-
Create a SortedVIntList from a BitSet.
- SortedVIntList(DocIdSetIterator) - Constructor for class org.apache.lucene.util.SortedVIntList
-
Create a SortedVIntList.
- SorterTemplate - Class in org.apache.lucene.util
-
This class was inspired by CGLIB, but provides a better
QuickSort algorithm without additional InsertionSort
at the end.
- SorterTemplate() - Constructor for class org.apache.lucene.util.SorterTemplate
-
- SortField - Class in org.apache.lucene.search
-
Stores information about how to sort documents by terms in an individual
field.
- SortField(String, int) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort by terms in the given field with the type of term
values explicitly given.
- SortField(String, int, boolean) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort, possibly in reverse, by terms in the given field with the
type of term values explicitly given.
- SortField(String, FieldCache.Parser) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort by terms in the given field, parsed
to numeric values using a custom
FieldCache.Parser
.
- SortField(String, FieldCache.Parser, boolean) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort, possibly in reverse, by terms in the given field, parsed
to numeric values using a custom
FieldCache.Parser
.
- SortField(String, Locale) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort by terms in the given field sorted
according to the given locale.
- SortField(String, Locale, boolean) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort, possibly in reverse, by terms in the given field sorted
according to the given locale.
- SortField(String, FieldComparatorSource) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort with a custom comparison function.
- SortField(String, FieldComparatorSource, boolean) - Constructor for class org.apache.lucene.search.SortField
-
Creates a sort, possibly in reverse, with a custom comparison function.
- source - Variable in class org.apache.lucene.analysis.ReusableAnalyzerBase.TokenStreamComponents
-
- SOUTH_EAST_ASIAN_TYPE - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizerImpl
-
Chars in class \p{Line_Break = Complex_Context} are from South East Asian
scripts (Thai, Lao, Myanmar, Khmer, etc.).
- SOUTH_EAST_ASIAN_TYPE - Static variable in class org.apache.lucene.analysis.standard.std31.StandardTokenizerImpl31
-
Deprecated.
Chars in class \p{Line_Break = Complex_Context} are from South East Asian
scripts (Thai, Lao, Myanmar, Khmer, etc.).
- SOUTH_EAST_ASIAN_TYPE - Static variable in class org.apache.lucene.analysis.standard.std31.UAX29URLEmailTokenizerImpl31
-
Deprecated.
Chars in class \p{Line_Break = Complex_Context} are from South East Asian
scripts (Thai, Lao, Myanmar, Khmer, etc.).
- SOUTH_EAST_ASIAN_TYPE - Static variable in class org.apache.lucene.analysis.standard.std34.UAX29URLEmailTokenizerImpl34
-
Deprecated.
Chars in class \p{Line_Break = Complex_Context} are from South East Asian
scripts (Thai, Lao, Myanmar, Khmer, etc.).
- SOUTH_EAST_ASIAN_TYPE - Static variable in class org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer
-
- SOUTH_EAST_ASIAN_TYPE - Static variable in class org.apache.lucene.analysis.standard.UAX29URLEmailTokenizerImpl
-
Chars in class \p{Line_Break = Complex_Context} are from South East Asian
scripts (Thai, Lao, Myanmar, Khmer, etc.).
- SOUTHEAST_ASIAN - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- SOUTHEAST_ASIAN - Static variable in class org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer
-
- 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(DocIdSet, List<SpanFilterResult.PositionInfo>) - 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
.
- SpanMultiTermQueryWrapper<Q extends MultiTermQuery> - Class in org.apache.lucene.search.spans
-
- SpanMultiTermQueryWrapper(Q) - Constructor for class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
-
Create a new SpanMultiTermQueryWrapper.
- SpanMultiTermQueryWrapper.SpanRewriteMethod - Class in org.apache.lucene.search.spans
-
Abstract class that defines how the query is rewritten.
- SpanMultiTermQueryWrapper.SpanRewriteMethod() - Constructor for class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper.SpanRewriteMethod
-
- SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite - Class in org.apache.lucene.search.spans
-
A rewrite method that first translates each term into a SpanTermQuery in a
BooleanClause.Occur.SHOULD
clause in a BooleanQuery, and keeps the
scores as computed by the query.
- SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite(int) - Constructor for class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper.TopTermsSpanBooleanQueryRewrite
-
Create a TopTermsSpanBooleanQueryRewrite for
at most size
terms.
- SpanNearPayloadCheckQuery - Class in org.apache.lucene.search.spans
-
Only return those matches that have a specific payload at
the given position.
- SpanNearPayloadCheckQuery(SpanNearQuery, Collection<byte[]>) - Constructor for class org.apache.lucene.search.spans.SpanNearPayloadCheckQuery
-
- SpanNearQuery - Class in org.apache.lucene.search.spans
-
Matches spans which are near one another.
- SpanNearQuery(SpanQuery[], int, boolean) - Constructor for class org.apache.lucene.search.spans.SpanNearQuery
-
Construct a SpanNearQuery.
- SpanNearQuery(SpanQuery[], int, boolean, boolean) - Constructor for class org.apache.lucene.search.spans.SpanNearQuery
-
- SpanNotQuery - Class in org.apache.lucene.search.spans
-
Removes matches which overlap with another SpanQuery.
- SpanNotQuery(SpanQuery, SpanQuery) - Constructor for class org.apache.lucene.search.spans.SpanNotQuery
-
Construct a SpanNotQuery matching spans from include
which
have no overlap with spans from exclude
.
- SpanOrQuery - Class in org.apache.lucene.search.spans
-
Matches the union of its clauses.
- SpanOrQuery(SpanQuery...) - Constructor for class org.apache.lucene.search.spans.SpanOrQuery
-
Construct a SpanOrQuery merging the provided clauses.
- SpanPayloadCheckQuery - Class in org.apache.lucene.search.spans
-
Only return those matches that have a specific payload at
the given position.
- SpanPayloadCheckQuery(SpanQuery, Collection<byte[]>) - Constructor for class org.apache.lucene.search.spans.SpanPayloadCheckQuery
-
- SpanPositionCheckQuery - Class in org.apache.lucene.search.spans
-
Base class for filtering a SpanQuery based on the position of a match.
- SpanPositionCheckQuery(SpanQuery) - Constructor for class org.apache.lucene.search.spans.SpanPositionCheckQuery
-
- SpanPositionCheckQuery.AcceptStatus - Enum in org.apache.lucene.search.spans
-
Return value if the match should be accepted YES
, rejected NO
,
or rejected and enumeration should advance to the next document NO_AND_ADVANCE
.
- SpanPositionCheckQuery.PositionCheckSpan - Class in org.apache.lucene.search.spans
-
- SpanPositionCheckQuery.PositionCheckSpan(IndexReader) - Constructor for class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
-
- SpanPositionRangeQuery - Class in org.apache.lucene.search.spans
-
- SpanPositionRangeQuery(SpanQuery, int, int) - Constructor for class org.apache.lucene.search.spans.SpanPositionRangeQuery
-
- SpanQuery - Class in org.apache.lucene.search.spans
-
Base class for span-based queries.
- SpanQuery() - Constructor for class org.apache.lucene.search.spans.SpanQuery
-
- SpanQueryFilter - Class in org.apache.lucene.search
-
Constrains search results to only match those which also match a provided
query.
- SpanQueryFilter() - Constructor for class org.apache.lucene.search.SpanQueryFilter
-
- SpanQueryFilter(SpanQuery) - Constructor for class org.apache.lucene.search.SpanQueryFilter
-
Constructs a filter which only matches documents matching
query
.
- Spans - Class in org.apache.lucene.search.spans
-
Expert: an enumeration of span matches.
- Spans() - Constructor for class org.apache.lucene.search.spans.Spans
-
- spans - Variable in class org.apache.lucene.search.spans.SpanScorer
-
- SpanScorer - Class in org.apache.lucene.search.spans
-
Public for extension only.
- SpanScorer(Spans, Weight, Similarity, byte[]) - Constructor for class org.apache.lucene.search.spans.SpanScorer
-
- SpanTermQuery - Class in org.apache.lucene.search.spans
-
Matches spans containing a term.
- SpanTermQuery(Term) - Constructor for class org.apache.lucene.search.spans.SpanTermQuery
-
Construct a SpanTermQuery matching the named term's spans.
- SpanWeight - Class in org.apache.lucene.search.spans
-
Expert-only.
- SpanWeight(SpanQuery, Searcher) - Constructor for class org.apache.lucene.search.spans.SpanWeight
-
- specialConstructor - Variable in exception org.apache.lucene.queryParser.ParseException
-
This variable determines which constructor was used to create
this object and thereby affects the semantics of the
"getMessage" method (see below).
- specialToken - Variable in class org.apache.lucene.queryParser.Token
-
This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
- splitIntRange(NumericUtils.IntRangeBuilder, int, int, int) - Static method in class org.apache.lucene.util.NumericUtils
-
Expert: Splits an int range recursively.
- splitLongRange(NumericUtils.LongRangeBuilder, int, long, long) - Static method in class org.apache.lucene.util.NumericUtils
-
Expert: Splits a long range recursively.
- staleFiles - Variable in class org.apache.lucene.store.FSDirectory
-
- 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(Version, Set<?>) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Builds an analyzer with the given stop words.
- StandardAnalyzer(Version) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- StandardAnalyzer(Version, File) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- StandardAnalyzer(Version, Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
-
Builds an analyzer with the stop words from the given reader.
- StandardFilter - Class in org.apache.lucene.analysis.standard
-
- StandardFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.standard.StandardFilter
-
- StandardFilter(Version, TokenStream) - Constructor for class org.apache.lucene.analysis.standard.StandardFilter
-
- StandardTokenizer - Class in org.apache.lucene.analysis.standard
-
A grammar-based tokenizer constructed with JFlex.
- StandardTokenizer(Version, Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
-
- StandardTokenizer(Version, AttributeSource, Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
-
- StandardTokenizer(Version, AttributeSource.AttributeFactory, Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
-
- StandardTokenizerImpl - Class in org.apache.lucene.analysis.standard
-
This class implements Word Break rules from the Unicode Text Segmentation
algorithm, as specified in
Unicode Standard Annex #29
Tokens produced are of the following types:
<ALPHANUM>: A sequence of alphabetic and numeric characters
<NUM>: A number
<SOUTHEAST_ASIAN>: A sequence of characters from South and Southeast
Asian languages, including Thai, Lao, Myanmar, and Khmer
<IDEOGRAPHIC>: A single CJKV ideographic character
<HIRAGANA>: A single hiragana character
- StandardTokenizerImpl(Reader) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizerImpl
-
Creates a new scanner
There is also a java.io.InputStream version of this constructor.
- StandardTokenizerImpl(InputStream) - Constructor for class org.apache.lucene.analysis.standard.StandardTokenizerImpl
-
Creates a new scanner.
- StandardTokenizerImpl31 - Class in org.apache.lucene.analysis.standard.std31
-
Deprecated.
This class is only for exact backwards compatibility
- StandardTokenizerImpl31(Reader) - Constructor for class org.apache.lucene.analysis.standard.std31.StandardTokenizerImpl31
-
Deprecated.
Creates a new scanner
There is also a java.io.InputStream version of this constructor.
- StandardTokenizerImpl31(InputStream) - Constructor for class org.apache.lucene.analysis.standard.std31.StandardTokenizerImpl31
-
Deprecated.
Creates a new scanner.
- StandardTokenizerInterface - Interface in org.apache.lucene.analysis.standard
-
Internal interface for supporting versioned grammars.
- STAR - Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
RegularExpression Id.
- start() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
-
- start() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
-
- start() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
-
- start - Variable in class org.apache.lucene.search.spans.SpanPositionRangeQuery
-
- start() - Method in class org.apache.lucene.search.spans.Spans
-
Returns the start position of the current match.
- start() - Method in class org.apache.lucene.search.spans.TermSpans
-
- startOffset() - Method in class org.apache.lucene.analysis.Token
-
Returns this Token's starting offset, the position of the first character
corresponding to this token in the source text.
- startOffset() - Method in interface org.apache.lucene.analysis.tokenattributes.OffsetAttribute
-
Returns this Token's starting offset, the position of the first character
corresponding to this token in the source text.
- startOffset() - Method in class org.apache.lucene.analysis.tokenattributes.OffsetAttributeImpl
-
Returns this Token's starting offset, the position of the first character
corresponding to this token in the source text.
- starts - Variable in class org.apache.lucene.index.MultiReader
-
- startsWith(BytesRef) - Method in class org.apache.lucene.util.BytesRef
-
- STOP_WORDS_SET - Static variable in class org.apache.lucene.analysis.standard.ClassicAnalyzer
-
An unmodifiable set containing some common English words that are usually not
useful for searching.
- STOP_WORDS_SET - Static variable in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
An unmodifiable set containing some common English words that are usually not
useful for searching.
- STOP_WORDS_SET - Static variable in class org.apache.lucene.analysis.standard.UAX29URLEmailAnalyzer
-
An unmodifiable set containing some common English words that are usually not
useful for searching.
- StopAnalyzer - Class in org.apache.lucene.analysis
-
- StopAnalyzer(Version) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
-
- StopAnalyzer(Version, Set<?>) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
-
Builds an analyzer with the stop words from the given set.
- StopAnalyzer(Version, File) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
-
Builds an analyzer with the stop words from the given file.
- StopAnalyzer(Version, Reader) - Constructor for class org.apache.lucene.analysis.StopAnalyzer
-
Builds an analyzer with the stop words from the given reader.
- StopFilter - Class in org.apache.lucene.analysis
-
Removes stop words from a token stream.
- StopFilter(boolean, TokenStream, Set<?>, boolean) - Constructor for class org.apache.lucene.analysis.StopFilter
-
- StopFilter(Version, TokenStream, Set<?>, boolean) - Constructor for class org.apache.lucene.analysis.StopFilter
-
- StopFilter(boolean, TokenStream, Set<?>) - Constructor for class org.apache.lucene.analysis.StopFilter
-
- StopFilter(Version, 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.
- stopTimer() - Method in class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
Stops the timer thread
- StopwordAnalyzerBase - Class in org.apache.lucene.analysis
-
Base class for Analyzers that need to make use of stopword sets.
- StopwordAnalyzerBase(Version, Set<?>) - Constructor for class org.apache.lucene.analysis.StopwordAnalyzerBase
-
Creates a new instance initialized with the given stopword set
- StopwordAnalyzerBase(Version) - Constructor for class org.apache.lucene.analysis.StopwordAnalyzerBase
-
Creates a new Analyzer with an empty stopword set
- stopwords - Variable in class org.apache.lucene.analysis.StopwordAnalyzerBase
-
An immutable stopword set
- STORE_INDEX_EXTENSIONS - Static variable in class org.apache.lucene.index.IndexFileNames
-
- storedFieldStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Status for testing of stored fields (null if stored fields could not be tested).
- storeOffsetWithTermVector - Variable in class org.apache.lucene.document.AbstractField
-
- storePayloads - Variable in class org.apache.lucene.index.FieldInfo
-
- storePositionWithTermVector - Variable in class org.apache.lucene.document.AbstractField
-
- storeTermVector - Variable in class org.apache.lucene.document.AbstractField
-
- storeTermVector - Variable in class org.apache.lucene.index.FieldInfo
-
- STR_SIZE - Static variable in class org.apache.lucene.document.NumberTools
-
Deprecated.
- STRING - Static variable in class org.apache.lucene.search.SortField
-
Sort using term values as Strings.
- STRING_INDEX - Static variable in interface org.apache.lucene.search.FieldCache
-
Indicator for StringIndex values in the cache.
- STRING_VAL - Static variable in class org.apache.lucene.search.SortField
-
Sort using term values as Strings, but comparing by
value (using String.compareTo) for all comparisons.
- StringHelper - Class in org.apache.lucene.util
-
Methods for manipulating strings.
- StringInterner - Class in org.apache.lucene.util
-
Subclasses of StringInterner are required to
return the same single String object for all equal strings.
- StringInterner() - Constructor for class org.apache.lucene.util.StringInterner
-
- stringIterator() - Method in class org.apache.lucene.analysis.CharArraySet
-
- stringToDate(String) - Static method in class org.apache.lucene.document.DateField
-
Deprecated.
Converts a string-encoded date into a Date object.
- stringToDate(String) - Static method in class org.apache.lucene.document.DateTools
-
Converts a string produced by timeToString
or
dateToString
back to a time, represented as a
Date object.
- stringToLong(String) - Static method in class org.apache.lucene.document.NumberTools
-
Deprecated.
- stringToTime(String) - Static method in class org.apache.lucene.document.DateField
-
Deprecated.
Converts a string-encoded date into a millisecond time.
- stringToTime(String) - Static method in class org.apache.lucene.document.DateTools
-
Converts a string produced by timeToString
or
dateToString
back to a time, represented as the
number of milliseconds since January 1, 1970, 00:00:00 GMT.
- stringValue() - Method in class org.apache.lucene.document.Field
-
The value of the field as a String, or null.
- stringValue() - Method in interface org.apache.lucene.document.Fieldable
-
The value of the field as a String, or null.
- stringValue() - Method in class org.apache.lucene.document.NumericField
-
Returns the numeric value as a string.
- stripSegmentName(String) - Static method in class org.apache.lucene.index.IndexFileNames
-
Strips the segment file name out of the given one.
- 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
-
Deprecated.
Returns the document number of document n
within its
sub-index.
- subIndex(int, int[]) - Static method in class org.apache.lucene.util.ReaderUtil
-
Returns index of the searcher/reader for document n
in the
array used to construct this searcher/reader.
- SUBREADER - Static variable in class org.apache.lucene.util.FieldCacheSanityChecker.InsanityType
-
Indicates an overlap in cache usage on a given field
in sub/super readers.
- subReaders - Variable in class org.apache.lucene.index.MultiReader
-
- subReaders - Variable in class org.apache.lucene.search.IndexSearcher
-
- subSearcher(int) - Method in class org.apache.lucene.search.MultiSearcher
-
Deprecated.
Returns index of the searcher for document n
in the array
used to construct this searcher.
- subSearchers - Variable in class org.apache.lucene.search.IndexSearcher
-
- subSequence(int, int) - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
- subSequence(int, int) - Method in class org.apache.lucene.util.CharsRef
-
- subtract(BytesRef, BytesRef) - Method in class org.apache.lucene.util.fst.ByteSequenceOutputs
-
- subtract(IntsRef, IntsRef) - Method in class org.apache.lucene.util.fst.IntSequenceOutputs
-
- subtract(Object, Object) - Method in class org.apache.lucene.util.fst.NoOutputs
-
- subtract(T, T) - Method in class org.apache.lucene.util.fst.Outputs
-
Eg subtract("foobar", "foo") -> "bar"
- subtract(PairOutputs.Pair<A, B>, PairOutputs.Pair<A, B>) - Method in class org.apache.lucene.util.fst.PairOutputs
-
- subtract(Long, Long) - Method in class org.apache.lucene.util.fst.PositiveIntOutputs
-
- subtract(Object, Object) - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs
-
- sumOfSquaredWeights() - Method in class org.apache.lucene.search.BooleanQuery.BooleanWeight
-
- sumOfSquaredWeights() - Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- sumOfSquaredWeights() - Method in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
-
Compute the sub of squared weights of us applied to our subqueries.
- sumOfSquaredWeights() - Method in class org.apache.lucene.search.spans.SpanWeight
-
- sumOfSquaredWeights() - Method in class org.apache.lucene.search.Weight
-
The sum of squared weights of contained query clauses.
- SUN_OS - Static variable in class org.apache.lucene.util.Constants
-
True iff running on SunOS.
- swap(int, int) - Method in class org.apache.lucene.util.SorterTemplate
-
Implement this method, that swaps slots i
and j
in your data
- SwitchTo(int) - Method in class org.apache.lucene.queryParser.QueryParserTokenManager
-
Switch to specified lex state.
- sync() - Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
Wait for any running merge threads to finish
- sync(String) - Method in class org.apache.lucene.store.Directory
-
- sync(Collection<String>) - Method in class org.apache.lucene.store.Directory
-
Ensure that any writes to these files are moved to
stable storage.
- sync(String) - Method in class org.apache.lucene.store.FileSwitchDirectory
-
Deprecated.
- sync(Collection<String>) - Method in class org.apache.lucene.store.FileSwitchDirectory
-
- sync(String) - Method in class org.apache.lucene.store.FSDirectory
-
Deprecated.
- sync(Collection<String>) - Method in class org.apache.lucene.store.FSDirectory
-
- sync(Collection<String>) - Method in class org.apache.lucene.store.NRTCachingDirectory
-
- target - Variable in class org.apache.lucene.util.fst.Builder.Arc
-
- target - Variable in class org.apache.lucene.util.fst.FST.Arc
-
- targetHasArcs(FST.Arc<T>) - Static method in class org.apache.lucene.util.fst.FST
-
- TeeSinkTokenFilter - Class in org.apache.lucene.analysis
-
This TokenFilter provides the ability to set aside attribute states
that have already been analyzed.
- TeeSinkTokenFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.TeeSinkTokenFilter
-
Instantiates a new TeeSinkTokenFilter.
- TeeSinkTokenFilter.SinkFilter - Class in org.apache.lucene.analysis
-
- TeeSinkTokenFilter.SinkFilter() - Constructor for class org.apache.lucene.analysis.TeeSinkTokenFilter.SinkFilter
-
- TeeSinkTokenFilter.SinkTokenStream - Class in org.apache.lucene.analysis
-
TokenStream output from a tee with optional filtering.
- term() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
Deprecated.
- term() - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
-
Deprecated.
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
-
- term - Variable in class org.apache.lucene.search.spans.SpanTermQuery
-
- term - Variable in class org.apache.lucene.search.spans.TermSpans
-
- term - Variable in class org.apache.lucene.search.WildcardQuery
-
- TermAttribute - Interface in org.apache.lucene.analysis.tokenattributes
-
- TermAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
-
Deprecated.
This class is not used anymore. The backwards layer in
AttributeFactory uses the replacement implementation.
- TermAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
-
Deprecated.
- termBuffer() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
Deprecated.
- termBuffer() - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
-
Deprecated.
Returns the internal termBuffer character array which
you can then directly alter.
- termCompare(Term) - Method in class org.apache.lucene.search.FilteredTermEnum
-
Equality compare on the term
- termCompare(Term) - Method in class org.apache.lucene.search.FuzzyTermEnum
-
The termCompare method in FuzzyTermEnum uses Levenshtein distance to
calculate the distance between the given term and the comparing term.
- termCompare(Term) - Method in class org.apache.lucene.search.PrefixTermEnum
-
- termCompare(Term) - Method in class org.apache.lucene.search.SingleTermEnum
-
- termCompare(Term) - Method in class org.apache.lucene.search.TermRangeTermEnum
-
- termCompare(Term) - Method in class org.apache.lucene.search.WildcardTermEnum
-
- termCount - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
-
Total term count
- termDocs() - Method in class org.apache.lucene.index.FilterIndexReader
-
- termDocs(Term) - Method in class org.apache.lucene.index.FilterIndexReader
-
- termDocs(Term) - Method in class org.apache.lucene.index.IndexReader
-
Returns an enumeration of all the documents which contain
term
.
- termDocs() - Method in class org.apache.lucene.index.IndexReader
-
Returns an unpositioned
TermDocs
enumerator.
- termDocs() - Method in class org.apache.lucene.index.MultiReader
-
- termDocs(Term) - Method in class org.apache.lucene.index.MultiReader
-
- termDocs(Term) - Method in class org.apache.lucene.index.ParallelReader
-
- termDocs() - Method in class org.apache.lucene.index.ParallelReader
-
- termDocs(Term) - Method in class org.apache.lucene.index.SegmentReader
-
- termDocs() - Method in class org.apache.lucene.index.SegmentReader
-
- TermDocs - Interface in org.apache.lucene.index
-
TermDocs provides an interface for enumerating <document, frequency>
pairs for a term.
- TermEnum - Class in org.apache.lucene.index
-
Abstract class for enumerating terms.
- TermEnum() - Constructor for class org.apache.lucene.index.TermEnum
-
- TermFreqVector - Interface in org.apache.lucene.index
-
Provides access to stored term vector of
a document field.
- termIndexInterval - Variable in class org.apache.lucene.index.SegmentWriteState
-
Expert: The fraction of terms in the "dictionary" which should be stored
in RAM.
- termIndexStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Status for testing of indexed terms (null if indexed terms could not be tested).
- termLength() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
Deprecated.
- termLength() - Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
-
Deprecated.
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() - Method in class org.apache.lucene.index.ParallelReader
-
- termPositions() - Method in class org.apache.lucene.index.SegmentReader
-
- TermPositions - Interface in org.apache.lucene.index
-
TermPositions provides an interface for enumerating the <document,
frequency, <position>* > tuples for a term.
- TermPositionVector - Interface in org.apache.lucene.index
-
Extends TermFreqVector
to provide additional information about
positions in which each of the terms is found.
- TermQuery - Class in org.apache.lucene.search
-
A Query that matches documents containing a term.
- TermQuery(Term) - Constructor for class org.apache.lucene.search.TermQuery
-
Constructs a query for the term t
.
- TermRangeFilter - Class in org.apache.lucene.search
-
A Filter that restricts search results to a range of term
values in a given field.
- TermRangeFilter(String, String, String, boolean, boolean) - Constructor for class org.apache.lucene.search.TermRangeFilter
-
- TermRangeFilter(String, String, String, boolean, boolean, Collator) - Constructor for class org.apache.lucene.search.TermRangeFilter
-
WARNING: Using this constructor and supplying a non-null
value in the collator
parameter will cause every single
index Term in the Field referenced by lowerTerm and/or upperTerm to be
examined.
- TermRangeQuery - Class in org.apache.lucene.search
-
A Query that matches documents within an range of terms.
- TermRangeQuery(String, String, String, boolean, boolean) - Constructor for class org.apache.lucene.search.TermRangeQuery
-
Constructs a query selecting all terms greater/equal than lowerTerm
but less/equal than upperTerm
.
- TermRangeQuery(String, String, String, boolean, boolean, Collator) - Constructor for class org.apache.lucene.search.TermRangeQuery
-
Constructs a query selecting all terms greater/equal than
lowerTerm
but less/equal than upperTerm
.
- TermRangeTermEnum - Class in org.apache.lucene.search
-
Subclass of FilteredTermEnum for enumerating all terms that match the
specified range parameters.
- TermRangeTermEnum(IndexReader, String, String, String, boolean, boolean, Collator) - Constructor for class org.apache.lucene.search.TermRangeTermEnum
-
Enumerates all terms greater/equal than lowerTerm
but less/equal than upperTerm
.
- terms() - Method in class org.apache.lucene.index.FilterIndexReader
-
- terms(Term) - Method in class org.apache.lucene.index.FilterIndexReader
-
- terms() - Method in class org.apache.lucene.index.IndexReader
-
Returns an enumeration of all the terms in the index.
- terms(Term) - Method in class org.apache.lucene.index.IndexReader
-
Returns an enumeration of all terms starting at a given term.
- terms() - Method in class org.apache.lucene.index.MultiReader
-
- terms(Term) - Method in class org.apache.lucene.index.MultiReader
-
- terms() - Method in class org.apache.lucene.index.ParallelReader
-
- terms(Term) - Method in class org.apache.lucene.index.ParallelReader
-
- terms() - Method in class org.apache.lucene.index.SegmentReader
-
- terms(Term) - Method in class org.apache.lucene.index.SegmentReader
-
- terms - Variable in class org.apache.lucene.search.spans.SpanWeight
-
- TERMS_EXTENSION - Static variable in class org.apache.lucene.index.IndexFileNames
-
Extension of terms file
- TERMS_INDEX_EXTENSION - Static variable in class org.apache.lucene.index.IndexFileNames
-
Extension of terms index file
- 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
-
- 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
-
- termVectorStatus - Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
-
Status for testing of term vectors (null if term vectors could not be tested).
- text() - Method in class org.apache.lucene.index.Term
-
Returns the text of this term.
- tf(float) - Method in class org.apache.lucene.search.DefaultSimilarity
-
Implemented as sqrt(freq)
.
- tf(int) - Method in class org.apache.lucene.search.Similarity
-
Computes a score factor based on a term or phrase's frequency in a
document.
- tf(float) - Method in class org.apache.lucene.search.Similarity
-
Computes a score factor based on a term or phrase's frequency in a
document.
- tf(float) - Method in class org.apache.lucene.search.SimilarityDelegator
-
Deprecated.
- THREAD_NAME - Static variable in class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
- ThreadInterruptedException - Exception in org.apache.lucene.util
-
Thrown by lucene on detecting that Thread.interrupt() had
been called.
- ThreadInterruptedException(InterruptedException) - Constructor for exception org.apache.lucene.util.ThreadInterruptedException
-
- TieredMergePolicy - Class in org.apache.lucene.index
-
Merges segments of approximately equal size, subject to
an allowed number of segments per tier.
- TieredMergePolicy() - Constructor for class org.apache.lucene.index.TieredMergePolicy
-
- TieredMergePolicy.MergeScore - Class in org.apache.lucene.index
-
Holds score and explanation for a single candidate
merge.
- TieredMergePolicy.MergeScore() - Constructor for class org.apache.lucene.index.TieredMergePolicy.MergeScore
-
- TimeLimitingCollector - Class in org.apache.lucene.search
-
The
TimeLimitingCollector
is used to timeout search requests that
take longer than the maximum allowed search time limit.
- TimeLimitingCollector(Collector, Counter, long) - Constructor for class org.apache.lucene.search.TimeLimitingCollector
-
Create a TimeLimitedCollector wrapper over another
Collector
with a specified timeout.
- TimeLimitingCollector.TimeExceededException - Exception in org.apache.lucene.search
-
Thrown when elapsed search time exceeds allowed search time.
- TimeLimitingCollector.TimerThread - Class in org.apache.lucene.search
-
- TimeLimitingCollector.TimerThread(long, Counter) - Constructor for class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
- TimeLimitingCollector.TimerThread(Counter) - Constructor for class org.apache.lucene.search.TimeLimitingCollector.TimerThread
-
- timestamp - Variable in class org.apache.lucene.search.FilterManager.FilterItem
-
Deprecated.
- 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.
- toBytesRef(IntsRef, BytesRef) - Static method in class org.apache.lucene.util.fst.Util
-
Just converts IntsRef to BytesRef; you must ensure the
int values fit into a byte.
- toDot(FST<T>, Writer, boolean, boolean) - Static method in class org.apache.lucene.util.fst.Util
-
Dumps an
FST
to a GraphViz's
dot
language description
for visualization.
- toHtml() - Method in class org.apache.lucene.search.Explanation
-
Render an explanation as HTML.
- toIndex(boolean, boolean) - Static method in enum org.apache.lucene.document.Field.Index
-
Get the best representation of the index given the flags.
- toIndex(boolean, boolean, boolean) - Static method in enum org.apache.lucene.document.Field.Index
-
Expert: Get the best representation of the index given the flags.
- toIntArray(Collection<Integer>) - Static method in class org.apache.lucene.util.ArrayUtil
-
- toIntsRef(BytesRef, IntsRef) - Static method in class org.apache.lucene.util.fst.Util
-
Just takes unsigned byte values from the BytesRef and
converts into an IntsRef.
- Token - Class in org.apache.lucene.analysis
-
A Token is an occurrence of a term from the text of a field.
- Token() - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token will null text.
- Token(int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with null text and start & end
offsets.
- Token(int, int, String) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with null text and start & end
offsets plus the Token type.
- Token(int, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with null text and start & end
offsets plus flags.
- Token(String, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with the given term text, and start
& end offsets.
- Token(String, int, int, String) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with the given text, start and end
offsets, & type.
- Token(String, int, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with the given text, start and end
offsets, & type.
- Token(char[], int, int, int, int) - Constructor for class org.apache.lucene.analysis.Token
-
Constructs a Token with the given term buffer (offset
& length), start and end
offsets
- token - Variable in class org.apache.lucene.queryParser.QueryParser
-
Current token.
- Token - Class in org.apache.lucene.queryParser
-
Describes the input token stream.
- Token() - Constructor for class org.apache.lucene.queryParser.Token
-
No-argument constructor
- Token(int) - Constructor for class org.apache.lucene.queryParser.Token
-
Constructs a new token for the specified Image.
- Token(int, String) - Constructor for class org.apache.lucene.queryParser.Token
-
Constructs a new token for the specified Image and Kind.
- Token.TokenAttributeFactory - Class in org.apache.lucene.analysis
-
Expert: Creates a TokenAttributeFactory returning
Token
as instance for the basic attributes
and for all other attributes calls the given delegate factory.
- Token.TokenAttributeFactory(AttributeSource.AttributeFactory) - Constructor for class org.apache.lucene.analysis.Token.TokenAttributeFactory
-
Expert: Creates an AttributeFactory returning
Token
as instance for the basic attributes
and for all other attributes calls the given delegate factory.
- TOKEN_ATTRIBUTE_FACTORY - Static variable in class org.apache.lucene.analysis.Token
-
Convenience factory that returns Token
as implementation for the basic
attributes and return the default impl (with "Impl" appended) for all other
attributes.
- token_source - Variable in class org.apache.lucene.queryParser.QueryParser
-
Generated Token Manager.
- TOKEN_TYPE_FULL_PREC - Static variable in class org.apache.lucene.analysis.NumericTokenStream
-
The full precision token gets this token type assigned.
- TOKEN_TYPE_LOWER_PREC - Static variable in class org.apache.lucene.analysis.NumericTokenStream
-
The lower precision tokens gets this token type assigned.
- TOKEN_TYPES - Static variable in class org.apache.lucene.analysis.standard.ClassicTokenizer
-
String token types that correspond to token type int constants
- TOKEN_TYPES - Static variable in class org.apache.lucene.analysis.standard.StandardTokenizer
-
String token types that correspond to token type int constants
- TOKEN_TYPES - Static variable in class org.apache.lucene.analysis.standard.UAX29URLEmailTokenizer
-
String token types that correspond to token type int constants
- TokenFilter - Class in org.apache.lucene.analysis
-
A TokenFilter is a TokenStream whose input is another TokenStream.
- TokenFilter(TokenStream) - Constructor for class org.apache.lucene.analysis.TokenFilter
-
Construct a token stream filtering the given input.
- tokenImage - 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.
- 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
-
- Tokenizer(Reader) - Constructor for class org.apache.lucene.analysis.Tokenizer
-
Construct a token stream processing the given input.
- Tokenizer(AttributeSource.AttributeFactory) - Constructor for class org.apache.lucene.analysis.Tokenizer
-
- Tokenizer(AttributeSource.AttributeFactory, Reader) - Constructor for class org.apache.lucene.analysis.Tokenizer
-
Construct a token stream processing the given input using the given AttributeFactory.
- Tokenizer(AttributeSource) - Constructor for class org.apache.lucene.analysis.Tokenizer
-
- Tokenizer(AttributeSource, Reader) - Constructor for class org.apache.lucene.analysis.Tokenizer
-
Construct a token stream processing the given input using the given AttributeSource.
- TokenMgrError - Error in org.apache.lucene.queryParser
-
Token Manager Error.
- TokenMgrError() - Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
No arg constructor.
- TokenMgrError(String, int) - Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
Constructor with message and reason.
- TokenMgrError(boolean, int, int, int, String, char, int) - Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
Full Constructor.
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.Analyzer
-
Creates a TokenStream which tokenizes all the text in the provided
Reader.
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.LimitTokenCountAnalyzer
-
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
-
- tokenStream(String, Reader) - Method in class org.apache.lucene.analysis.ReusableAnalyzerBase
-
- TokenStream - Class in org.apache.lucene.analysis
-
A
TokenStream
enumerates the sequence of tokens, either from
Field
s of a
Document
or from query text.
- TokenStream() - Constructor for class org.apache.lucene.analysis.TokenStream
-
A TokenStream using the default attribute factory.
- TokenStream(AttributeSource) - Constructor for class org.apache.lucene.analysis.TokenStream
-
A TokenStream that uses the same attributes as the supplied one.
- TokenStream(AttributeSource.AttributeFactory) - Constructor for class org.apache.lucene.analysis.TokenStream
-
A TokenStream using the supplied AttributeFactory for creating new
Attribute
instances.
- tokenStream(String, Reader) - Method in class org.apache.lucene.collation.CollationKeyAnalyzer
-
- tokenStream - Variable in class org.apache.lucene.document.AbstractField
-
- tokenStreamValue() - Method in class org.apache.lucene.document.Field
-
The TokesStream for this field to be used when indexing, or null.
- tokenStreamValue() - Method in interface org.apache.lucene.document.Fieldable
-
The TokenStream for this field to be used when indexing, or null.
- tokenStreamValue() - Method in class org.apache.lucene.document.NumericField
-
- 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.
- TopDocs - Class in org.apache.lucene.search
-
- TopDocs(int, ScoreDoc[], float) - Constructor for class org.apache.lucene.search.TopDocs
-
- topDocs() - Method in class org.apache.lucene.search.TopDocsCollector
-
Returns the top docs that were collected by this collector.
- topDocs(int) - Method in class org.apache.lucene.search.TopDocsCollector
-
Returns the documents in the rage [start ..
- topDocs(int, int) - Method in class org.apache.lucene.search.TopDocsCollector
-
Returns the documents in the rage [start ..
- TopDocsCollector<T extends ScoreDoc> - Class in org.apache.lucene.search
-
A base class for all collectors that return a
TopDocs
output.
- TopDocsCollector(PriorityQueue<T>) - Constructor for class org.apache.lucene.search.TopDocsCollector
-
- topDocsSize() - Method in class org.apache.lucene.search.TopDocsCollector
-
The number of valid PQ entries
- TopFieldCollector - Class in org.apache.lucene.search
-
- TopFieldDocs - Class in org.apache.lucene.search
-
- TopFieldDocs(int, ScoreDoc[], SortField[], float) - Constructor for class org.apache.lucene.search.TopFieldDocs
-
Creates one of these objects.
- TopLevelQuery(String) - Method in class org.apache.lucene.queryParser.QueryParser
-
- topNextAndAdjustElsePop() - Method in class org.apache.lucene.util.ScorerDocQueue
-
- topScore() - Method in class org.apache.lucene.util.ScorerDocQueue
-
- TopScoreDocCollector - Class in org.apache.lucene.search
-
A
Collector
implementation that collects the top-scoring hits,
returning them as a
TopDocs
.
- topSkipToAndAdjustElsePop(int) - Method in class org.apache.lucene.util.ScorerDocQueue
-
- TopTermsRewrite<Q extends Query> - Class in org.apache.lucene.search
-
Base rewrite method for collecting only the top terms
via a priority queue.
- TopTermsRewrite(int) - Constructor for class org.apache.lucene.search.TopTermsRewrite
-
Create a TopTermsBooleanQueryRewrite for
at most size
terms.
- toString() - Method in class org.apache.lucene.analysis.CharArrayMap
-
- toString() - Method in class org.apache.lucene.analysis.CharArraySet
-
- toString() - Method in class org.apache.lucene.analysis.LimitTokenCountAnalyzer
-
- toString() - Method in class org.apache.lucene.analysis.NumericTokenStream
-
- toString() - Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
-
- toString() - Method in class org.apache.lucene.analysis.tokenattributes.CharTermAttributeImpl
-
Returns solely the term text as specified by the
CharSequence
interface.
- toString() - Method in class org.apache.lucene.document.AbstractField
-
Prints a Field for human consumption.
- toString() - Method in enum org.apache.lucene.document.DateTools.Resolution
-
this method returns the name of the resolution
in lowercase (for backwards compatibility)
- 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.FilterIndexReader
- toString() - Method in class org.apache.lucene.index.IndexReader
- toString() - Method in class org.apache.lucene.index.IndexWriter.MaxFieldLength
-
Deprecated.
- toString() - Method in class org.apache.lucene.index.IndexWriterConfig
-
- toString() - Method in class org.apache.lucene.index.LogMergePolicy
-
- toString() - Method in class org.apache.lucene.index.NoMergePolicy
-
- toString() - Method in class org.apache.lucene.index.ParallelReader
- toString() - Method in class org.apache.lucene.index.SegmentInfo
- toString(Directory, int) - Method in class org.apache.lucene.index.SegmentInfo
-
Used for debugging.
- toString(Directory) - Method in class org.apache.lucene.index.SegmentInfos
-
- toString() - Method in class org.apache.lucene.index.SegmentReader
- toString() - Method in class org.apache.lucene.index.SnapshotDeletionPolicy.SnapshotCommitPoint
-
- 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.index.TieredMergePolicy
-
- toString() - Method in class org.apache.lucene.index.UpgradeIndexMergePolicy
-
- toString() - Method in class org.apache.lucene.queryParser.Token
-
Returns the image.
- 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
-
- toString(String) - Method in class org.apache.lucene.search.DisjunctionMaxQuery
-
Prettyprint us.
- toString() - Method in class org.apache.lucene.search.Explanation
-
Render an explanation as text.
- toString(int) - Method in class org.apache.lucene.search.Explanation
-
- toString() - Method in class org.apache.lucene.search.FieldCache.CacheEntry
-
- toString() - Method in class org.apache.lucene.search.FieldCacheRangeFilter
-
- toString() - Method in class org.apache.lucene.search.FieldDoc
-
- toString() - Method in class org.apache.lucene.search.FieldValueFilter
-
- toString() - Method in class org.apache.lucene.search.FieldValueHitQueue.Entry
-
- toString(String) - Method in class org.apache.lucene.search.FilteredQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.function.CustomScoreQuery
-
- toString(int) - Method in class org.apache.lucene.search.function.DocValues
-
Return a string representation of a doc value, as required for Explanations.
- toString() - Method in class org.apache.lucene.search.function.FieldScoreQuery.Type
-
- toString() - Method in class org.apache.lucene.search.function.ValueSource
-
- toString(String) - Method in class org.apache.lucene.search.function.ValueSourceQuery
-
- toString(String) - Method in class org.apache.lucene.search.FuzzyQuery
-
- toString() - Method in class org.apache.lucene.search.IndexSearcher
-
- 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() - Method in class org.apache.lucene.search.MultiTermQueryWrapperFilter
-
- toString(String) - Method in class org.apache.lucene.search.NumericRangeQuery
-
- toString(String) - Method in class org.apache.lucene.search.payloads.PayloadNearQuery
-
- toString(String) - Method in class org.apache.lucene.search.PhraseQuery
-
Prints a user-readable version of this query.
- toString() - Method in class org.apache.lucene.search.PrefixFilter
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.PrefixQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.Query
-
Prints a query to a string, with field
assumed to be the
default field and omitted.
- toString() - Method in class org.apache.lucene.search.Query
-
Prints a query to a string.
- toString() - Method in class org.apache.lucene.search.QueryTermVector
-
- toString() - Method in class org.apache.lucene.search.QueryWrapperFilter
-
- toString() - Method in class org.apache.lucene.search.ScoreDoc
-
- toString() - Method in class org.apache.lucene.search.Sort
-
- toString() - Method in class org.apache.lucene.search.SortField
-
- toString() - Method in class org.apache.lucene.search.SpanQueryFilter
-
- toString(String) - Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
-
- toString() - Method in class org.apache.lucene.search.spans.NearSpansOrdered
-
- toString() - Method in class org.apache.lucene.search.spans.NearSpansUnordered
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanFirstQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanMultiTermQueryWrapper
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanNearPayloadCheckQuery
-
- 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.SpanPayloadCheckQuery
-
- toString() - Method in class org.apache.lucene.search.spans.SpanPositionCheckQuery.PositionCheckSpan
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanPositionRangeQuery
-
- toString(String) - Method in class org.apache.lucene.search.spans.SpanTermQuery
-
- toString() - Method in class org.apache.lucene.search.spans.TermSpans
-
- toString(String) - Method in class org.apache.lucene.search.TermQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.TermRangeQuery
-
Prints a user-readable version of this query.
- toString(String) - Method in class org.apache.lucene.search.WildcardQuery
-
Prints a user-readable version of this query.
- toString() - Method in class org.apache.lucene.store.Directory
-
- toString() - Method in class org.apache.lucene.store.FSDirectory
-
For debug output.
- toString() - Method in class org.apache.lucene.store.IndexInput
-
- toString() - Method in class org.apache.lucene.store.NRTCachingDirectory
-
- toString() - Method in class org.apache.lucene.util.AttributeImpl
-
Returns a string representation of the object.
- toString() - Method in class org.apache.lucene.util.AttributeSource
-
Returns a string representation of the object.
- toString() - Method in class org.apache.lucene.util.BytesRef
-
Returns hex encoded bytes, eg [0x6c 0x75 0x63 0x65 0x6e 0x65]
- toString() - Method in class org.apache.lucene.util.CharsRef
-
- toString() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.Insanity
-
Multi-Line representation of this Insanity object, starting with
the Type and Msg, followed by each CacheEntry.toString() on it's
own line prefaced by a tab character
- toString() - Method in class org.apache.lucene.util.FieldCacheSanityChecker.InsanityType
-
- toString() - Method in class org.apache.lucene.util.fst.FST.Arc
-
- toString() - Method in class org.apache.lucene.util.fst.PairOutputs
-
- toString() - Method in class org.apache.lucene.util.fst.PositiveIntOutputs
-
- toString() - Method in class org.apache.lucene.util.fst.UpToTwoPositiveIntOutputs.TwoLongs
-
- toString() - Method in class org.apache.lucene.util.IntsRef
-
- toString() - Method in class org.apache.lucene.util.Parameter
-
Deprecated.
- toString() - Method in enum org.apache.lucene.util.RamUsageEstimator.JvmFeature
-
- ToStringUtils - Class in org.apache.lucene.util
-
- totalBytesSize() - Method in class org.apache.lucene.index.MergePolicy.OneMerge
-
Returns the total size in bytes of this merge.
- totalDocCount - Variable in class org.apache.lucene.index.MergePolicy.OneMerge
-
- totalDocCount() - Method in class org.apache.lucene.index.SegmentInfos
-
Returns sum of all segment's docCounts.
- TotalHitCountCollector - Class in org.apache.lucene.search
-
Just counts the total number of hits.
- TotalHitCountCollector() - Constructor for class org.apache.lucene.search.TotalHitCountCollector
-
- totalHits - Variable in class org.apache.lucene.search.TopDocs
-
The total number of hits for the query.
- totalHits - Variable in class org.apache.lucene.search.TopDocsCollector
-
The total number of documents that the collector encountered.
- totalNumDocs() - Method in class org.apache.lucene.index.MergePolicy.OneMerge
-
Returns the total number of documents that are included with this merge.
- toTermVector(boolean, boolean, boolean) - Static method in enum org.apache.lucene.document.Field.TermVector
-
Get the best representation of a TermVector given the flags.
- totFields - Variable in class org.apache.lucene.index.CheckIndex.Status.FieldNormStatus
-
Number of fields successfully tested
- totFields - Variable in class org.apache.lucene.index.CheckIndex.Status.StoredFieldStatus
-
Total number of stored fields tested.
- totFreq - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
-
Total frequency across all terms.
- totLoseDocCount - Variable in class org.apache.lucene.index.CheckIndex.Status
-
How many documents will be lost to bad segments.
- totPos - Variable in class org.apache.lucene.index.CheckIndex.Status.TermIndexStatus
-
Total number of positions.
- totVectors - Variable in class org.apache.lucene.index.CheckIndex.Status.TermVectorStatus
-
Total number of term vectors tested.
- touchFile(String) - Method in class org.apache.lucene.store.Directory
-
Deprecated.
Lucene never uses this API; it will be
removed in 4.0.
- touchFile(String) - Method in class org.apache.lucene.store.FileSwitchDirectory
-
Deprecated.
- touchFile(String) - Method in class org.apache.lucene.store.FSDirectory
-
Deprecated.
Lucene never uses this API; it will be
removed in 4.0.
- touchFile(String) - Method in class org.apache.lucene.store.NRTCachingDirectory
-
Deprecated.
- touchFile(String) - Method in class org.apache.lucene.store.RAMDirectory
-
Deprecated.
Lucene never uses this API; it will be
removed in 4.0.
- toUTF32(CharSequence, IntsRef) - Static method in class org.apache.lucene.util.fst.Util
-
Decodes the Unicode codepoints from the provided
CharSequence and places them in the provided scratch
IntsRef, which must not be null, returning it.
- toUTF32(char[], int, int, IntsRef) - Static method in class org.apache.lucene.util.fst.Util
-
Decodes the Unicode codepoints from the provided
char[] and places them in the provided scratch
IntsRef, which must not be null, returning it.
- trimTrailingZeros() - Method in class org.apache.lucene.util.OpenBitSet
-
Lowers numWords, the number of words in use,
by checking for trailing zero words.
- tryIncRef() - Method in class org.apache.lucene.index.IndexReader
-
Expert: increments the refCount of this IndexReader
instance only if the IndexReader has not been closed yet
and returns true
iff the refCount was
successfully incremented, otherwise false
.
- tryIncRef(IndexSearcher) - Method in class org.apache.lucene.search.NRTManager
-
- tryIncRef(G) - Method in class org.apache.lucene.search.ReferenceManager
-
Try to increment reference counting on the given reference.
- tryIncRef(IndexSearcher) - Method in class org.apache.lucene.search.SearcherManager
-
- tryLock() - Method in class org.apache.lucene.util.DummyConcurrentLock
-
- tryLock(long, TimeUnit) - Method in class org.apache.lucene.util.DummyConcurrentLock
-
- TwoPhaseCommit - Interface in org.apache.lucene.util
-
An interface for implementations that support 2-phase commit.
- TwoPhaseCommitTool - Class in org.apache.lucene.util
-
A utility for executing 2-phase commit on several objects.
- TwoPhaseCommitTool() - Constructor for class org.apache.lucene.util.TwoPhaseCommitTool
-
- TwoPhaseCommitTool.CommitFailException - Exception in org.apache.lucene.util
-
- TwoPhaseCommitTool.CommitFailException(Throwable, TwoPhaseCommit) - Constructor for exception org.apache.lucene.util.TwoPhaseCommitTool.CommitFailException
-
- TwoPhaseCommitTool.PrepareCommitFailException - Exception in org.apache.lucene.util
-
- TwoPhaseCommitTool.PrepareCommitFailException(Throwable, TwoPhaseCommit) - Constructor for exception org.apache.lucene.util.TwoPhaseCommitTool.PrepareCommitFailException
-
- TwoPhaseCommitTool.TwoPhaseCommitWrapper - Class in org.apache.lucene.util
-
A wrapper of a
TwoPhaseCommit
, which delegates all calls to the
wrapped object, passing the specified commitData.
- TwoPhaseCommitTool.TwoPhaseCommitWrapper(TwoPhaseCommit, Map<String, String>) - Constructor for class org.apache.lucene.util.TwoPhaseCommitTool.TwoPhaseCommitWrapper
-
- type() - Method in class org.apache.lucene.analysis.Token
-
Returns this Token's lexical type.
- type() - Method in interface org.apache.lucene.analysis.tokenattributes.TypeAttribute
-
Returns this Token's lexical type.
- type() - Method in class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
-
Returns this Token's lexical type.
- TypeAttribute - Interface in org.apache.lucene.analysis.tokenattributes
-
A Token's lexical type.
- TypeAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
-
A Token's lexical type.
- TypeAttributeImpl() - Constructor for class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
-
- TypeAttributeImpl(String) - Constructor for class org.apache.lucene.analysis.tokenattributes.TypeAttributeImpl
-
- TypeTokenFilter - Class in org.apache.lucene.analysis
-
Removes tokens whose types appear in a set of blocked types from a token stream.
- TypeTokenFilter(boolean, TokenStream, Set<String>, boolean) - Constructor for class org.apache.lucene.analysis.TypeTokenFilter
-
- TypeTokenFilter(boolean, TokenStream, Set<String>) - Constructor for class org.apache.lucene.analysis.TypeTokenFilter
-