The payloads package provides Query mechanisms for finding and using payloads.
org.apache.lucene.search.spans - package org.apache.lucene.search.spansThe calculus of spans.org.apache.lucene.store - package org.apache.lucene.storeBinary i/o API, used for all index data.org.apache.lucene.util - package org.apache.lucene.utilSome utility classes.org.apache.lucene.util.cache - package org.apache.lucene.util.cache OS_ARCH -
Static variable in class org.apache.lucene.util.Constants
OS_NAME -
Static variable in class org.apache.lucene.util.Constants
The value of System.getProperty("os.name").
OS_VERSION -
Static variable in class org.apache.lucene.util.Constants
overridesTokenStreamMethod -
Variable in class org.apache.lucene.analysis.Analyzer
Deprecated.
P
- ParallelMultiSearcher - Class in org.apache.lucene.search
- Implements parallel search over a set of
Searchables
. - ParallelMultiSearcher(Searchable...) -
Constructor for class org.apache.lucene.search.ParallelMultiSearcher
- Creates a
Searchable
which searches searchables.
- ParallelReader - Class in org.apache.lucene.index
- An IndexReader which reads multiple, parallel indexes.
- ParallelReader() -
Constructor for class org.apache.lucene.index.ParallelReader
- Construct a ParallelReader.
- ParallelReader(boolean) -
Constructor for class org.apache.lucene.index.ParallelReader
- Construct a ParallelReader.
- Parameter - Class in org.apache.lucene.util
- Deprecated. Use Java 5 enum, will be removed in a later Lucene 3.x release.
- Parameter(String) -
Constructor for class org.apache.lucene.util.Parameter
- Deprecated.
- parse(Version, String[], String[], Analyzer) -
Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
- Parses a query which searches on the fields specified.
- parse(Version, String, String[], BooleanClause.Occur[], Analyzer) -
Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
- Parses a query, searching on the fields specified.
- parse(Version, String[], String[], BooleanClause.Occur[], Analyzer) -
Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
- Parses a query, searching on the fields specified.
- parse(String) -
Method in class org.apache.lucene.queryParser.QueryParser
- Parses a query string, returning a
Query
.
- parseByte(String) -
Method in interface org.apache.lucene.search.FieldCache.ByteParser
- Return a single Byte representation of this field's value.
- parseDouble(String) -
Method in interface org.apache.lucene.search.FieldCache.DoubleParser
- Return an long representation of this field's value.
- ParseException - Exception in org.apache.lucene.queryParser
- This exception is thrown when parse errors are encountered.
- ParseException(Token, int[][], String[]) -
Constructor for exception org.apache.lucene.queryParser.ParseException
- This constructor is used by the method "generateParseException"
in the generated parser.
- ParseException() -
Constructor for exception org.apache.lucene.queryParser.ParseException
- The following constructors are for use by you for whatever
purpose you can think of.
- ParseException(String) -
Constructor for exception org.apache.lucene.queryParser.ParseException
- Constructor with message.
- parseFloat(String) -
Method in interface org.apache.lucene.search.FieldCache.FloatParser
- Return an float representation of this field's value.
- parseInt(String) -
Method in interface org.apache.lucene.search.FieldCache.IntParser
- Return an integer representation of this field's value.
- parseInt(char[]) -
Static method in class org.apache.lucene.util.ArrayUtil
- Parses the string argument as if it was an int value and returns the
result.
- parseInt(char[], int, int) -
Static method in class org.apache.lucene.util.ArrayUtil
- Parses a char array into an int.
- parseInt(char[], int, int, int) -
Static method in class org.apache.lucene.util.ArrayUtil
- Parses the string argument as if it was an int value and returns the
result.
- parseLong(String) -
Method in interface org.apache.lucene.search.FieldCache.LongParser
- Return an long representation of this field's value.
- parseShort(String) -
Method in interface org.apache.lucene.search.FieldCache.ShortParser
- Return a short representation of this field's value.
- partial -
Variable in class org.apache.lucene.index.CheckIndex.Status
- True if we checked only specific segments (
CheckIndex.checkIndex(List)
) was called with non-null
argument).
- Payload - Class in org.apache.lucene.index
- A Payload is metadata that can be stored together with each occurrence
of a term.
- Payload() -
Constructor for class org.apache.lucene.index.Payload
- Creates an empty payload and does not allocate a byte array.
- Payload(byte[]) -
Constructor for class org.apache.lucene.index.Payload
- Creates a new payload with the the given array as data.
- Payload(byte[], int, int) -
Constructor for class org.apache.lucene.index.Payload
- Creates a new payload with the the given array as data.
- payload -
Variable in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
-
- PayloadAttribute - Interface in org.apache.lucene.analysis.tokenattributes
- The payload of a Token.
- PayloadAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
- The payload of a Token.
- PayloadAttributeImpl() -
Constructor for class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
- Initialize this attribute with no payload.
- PayloadAttributeImpl(Payload) -
Constructor for class org.apache.lucene.analysis.tokenattributes.PayloadAttributeImpl
- Initialize this attribute with the given payload.
- PayloadFunction - Class in org.apache.lucene.search.payloads
- An abstract class that defines a way for Payload*Query instances
to transform the cumulative effects of payload scores for a document.
- PayloadFunction() -
Constructor for class org.apache.lucene.search.payloads.PayloadFunction
-
- PayloadNearQuery - Class in org.apache.lucene.search.payloads
- This class is very similar to
SpanNearQuery
except that it factors
in the value of the payloads located at each of the positions where the
TermSpans
occurs. - PayloadNearQuery(SpanQuery[], int, boolean) -
Constructor for class org.apache.lucene.search.payloads.PayloadNearQuery
-
- PayloadNearQuery(SpanQuery[], int, boolean, PayloadFunction) -
Constructor for class org.apache.lucene.search.payloads.PayloadNearQuery
-
- PayloadNearQuery.PayloadNearSpanScorer - Class in org.apache.lucene.search.payloads
-
- PayloadNearQuery.PayloadNearSpanScorer(Spans, Weight, Similarity, byte[]) -
Constructor for class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
-
- PayloadNearQuery.PayloadNearSpanWeight - Class in org.apache.lucene.search.payloads
-
- PayloadNearQuery.PayloadNearSpanWeight(SpanQuery, Searcher) -
Constructor for class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanWeight
-
- payloadScore -
Variable in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
-
- payloadScore -
Variable in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
-
- PayloadSpanUtil - Class in org.apache.lucene.search.payloads
- Experimental class to get set of payloads for most standard Lucene queries.
- PayloadSpanUtil(IndexReader) -
Constructor for class org.apache.lucene.search.payloads.PayloadSpanUtil
-
- payloadsSeen -
Variable in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
-
- PayloadTermQuery - Class in org.apache.lucene.search.payloads
- This class is very similar to
SpanTermQuery
except that it factors
in the value of the payload located at each of the positions where the
Term
occurs. - PayloadTermQuery(Term, PayloadFunction) -
Constructor for class org.apache.lucene.search.payloads.PayloadTermQuery
-
- PayloadTermQuery(Term, PayloadFunction, boolean) -
Constructor for class org.apache.lucene.search.payloads.PayloadTermQuery
-
- PayloadTermQuery.PayloadTermWeight - Class in org.apache.lucene.search.payloads
-
- PayloadTermQuery.PayloadTermWeight(PayloadTermQuery, Searcher) -
Constructor for class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight
-
- PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer - Class in org.apache.lucene.search.payloads
-
- PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer(TermSpans, Weight, Similarity, byte[]) -
Constructor for class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
-
- PerFieldAnalyzerWrapper - Class in org.apache.lucene.analysis
- This analyzer is used to facilitate scenarios where different
fields require different analysis techniques.
- PerFieldAnalyzerWrapper(Analyzer) -
Constructor for class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
- Constructs with default analyzer.
- PerFieldAnalyzerWrapper(Analyzer, Map<String, Analyzer>) -
Constructor for class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
- Constructs with default analyzer and a map of analyzers to use for
specific fields.
- PhraseQuery - Class in org.apache.lucene.search
- A Query that matches documents containing a particular sequence of terms.
- PhraseQuery() -
Constructor for class org.apache.lucene.search.PhraseQuery
- Constructs an empty phrase query.
- PLUS -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- pop(long) -
Static method in class org.apache.lucene.util.BitUtil
- Returns the number of bits set in the long
- pop() -
Method in class org.apache.lucene.util.PriorityQueue
- Removes and returns the least element of the PriorityQueue in log(size)
time.
- pop() -
Method in class org.apache.lucene.util.ScorerDocQueue
- Removes and returns the least scorer of the ScorerDocQueue in log(size)
time.
- pop_andnot(long[], long[], int, int) -
Static method in class org.apache.lucene.util.BitUtil
- Returns the popcount or cardinality of A & ~B
Neither array is modified.
- pop_array(long[], int, int) -
Static method in class org.apache.lucene.util.BitUtil
- Returns the number of set bits in an array of longs.
- pop_intersect(long[], long[], int, int) -
Static method in class org.apache.lucene.util.BitUtil
- Returns the popcount or cardinality of the two sets after an intersection.
- pop_union(long[], long[], int, int) -
Static method in class org.apache.lucene.util.BitUtil
- Returns the popcount or cardinality of the union of two sets.
- pop_xor(long[], long[], int, int) -
Static method in class org.apache.lucene.util.BitUtil
-
- populateResults(ScoreDoc[], int) -
Method in class org.apache.lucene.search.TopDocsCollector
- Populates the results array with the ScoreDoc instaces.
- populateResults(ScoreDoc[], int) -
Method in class org.apache.lucene.search.TopFieldCollector
-
- PorterStemFilter - Class in org.apache.lucene.analysis
- Transforms the token stream as per the Porter stemming algorithm.
- PorterStemFilter(TokenStream) -
Constructor for class org.apache.lucene.analysis.PorterStemFilter
-
- position -
Variable in class org.apache.lucene.search.spans.TermSpans
-
- PositionBasedTermVectorMapper - Class in org.apache.lucene.index
- For each Field, store position by position information.
- PositionBasedTermVectorMapper() -
Constructor for class org.apache.lucene.index.PositionBasedTermVectorMapper
-
- PositionBasedTermVectorMapper(boolean) -
Constructor for class org.apache.lucene.index.PositionBasedTermVectorMapper
-
- PositionBasedTermVectorMapper.TVPositionInfo - Class in org.apache.lucene.index
- Container for a term at a position
- PositionBasedTermVectorMapper.TVPositionInfo(int, boolean) -
Constructor for class org.apache.lucene.index.PositionBasedTermVectorMapper.TVPositionInfo
-
- PositionIncrementAttribute - Interface in org.apache.lucene.analysis.tokenattributes
- The positionIncrement determines the position of this token
relative to the previous Token in a TokenStream, used in phrase
searching.
- PositionIncrementAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
- The positionIncrement determines the position of this token
relative to the previous Token in a
TokenStream
, used in phrase
searching. - PositionIncrementAttributeImpl() -
Constructor for class org.apache.lucene.analysis.tokenattributes.PositionIncrementAttributeImpl
-
- positions -
Variable in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
-
- positions -
Variable in class org.apache.lucene.search.spans.TermSpans
-
- PositiveScoresOnlyCollector - Class in org.apache.lucene.search
- A
Collector
implementation which wraps another
Collector
and makes sure only documents with
scores > 0 are collected. - PositiveScoresOnlyCollector(Collector) -
Constructor for class org.apache.lucene.search.PositiveScoresOnlyCollector
-
- pq -
Variable in class org.apache.lucene.search.TopDocsCollector
- The priority queue which holds the top documents.
- PRECISION_STEP_DEFAULT -
Static variable in class org.apache.lucene.util.NumericUtils
- The default precision step used by
NumericField
, NumericTokenStream
,
NumericRangeQuery
, and NumericRangeFilter
as default
- prefixCodedToDouble(String) -
Static method in class org.apache.lucene.util.NumericUtils
- Convenience method: this just returns:
sortableLongToDouble(prefixCodedToLong(val))
- prefixCodedToFloat(String) -
Static method in class org.apache.lucene.util.NumericUtils
- Convenience method: this just returns:
sortableIntToFloat(prefixCodedToInt(val))
- prefixCodedToInt(String) -
Static method in class org.apache.lucene.util.NumericUtils
- Returns an int from prefixCoded characters.
- prefixCodedToLong(String) -
Static method in class org.apache.lucene.util.NumericUtils
- Returns a long from prefixCoded characters.
- PrefixFilter - Class in org.apache.lucene.search
- A Filter that restricts search results to values that have a matching prefix in a given
field.
- PrefixFilter(Term) -
Constructor for class org.apache.lucene.search.PrefixFilter
-
- PrefixQuery - Class in org.apache.lucene.search
- A Query that matches documents containing terms with a specified prefix.
- PrefixQuery(Term) -
Constructor for class org.apache.lucene.search.PrefixQuery
- Constructs a query for terms starting with
prefix
.
- PREFIXTERM -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- PrefixTermEnum - Class in org.apache.lucene.search
- Subclass of FilteredTermEnum for enumerating all terms that match the
specified prefix filter term.
- PrefixTermEnum(IndexReader, Term) -
Constructor for class org.apache.lucene.search.PrefixTermEnum
-
- prepareCommit() -
Method in class org.apache.lucene.index.IndexWriter
- Expert: prepare for commit.
- prepareCommit(Map<String, String>) -
Method in class org.apache.lucene.index.IndexWriter
- Expert: prepare for commit, specifying
commitUserData Map (String -> String).
- prepareCommit() -
Method in class org.apache.lucene.store.ChecksumIndexOutput
- Starts but does not complete the commit of this file (=
writing of the final checksum at the end).
- PriorityQueue<T> - Class in org.apache.lucene.util
- A PriorityQueue maintains a partial ordering of its elements such that the
least element can always be found in constant time.
- PriorityQueue() -
Constructor for class org.apache.lucene.util.PriorityQueue
-
- processPayload(Similarity) -
Method in class org.apache.lucene.search.payloads.PayloadTermQuery.PayloadTermWeight.PayloadTermSpanScorer
-
- processPayloads(Collection<byte[]>, int, int) -
Method in class org.apache.lucene.search.payloads.PayloadNearQuery.PayloadNearSpanScorer
- By default, uses the
PayloadFunction
to score the payloads, but
can be overridden to do other things.
- purgeAllCaches() -
Method in interface org.apache.lucene.search.FieldCache
-
EXPERT: Instructs the FieldCache to forcibly expunge all entries
from the underlying caches.
- put(K, V) -
Method in class org.apache.lucene.util.cache.Cache
- Puts a (key, value)-pair into the cache.
- put(K, V) -
Method in class org.apache.lucene.util.cache.SimpleMapCache
-
- put(K, V) -
Method in class org.apache.lucene.util.MapOfSets
- Adds val to the Set associated with key in the Map.
- put(Scorer) -
Method in class org.apache.lucene.util.ScorerDocQueue
- Adds a Scorer to a ScorerDocQueue in log(size) time.
- putAll(K, Collection<? extends V>) -
Method in class org.apache.lucene.util.MapOfSets
- Adds multiple vals to the Set associated with key in the Map.
Q
- Query(String) -
Method in class org.apache.lucene.queryParser.QueryParser
-
- query -
Variable in class org.apache.lucene.search.MultiTermQueryWrapperFilter
-
- Query - Class in org.apache.lucene.search
- The abstract base class for queries.
- Query() -
Constructor for class org.apache.lucene.search.Query
-
- query -
Variable in class org.apache.lucene.search.SpanQueryFilter
-
- query -
Variable in class org.apache.lucene.search.spans.SpanWeight
-
- queryNorm(float) -
Method in class org.apache.lucene.search.DefaultSimilarity
- Implemented as
1/sqrt(sumOfSquaredWeights)
.
- queryNorm(float) -
Method in class org.apache.lucene.search.Similarity
- Computes the normalization value for a query given the sum of the squared
weights of each of the query terms.
- queryNorm(float) -
Method in class org.apache.lucene.search.SimilarityDelegator
-
- queryNorm -
Variable in class org.apache.lucene.search.spans.SpanWeight
-
- QueryParser - Class in org.apache.lucene.queryParser
- This class is generated by JavaCC.
- QueryParser(Version, String, Analyzer) -
Constructor for class org.apache.lucene.queryParser.QueryParser
- Constructs a query parser.
- QueryParser(CharStream) -
Constructor for class org.apache.lucene.queryParser.QueryParser
- Constructor with user supplied CharStream.
- QueryParser(QueryParserTokenManager) -
Constructor for class org.apache.lucene.queryParser.QueryParser
- Constructor with generated Token Manager.
- QueryParser.Operator - Enum in org.apache.lucene.queryParser
- The default operator for parsing queries.
- QueryParserConstants - Interface in org.apache.lucene.queryParser
- Token literal values and constants.
- QueryParserTokenManager - Class in org.apache.lucene.queryParser
- Token Manager.
- QueryParserTokenManager(CharStream) -
Constructor for class org.apache.lucene.queryParser.QueryParserTokenManager
- Constructor.
- QueryParserTokenManager(CharStream, int) -
Constructor for class org.apache.lucene.queryParser.QueryParserTokenManager
- Constructor.
- QueryTermVector - Class in org.apache.lucene.search
-
- QueryTermVector(String[]) -
Constructor for class org.apache.lucene.search.QueryTermVector
-
- QueryTermVector(String, Analyzer) -
Constructor for class org.apache.lucene.search.QueryTermVector
-
- queryWeight -
Variable in class org.apache.lucene.search.spans.SpanWeight
-
- QueryWrapperFilter - Class in org.apache.lucene.search
- Constrains search results to only match those which also match a provided
query.
- QueryWrapperFilter(Query) -
Constructor for class org.apache.lucene.search.QueryWrapperFilter
- Constructs a filter which only matches documents matching
query
.
- quickSort(int, int) -
Method in class org.apache.lucene.util.SorterTemplate
-
- QUOTED -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
R
- RAMDirectory - Class in org.apache.lucene.store
- A memory-resident
Directory
implementation. - RAMDirectory() -
Constructor for class org.apache.lucene.store.RAMDirectory
- Constructs an empty
Directory
.
- RAMDirectory(Directory) -
Constructor for class org.apache.lucene.store.RAMDirectory
- Creates a new
RAMDirectory
instance from a different
Directory
implementation.
- RAMOutputStream - Class in org.apache.lucene.store
- A memory-resident
IndexOutput
implementation. - RAMOutputStream() -
Constructor for class org.apache.lucene.store.RAMOutputStream
- Construct an empty output buffer.
- ramSizeInBytes() -
Method in class org.apache.lucene.index.IndexWriter
- Expert: Return the total size of all index files currently cached in memory.
- RamUsageEstimator - Class in org.apache.lucene.util
- Estimates the size of a given Object using a given MemoryModel for primitive
size information.
- RamUsageEstimator() -
Constructor for class org.apache.lucene.util.RamUsageEstimator
- Constructs this object with an AverageGuessMemoryModel and
checkInterned = true.
- RamUsageEstimator(boolean) -
Constructor for class org.apache.lucene.util.RamUsageEstimator
-
- RamUsageEstimator(MemoryModel) -
Constructor for class org.apache.lucene.util.RamUsageEstimator
-
- RamUsageEstimator(MemoryModel, boolean) -
Constructor for class org.apache.lucene.util.RamUsageEstimator
-
- range(int, int) -
Method in class org.apache.lucene.index.SegmentInfos
- Returns a new SegmentInfos containing the SegmentInfo
instances in the specified range first (inclusive) to
last (exclusive), so total number of segments returned
is last-first.
- RangeEx -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- Lexical state.
- RANGEEX_END -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEEX_GOOP -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEEX_QUOTED -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEEX_START -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEEX_TO -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RangeIn -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- Lexical state.
- RANGEIN_END -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEIN_GOOP -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEIN_QUOTED -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEIN_START -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEIN_TO -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- read(char[], int, int) -
Method in class org.apache.lucene.analysis.CharFilter
-
- read(char[], int, int) -
Method in class org.apache.lucene.analysis.CharReader
-
- read() -
Method in class org.apache.lucene.analysis.MappingCharFilter
-
- read(char[], int, int) -
Method in class org.apache.lucene.analysis.MappingCharFilter
-
- read(int[], int[]) -
Method in class org.apache.lucene.index.AbstractAllTermDocs
-
- read(int[], int[]) -
Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- read(int[], int[]) -
Method in class org.apache.lucene.index.MultipleTermPositions
- Not implemented.
- read(Directory, String) -
Method in class org.apache.lucene.index.SegmentInfos
- Read a particular segmentFileName.
- read(Directory) -
Method in class org.apache.lucene.index.SegmentInfos
- This version of read uses the retry logic (for lock-less
commits) to find the right segments file to load.
- read(int[], int[]) -
Method in interface org.apache.lucene.index.TermDocs
- Attempts to read multiple entries from the enumeration, up to length of
docs.
- readByte() -
Method in class org.apache.lucene.store.BufferedIndexInput
-
- readByte() -
Method in class org.apache.lucene.store.ChecksumIndexInput
-
- readByte() -
Method in class org.apache.lucene.store.IndexInput
- Reads and returns a single byte.
- readBytes(byte[], int, int) -
Method in class org.apache.lucene.store.BufferedIndexInput
-
- readBytes(byte[], int, int, boolean) -
Method in class org.apache.lucene.store.BufferedIndexInput
-
- readBytes(byte[], int, int) -
Method in class org.apache.lucene.store.ChecksumIndexInput
-
- readBytes(byte[], int, int) -
Method in class org.apache.lucene.store.IndexInput
- Reads a specified number of bytes into an array at the specified offset.
- readBytes(byte[], int, int, boolean) -
Method in class org.apache.lucene.store.IndexInput
- Reads a specified number of bytes into an array at the
specified offset with control over whether the read
should be buffered (callers who have their own buffer
should pass in "false" for useBuffer).
- readChar() -
Method in interface org.apache.lucene.queryParser.CharStream
- Returns the next character from the selected input.
- readChar() -
Method in class org.apache.lucene.queryParser.FastCharStream
-
- readChars(char[], int, int) -
Method in class org.apache.lucene.store.IndexInput
- Deprecated. -- please use readString or readBytes
instead, and construct the string
from those utf8 bytes
- readCurrentUserData(Directory) -
Static method in class org.apache.lucene.index.SegmentInfos
- Returns userData from latest segments file
- readCurrentVersion(Directory) -
Static method in class org.apache.lucene.index.SegmentInfos
- Current version number from segments file.
- reader -
Variable in class org.apache.lucene.search.function.CustomScoreProvider
-
- ReaderUtil - Class in org.apache.lucene.util
- Common util methods for dealing with
IndexReader
s. - ReaderUtil() -
Constructor for class org.apache.lucene.util.ReaderUtil
-
- readerValue() -
Method in class org.apache.lucene.document.Field
- The value of the field as a Reader, or null.
- readerValue() -
Method in interface org.apache.lucene.document.Fieldable
- The value of the field as a Reader, which can be used at index time to generate indexed tokens.
- readerValue() -
Method in class org.apache.lucene.document.NumericField
- Returns always
null
for numeric fields
- readInt() -
Method in class org.apache.lucene.store.IndexInput
- Reads four bytes and returns an int.
- readInternal(byte[], int, int) -
Method in class org.apache.lucene.store.BufferedIndexInput
- Expert: implements buffer refill.
- readInternal(byte[], int, int) -
Method in class org.apache.lucene.store.NIOFSDirectory.NIOFSIndexInput
-
- readInternal(byte[], int, int) -
Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
- IndexInput methods
- readLong() -
Method in class org.apache.lucene.store.IndexInput
- Reads eight bytes and returns a long.
- readOnly -
Variable in class org.apache.lucene.index.SegmentReader
-
- readResolve() -
Method in class org.apache.lucene.util.Parameter
- Deprecated. Resolves the deserialized instance to the local reference for accurate
equals() and == comparisons.
- readString() -
Method in class org.apache.lucene.store.IndexInput
- Reads a string.
- readStringStringMap() -
Method in class org.apache.lucene.store.IndexInput
-
- readVInt() -
Method in class org.apache.lucene.store.IndexInput
- Reads an int stored in variable-length format.
- readVLong() -
Method in class org.apache.lucene.store.IndexInput
- Reads a long stored in variable-length format.
- reinit(char[], int, int, int, int, String) -
Method in class org.apache.lucene.analysis.Token
- Shorthand for calling
Token.clear()
,
Token.setTermBuffer(char[], int, int)
,
Token.setStartOffset(int)
,
Token.setEndOffset(int)
,
Token.setType(java.lang.String)
- reinit(char[], int, int, int, int) -
Method in class org.apache.lucene.analysis.Token
- Shorthand for calling
Token.clear()
,
Token.setTermBuffer(char[], int, int)
,
Token.setStartOffset(int)
,
Token.setEndOffset(int)
Token.setType(java.lang.String)
on Token.DEFAULT_TYPE
- reinit(String, int, int, String) -
Method in class org.apache.lucene.analysis.Token
- Shorthand for calling
Token.clear()
,
Token.setTermBuffer(String)
,
Token.setStartOffset(int)
,
Token.setEndOffset(int)
Token.setType(java.lang.String)
- reinit(String, int, int, int, int, String) -
Method in class org.apache.lucene.analysis.Token
- Shorthand for calling
Token.clear()
,
Token.setTermBuffer(String, int, int)
,
Token.setStartOffset(int)
,
Token.setEndOffset(int)
Token.setType(java.lang.String)
- reinit(String, int, int) -
Method in class org.apache.lucene.analysis.Token
- Shorthand for calling
Token.clear()
,
Token.setTermBuffer(String)
,
Token.setStartOffset(int)
,
Token.setEndOffset(int)
Token.setType(java.lang.String)
on Token.DEFAULT_TYPE
- reinit(String, int, int, int, int) -
Method in class org.apache.lucene.analysis.Token
- Shorthand for calling
Token.clear()
,
Token.setTermBuffer(String, int, int)
,
Token.setStartOffset(int)
,
Token.setEndOffset(int)
Token.setType(java.lang.String)
on Token.DEFAULT_TYPE
- reinit(Token) -
Method in class org.apache.lucene.analysis.Token
- Copy the prototype token's fields into this one.
- reinit(Token, String) -
Method in class org.apache.lucene.analysis.Token
- Copy the prototype token's fields into this one, with a different term.
- reinit(Token, char[], int, int) -
Method in class org.apache.lucene.analysis.Token
- Copy the prototype token's fields into this one, with a different term.
- ReInit(CharStream) -
Method in class org.apache.lucene.queryParser.QueryParser
- Reinitialise.
- ReInit(QueryParserTokenManager) -
Method in class org.apache.lucene.queryParser.QueryParser
- Reinitialise.
- ReInit(CharStream) -
Method in class org.apache.lucene.queryParser.QueryParserTokenManager
- Reinitialise parser.
- ReInit(CharStream, int) -
Method in class org.apache.lucene.queryParser.QueryParserTokenManager
- Reinitialise parser.
- release() -
Method in class org.apache.lucene.index.SnapshotDeletionPolicy
- Release the currently held snapshot.
- release() -
Method in class org.apache.lucene.store.Lock
- Releases exclusive access.
- RELEVANCE -
Static variable in class org.apache.lucene.search.Sort
- Represents sorting by computed relevance.
- remove() -
Method in class org.apache.lucene.analysis.CharArraySet.CharArraySetIterator
-
- remove(OpenBitSet) -
Method in class org.apache.lucene.util.OpenBitSet
- Remove all elements set in other.
- removeAccents(char[], int) -
Method in class org.apache.lucene.analysis.ISOLatin1AccentFilter
- Deprecated. To replace accented characters in a String by unaccented equivalents.
- removeField(String) -
Method in class org.apache.lucene.document.Document
- Removes field with the specified name from the document.
- removeFields(String) -
Method in class org.apache.lucene.document.Document
- Removes all fields with the given name from the document.
- reopen() -
Method in class org.apache.lucene.index.IndexReader
- Refreshes an IndexReader if the index has changed since this instance
was (re)opened.
- reopen(boolean) -
Method in class org.apache.lucene.index.IndexReader
- Just like
IndexReader.reopen()
, except you can change the
readOnly of the original reader.
- reopen(IndexCommit) -
Method in class org.apache.lucene.index.IndexReader
- Expert: reopen this reader on a specific commit point.
- reopen() -
Method in class org.apache.lucene.index.MultiReader
- Tries to reopen the subreaders.
- reopen() -
Method in class org.apache.lucene.index.ParallelReader
- Tries to reopen the subreaders.
- reset() -
Method in class org.apache.lucene.analysis.CachingTokenFilter
-
- reset() -
Method in class org.apache.lucene.analysis.CharFilter
-
- reset() -
Method in class org.apache.lucene.analysis.CharReader
-
- reset(Reader) -
Method in class org.apache.lucene.analysis.CharTokenizer
-
- reset(Reader) -
Method in class org.apache.lucene.analysis.KeywordTokenizer
-
- reset() -
Method in class org.apache.lucene.analysis.NumericTokenStream
-
- reset() -
Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- reset(Reader) -
Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- reset() -
Method in class org.apache.lucene.analysis.TeeSinkTokenFilter.SinkFilter
- Called by
TeeSinkTokenFilter.SinkTokenStream.reset()
.
- reset() -
Method in class org.apache.lucene.analysis.TeeSinkTokenFilter.SinkTokenStream
-
- reset() -
Method in class org.apache.lucene.analysis.TokenFilter
- Reset the filter as well as the input TokenStream.
- reset(Reader) -
Method in class org.apache.lucene.analysis.Tokenizer
- Expert: Reset the tokenizer to a new reader.
- reset() -
Method in class org.apache.lucene.analysis.TokenStream
- Resets this stream to the beginning.
- reset() -
Method in class org.apache.lucene.store.RAMOutputStream
- Resets this to an empty buffer.
- resizeTermBuffer(int) -
Method in class org.apache.lucene.analysis.Token
- Grows the termBuffer to at least size newSize, preserving the
existing content.
- resizeTermBuffer(int) -
Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
- Grows the termBuffer to at least size newSize, preserving the
existing content.
- resizeTermBuffer(int) -
Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
- Grows the termBuffer to at least size newSize, preserving the
existing content.
- restoreState(AttributeSource.State) -
Method in class org.apache.lucene.util.AttributeSource
- Restores this state by copying the values of all attribute implementations
that this state contains into the attributes implementations of the targetStream.
- result -
Variable in class org.apache.lucene.util.UnicodeUtil.UTF16Result
-
- result -
Variable in class org.apache.lucene.util.UnicodeUtil.UTF8Result
-
- reusableTokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.Analyzer
- Creates a TokenStream that is allowed to be re-used
from the previous time that the same thread called
this method.
- reusableTokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.KeywordAnalyzer
-
- reusableTokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
-
- reusableTokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.SimpleAnalyzer
-
- reusableTokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- reusableTokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.StopAnalyzer
-
- reusableTokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.WhitespaceAnalyzer
-
- reverseMul -
Variable in class org.apache.lucene.search.FieldValueHitQueue
-
- ReverseOrdFieldSource - Class in org.apache.lucene.search.function
- Expert: obtains the ordinal of the field value from the default Lucene
FieldCache
using getStringIndex()
and reverses the order. - ReverseOrdFieldSource(String) -
Constructor for class org.apache.lucene.search.function.ReverseOrdFieldSource
- Contructor for a certain field.
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.BooleanQuery
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.ConstantScoreQuery
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.DisjunctionMaxQuery
- Optimize our representation and our subqueries representations
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.FilteredQuery
- Rewrites the wrapped query.
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.function.CustomScoreQuery
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.function.ValueSourceQuery
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.FuzzyQuery
-
- rewrite(Query) -
Method in class org.apache.lucene.search.IndexSearcher
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.MultiPhraseQuery
-
- rewrite(Query) -
Method in class org.apache.lucene.search.MultiSearcher
-
- rewrite(IndexReader, MultiTermQuery) -
Method in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.MultiTermQuery
-
- rewrite(IndexReader, MultiTermQuery) -
Method in class org.apache.lucene.search.MultiTermQuery.RewriteMethod
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.Query
- Expert: called to re-write queries into primitive queries.
- rewrite(Query) -
Method in interface org.apache.lucene.search.Searchable
- Expert: called to re-write queries into primitive queries.
- rewrite(Query) -
Method in class org.apache.lucene.search.Searcher
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.spans.FieldMaskingSpanQuery
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.spans.SpanFirstQuery
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.spans.SpanNearQuery
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.spans.SpanNotQuery
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.spans.SpanOrQuery
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.WildcardQuery
-
- rewriteMethod -
Variable in class org.apache.lucene.search.MultiTermQuery
-
- rollback() -
Method in class org.apache.lucene.index.IndexWriter
- Close the
IndexWriter
without committing
any changes that have occurred since the last commit
(or since it was opened, if commit hasn't been called).
- round(Date, DateTools.Resolution) -
Static method in class org.apache.lucene.document.DateTools
- Limit a date's resolution.
- round(long, DateTools.Resolution) -
Static method in class org.apache.lucene.document.DateTools
- Limit a date's resolution.
- RPAREN -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- run() -
Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
- run() -
Method in class org.apache.lucene.index.SegmentInfos.FindSegmentsFile
-
- run(IndexCommit) -
Method in class org.apache.lucene.index.SegmentInfos.FindSegmentsFile
-
- run() -
Method in class org.apache.lucene.search.FilterManager.FilterCleaner
-
- run() -
Method in class org.apache.lucene.store.Lock.With
- Calls
Lock.With.doBody()
while lock is obtained.
S
- score() -
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
- Expert: 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 (relevancy).
- 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
- Expert: Returned by low-level search implementations.
- ScoreDoc(int, float) -
Constructor for class org.apache.lucene.search.ScoreDoc
- Expert: 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
-
- 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
-
- 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(Similarity) -
Constructor for class org.apache.lucene.search.Scorer
- Constructs a 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
.
- 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.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.
- search(Weight, Filter, int) -
Method in class org.apache.lucene.search.IndexSearcher
-
- search(Weight, Filter, int, Sort) -
Method in class org.apache.lucene.search.IndexSearcher
-
- search(Weight, Filter, int, Sort, boolean) -
Method in class org.apache.lucene.search.IndexSearcher
- Just like
IndexSearcher.search(Weight, Filter, int, Sort)
, but you choose
whether or not the fields in the returned FieldDoc
instances should
be set by specifying fillFields.
- search(Weight, Filter, Collector) -
Method in class org.apache.lucene.search.IndexSearcher
-
- search(Weight, Filter, int) -
Method in class org.apache.lucene.search.MultiSearcher
-
- search(Weight, Filter, int, Sort) -
Method in class org.apache.lucene.search.MultiSearcher
-
- search(Weight, Filter, Collector) -
Method in class org.apache.lucene.search.MultiSearcher
-
- search(Weight, Filter, int) -
Method in class org.apache.lucene.search.ParallelMultiSearcher
- 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
- 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
- Lower-level search API.
- search(Weight, Filter, Collector) -
Method in interface org.apache.lucene.search.Searchable
- Lower-level search API.
- search(Weight, Filter, int) -
Method in interface org.apache.lucene.search.Searchable
- Expert: Low-level search implementation.
- search(Weight, Filter, int, Sort) -
Method in interface org.apache.lucene.search.Searchable
- Expert: Low-level search implementation with arbitrary sorting.
- search(Query, Filter, int, Sort) -
Method in class org.apache.lucene.search.Searcher
- Search implementation with arbitrary sorting.
- search(Query, Collector) -
Method in class org.apache.lucene.search.Searcher
- Lower-level search API.
- search(Query, Filter, Collector) -
Method in class org.apache.lucene.search.Searcher
- Lower-level search API.
- search(Query, Filter, int) -
Method in class org.apache.lucene.search.Searcher
- Finds the top
n
hits for query
, applying filter
if non-null.
- search(Query, int) -
Method in class org.apache.lucene.search.Searcher
- Finds the top
n
hits for query
.
- search(Weight, Filter, Collector) -
Method in class org.apache.lucene.search.Searcher
-
- search(Weight, Filter, int) -
Method in class org.apache.lucene.search.Searcher
-
- search(Weight, Filter, int, Sort) -
Method in class org.apache.lucene.search.Searcher
-
- Searchable - Interface in org.apache.lucene.search
- The interface for search implementations.
- Searcher - Class in org.apache.lucene.search
- An abstract base class for search implementations.
- Searcher() -
Constructor for class org.apache.lucene.search.Searcher
-
- SECOND -
Static variable in class org.apache.lucene.document.DateTools.Resolution
-
- seek(Term) -
Method in class org.apache.lucene.index.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.IndexInput
- Sets current position in this file, where the next read will occur.
- seek(long) -
Method in class org.apache.lucene.store.IndexOutput
- Sets current position in this file, where the next write will occur.
- seek(long) -
Method in class org.apache.lucene.store.RAMOutputStream
-
- seek(long) -
Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexOutput
- Random-access methods
- seekInternal(long) -
Method in class org.apache.lucene.store.BufferedIndexInput
- Expert: implements seek.
- seekInternal(long) -
Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexInput
-
- 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) -
Constructor for class org.apache.lucene.index.SegmentInfo
-
- SegmentInfo(String, int, Directory, boolean, boolean) -
Constructor for class org.apache.lucene.index.SegmentInfo
-
- SegmentInfo(String, int, Directory, boolean, boolean, int, String, boolean, boolean) -
Constructor for class org.apache.lucene.index.SegmentInfo
-
- segmentInfos -
Variable in class org.apache.lucene.index.CheckIndex.Status
- List of
CheckIndex.Status.SegmentInfoStatus
instances, detailing status of each segment.
- 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
-
- SegmentReader - Class in org.apache.lucene.index
- NOTE: This API is new and still experimental
(subject to change suddenly in the next release)
- SegmentReader() -
Constructor for class org.apache.lucene.index.SegmentReader
-
- segmentsChecked -
Variable in class org.apache.lucene.index.CheckIndex.Status
- Empty unless you passed specific segments list to check as optional 3rd argument.
- segmentsFileName -
Variable in class org.apache.lucene.index.CheckIndex.Status
- Name of latest segments_N file in the index.
- segString() -
Method in class org.apache.lucene.index.IndexWriter
-
- segString(Directory) -
Method in class org.apache.lucene.index.MergePolicy.MergeSpecification
-
- segString(Directory) -
Method in class org.apache.lucene.index.SegmentInfo
- Used for debugging
- segString(Directory) -
Method in class org.apache.lucene.index.SegmentInfos
-
- 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(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
- setAllowLeadingWildcard(boolean) -
Method in class org.apache.lucene.queryParser.QueryParser
- Set to
true
to allow leading wildcard characters.
- SetBasedFieldSelector - Class in org.apache.lucene.document
- Declare what fields to load normally and what fields to load lazily
- SetBasedFieldSelector(Set<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.
- setBits(long[]) -
Method in class org.apache.lucene.util.OpenBitSet
- Expert: sets a new long[] to use as the bit storage
- setBoost(float) -
Method in class org.apache.lucene.document.AbstractField
- Sets the boost factor hits on this field.
- setBoost(float) -
Method in class org.apache.lucene.document.Document
- Sets a boost factor for hits on any field of this document.
- setBoost(float) -
Method in interface org.apache.lucene.document.Fieldable
- Sets the boost factor hits on this field.
- setBoost(float) -
Method in class org.apache.lucene.search.Query
- Sets the boost for this query clause to
b
.
- 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
- setCacheSize(int) -
Method in class org.apache.lucene.search.FilterManager
- 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
- Sets the cache cleaning frequency in milliseconds.
- setData(byte[]) -
Method in class org.apache.lucene.index.Payload
- Sets this payloads data.
- setData(byte[], int, int) -
Method in class org.apache.lucene.index.Payload
- Sets this payloads data.
- setDateResolution(DateTools.Resolution) -
Method in class org.apache.lucene.queryParser.QueryParser
- Sets the default date resolution used by RangeQueries for fields for which no
specific date resolutions has been set.
- setDateResolution(String, DateTools.Resolution) -
Method in class org.apache.lucene.queryParser.QueryParser
- Sets the date resolution used by RangeQueries for a specific field.
- setDebugStream(PrintStream) -
Method in class org.apache.lucene.queryParser.QueryParserTokenManager
- Set debug output.
- setDefault(Similarity) -
Static method in class org.apache.lucene.search.Similarity
- Set the default Similarity implementation used by indexing and search
code.
- setDefaultFieldSortScoring(boolean, boolean) -
Method in class org.apache.lucene.search.IndexSearcher
- By default, no scores are computed when sorting by
field (using
Searcher.search(Query,Filter,int,Sort)
).
- setDefaultGenFileRetryCount(int) -
Static method in class org.apache.lucene.index.SegmentInfos
- Advanced: set how many times to try loading the
segments.gen file contents to determine current segment
generation.
- setDefaultGenFileRetryPauseMsec(int) -
Static method in class org.apache.lucene.index.SegmentInfos
- Advanced: set how many milliseconds to pause in between
attempts to load the segments.gen file.
- 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
- Sets the default (for any instance of IndexWriter) maximum time to wait for a write lock (in
milliseconds).
- setDescription(String) -
Method in class org.apache.lucene.search.Explanation
- Sets the description of this explanation node.
- setDiscountOverlaps(boolean) -
Method in class org.apache.lucene.search.DefaultSimilarity
- Determines whether overlap tokens (Tokens with
0 position increment) are ignored when computing
norm.
- setDocCountPercent(double) -
Method in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
- If the number of documents to be visited in the
postings exceeds this specified percentage of the
maxDoc() for the index, then
MultiTermQuery.CONSTANT_SCORE_FILTER_REWRITE
is used.
- 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.
- setEnablePositionIncrements(boolean) -
Method in class org.apache.lucene.analysis.StopFilter
- If
true
, this StopFilter will preserve
positions of the incoming tokens (ie, accumulate and
set position increments of the removed stop 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.
- 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.
- 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.
- setLength(long) -
Method in class org.apache.lucene.store.IndexOutput
- Set the file length.
- setLength(long) -
Method in class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexOutput
-
- 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.
- 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
- 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
- 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
Integer.MAX_VALUE
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
- The maximum number of terms that will be indexed for a single field in a
document.
- setMaxMergeDocs(int) -
Method in class org.apache.lucene.index.IndexWriter
- Determines the largest segment (measured by
document count) that may be merged with other segments.
- setMaxMergeDocs(int) -
Method in class org.apache.lucene.index.LogMergePolicy
- Determines the largest segment (measured by
document count) that may be merged with other segments.
- setMaxMergeMB(double) -
Method in class org.apache.lucene.index.LogByteSizeMergePolicy
- Determines the largest segment (measured by total
byte size of the segment's files, in MB) that may be
merged with other segments.
- setMaxScore(float) -
Method in class org.apache.lucene.search.TopDocs
- Sets the maximum score value encountered.
- setMaxThreadCount(int) -
Method in class org.apache.lucene.index.ConcurrentMergeScheduler
- Sets the max # simultaneous threads that may be
running.
- setMaxTokenLength(int) -
Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
- Set maximum allowed token length.
- setMaxTokenLength(int) -
Method in class org.apache.lucene.analysis.standard.StandardTokenizer
- Set the max allowed token length.
- setMergedSegmentWarmer(IndexWriter.IndexReaderWarmer) -
Method in class org.apache.lucene.index.IndexWriter
- Set the merged segment warmer.
- setMergeFactor(int) -
Method in class org.apache.lucene.index.IndexWriter
- Determines how often segment indices are merged by addDocument().
- setMergeFactor(int) -
Method in class org.apache.lucene.index.LogMergePolicy
- Determines how often segment indices are merged by
addDocument().
- setMergePolicy(MergePolicy) -
Method in class org.apache.lucene.index.IndexWriter
- Expert: set the merge policy used by this writer.
- setMergeScheduler(MergeScheduler) -
Method in class org.apache.lucene.index.IndexWriter
- Expert: set the merge scheduler used by this writer.
- setMergeThreadPriority(int) -
Method in class org.apache.lucene.index.ConcurrentMergeScheduler
- Set the priority that merge threads run at.
- setMinimumNumberShouldMatch(int) -
Method in class org.apache.lucene.search.BooleanQuery
- Specifies a minimum number of the optional BooleanClauses
which must be satisfied.
- setMinMergeDocs(int) -
Method in class org.apache.lucene.index.LogDocMergePolicy
- Sets the minimum size for the lowest level segments.
- setMinMergeMB(double) -
Method in class org.apache.lucene.index.LogByteSizeMergePolicy
- Sets the minimum size for the lowest level segments.
- setModifiedUTF8StringsMode() -
Method in class org.apache.lucene.store.IndexInput
- Call this if readString should read characters stored
in the old modified UTF8 format (length in java chars
and java's modified UTF8 encoding).
- setMultiTermRewriteMethod(MultiTermQuery.RewriteMethod) -
Method in class org.apache.lucene.queryParser.QueryParser
- By default QueryParser uses
MultiTermQuery.CONSTANT_SCORE_AUTO_REWRITE_DEFAULT
when creating a PrefixQuery, WildcardQuery or RangeQuery.
- 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.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.PositiveScoresOnlyCollector
-
- setNextReader(IndexReader, int) -
Method in class org.apache.lucene.search.TimeLimitingCollector
-
- setNextReader(IndexReader, int) -
Method in class org.apache.lucene.search.TopScoreDocCollector
-
- setNorm(int, String, byte) -
Method in class org.apache.lucene.index.IndexReader
- Expert: Resets the normalization factor for the named field of the named
document.
- setNorm(int, String, float) -
Method in class org.apache.lucene.index.IndexReader
- Expert: Resets the normalization factor for the named field of the named
document.
- setNumWords(int) -
Method in class org.apache.lucene.util.OpenBitSet
- Expert: sets the number of longs in the array that are in use
- setOccur(BooleanClause.Occur) -
Method in class org.apache.lucene.search.BooleanClause
-
- 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
- Expert:
If set, omit term freq, positions and payloads from
postings for this field.
- setOmitTermFreqAndPositions(boolean) -
Method in interface org.apache.lucene.document.Fieldable
- Expert:
If set, omit term freq, positions and payloads from
postings for this field.
- setOverridesTokenStreamMethod(Class<? extends Analyzer>) -
Method in class org.apache.lucene.analysis.Analyzer
- Deprecated. This is only present to preserve
back-compat of classes that subclass a core analyzer
and override tokenStream but not reusableTokenStream
- 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.
- setPhraseSlop(int) -
Method in class org.apache.lucene.queryParser.QueryParser
- Sets the default slop for phrases.
- setPositionIncrement(int) -
Method in class org.apache.lucene.analysis.Token
- Set the position increment.
- 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.
- setPreviousTokenStream(Object) -
Method in class org.apache.lucene.analysis.Analyzer
- Used by Analyzers that implement reusableTokenStream
to save a TokenStream for later re-use by the same
thread.
- setQuery(Query) -
Method in class org.apache.lucene.search.BooleanClause
-
- setRAMBufferSizeMB(double) -
Method in class org.apache.lucene.index.IndexWriter
- Determines the amount of RAM that may be used for
buffering added documents and deletions before they are
flushed to the Directory.
- setRamUsageEstimator(RamUsageEstimator) -
Method in class org.apache.lucene.util.FieldCacheSanityChecker
- If set, will be used to estimate size for all CacheEntry objects
dealt with.
- 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
- Sets the maximum number of bytes read at once from the
underlying file during
IndexInput.readBytes(byte[], int, int)
.
- setReplaceInvalidAcronym(boolean) -
Method in class org.apache.lucene.analysis.standard.StandardTokenizer
- Deprecated. Remove in 3.X and make true the only valid value
See https://issues.apache.org/jira/browse/LUCENE-1068
- setResolution(long) -
Static method in class org.apache.lucene.search.TimeLimitingCollector
- Set the timer resolution.
- setRewriteMethod(MultiTermQuery.RewriteMethod) -
Method in class org.apache.lucene.search.FuzzyQuery
-
- setRewriteMethod(MultiTermQuery.RewriteMethod) -
Method in class org.apache.lucene.search.MultiTermQuery
- Sets the rewrite method to be used when executing the
query.
- setRunningMerge(MergePolicy.OneMerge) -
Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
- setScorer(Scorer) -
Method in class org.apache.lucene.search.Collector
- Called before successive calls to
Collector.collect(int)
.
- 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.PositiveScoresOnlyCollector
-
- setScorer(Scorer) -
Method in class org.apache.lucene.search.TimeLimitingCollector
-
- setScorer(Scorer) -
Method in class org.apache.lucene.search.TopScoreDocCollector
-
- setSimilarity(Similarity) -
Method in class org.apache.lucene.index.IndexWriter
- Expert: Set the Similarity implementation used by this IndexWriter.
- setSimilarity(Similarity) -
Method in class org.apache.lucene.search.Searcher
- Expert: Set the Similarity implementation used by this Searcher.
- setSlop(int) -
Method in class org.apache.lucene.search.MultiPhraseQuery
- Sets the phrase slop for this query.
- setSlop(int) -
Method in class org.apache.lucene.search.PhraseQuery
- Sets the number of other words permitted between words in query phrase.
- setSort(SortField) -
Method in class org.apache.lucene.search.Sort
- Sets the sort to the given criteria.
- setSort(SortField...) -
Method in class org.apache.lucene.search.Sort
- Sets the sort to the given criteria in succession.
- setStartOffset(int) -
Method in class org.apache.lucene.analysis.Token
- Set the starting offset.
- setStartOffset(int) -
Method in class org.apache.lucene.index.TermVectorOffsetInfo
-
- setStoreTermVector(Field.TermVector) -
Method in class org.apache.lucene.document.AbstractField
-
- setStrict(boolean) -
Method in class org.apache.lucene.search.function.CustomScoreQuery
- Set the strict mode of this query.
- setTermBuffer(char[], int, int) -
Method in class org.apache.lucene.analysis.Token
- Copies the contents of buffer, starting at offset for
length characters, into the termBuffer array.
- setTermBuffer(String) -
Method in class org.apache.lucene.analysis.Token
- Copies the contents of buffer into the termBuffer array.
- setTermBuffer(String, int, int) -
Method in class org.apache.lucene.analysis.Token
- Copies the contents of buffer, starting at offset and continuing
for length characters, into the termBuffer array.
- setTermBuffer(char[], int, int) -
Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
- 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
- Copies the contents of buffer into the termBuffer array.
- setTermBuffer(String, int, int) -
Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
- Copies the contents of buffer, starting at offset and continuing
for length characters, into the termBuffer array.
- setTermBuffer(char[], int, int) -
Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
- Copies the contents of buffer, starting at offset for
length characters, into the termBuffer array.
- setTermBuffer(String) -
Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
- Copies the contents of buffer into the termBuffer array.
- setTermBuffer(String, int, int) -
Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
- Copies the contents of buffer, starting at offset and continuing
for length characters, into the termBuffer array.
- setTermCountCutoff(int) -
Method in class org.apache.lucene.search.MultiTermQuery.ConstantScoreAutoRewrite
- If the number of terms in this query is equal to or
larger than this setting then
MultiTermQuery.CONSTANT_SCORE_FILTER_REWRITE
is used.
- setTermIndexInterval(int) -
Method in class org.apache.lucene.index.IndexWriter
- Expert: Set the interval between indexed terms.
- setTermLength(int) -
Method in class org.apache.lucene.analysis.Token
- Set number of valid characters (length of the term) in
the termBuffer array.
- setTermLength(int) -
Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
- Set number of valid characters (length of the term) in
the termBuffer array.
- setTermLength(int) -
Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
- Set number of valid characters (length of the term) in
the termBuffer array.
- setTestMode() -
Static method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- 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.
- setUseCompoundDocStore(boolean) -
Method in class org.apache.lucene.index.LogMergePolicy
- Sets whether compound file format should be used for
newly flushed and newly merged doc store
segment files (term vectors and stored fields).
- setUseCompoundFile(boolean) -
Method in class org.apache.lucene.index.IndexWriter
- Setting to turn on usage of a compound file.
- setUseCompoundFile(boolean) -
Method in class org.apache.lucene.index.LogMergePolicy
- Sets whether compound file format should be used for
newly flushed and newly merged segments.
- 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(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
- Sets the maximum time to wait for a write lock (in milliseconds) for this instance of IndexWriter.
- 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.
- 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.
- shrink(int[], int) -
Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(long[], int) -
Static method in class org.apache.lucene.util.ArrayUtil
-
- shrink(byte[], int) -
Static method in class org.apache.lucene.util.ArrayUtil
-
- similarity -
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
- Expert: Delegating scoring implementation.
- SimilarityDelegator(Similarity) -
Constructor for class org.apache.lucene.search.SimilarityDelegator
- Construct a
Similarity
that delegates all methods to another.
- SimpleAnalyzer - Class in org.apache.lucene.analysis
- An
Analyzer
that filters LetterTokenizer
with LowerCaseFilter
- SimpleAnalyzer() -
Constructor for class org.apache.lucene.analysis.SimpleAnalyzer
-
- 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
- Create a new SimpleFSDirectory for the named location and
NativeFSLockFactory
.
- SimpleFSDirectory.SimpleFSIndexInput - Class in org.apache.lucene.store
-
- SimpleFSDirectory.SimpleFSIndexInput(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
-
- SimpleFSDirectory.SimpleFSIndexOutput - Class in org.apache.lucene.store
-
- SimpleFSDirectory.SimpleFSIndexOutput(File) -
Constructor for class org.apache.lucene.store.SimpleFSDirectory.SimpleFSIndexOutput
-
- SimpleFSLockFactory - Class in org.apache.lucene.store
- Implements
LockFactory
using File.createNewFile()
. - 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).
- SimpleLRUCache<K,V> - Class in org.apache.lucene.util.cache
- Simple LRU cache implementation that uses a LinkedHashMap.
- SimpleLRUCache(int) -
Constructor for class org.apache.lucene.util.cache.SimpleLRUCache
- Creates a last-recently-used cache with the specified size.
- SimpleMapCache<K,V> - Class in org.apache.lucene.util.cache
- Simple cache implementation that uses a HashMap to store (key, value) pairs.
- SimpleMapCache() -
Constructor for class org.apache.lucene.util.cache.SimpleMapCache
-
- SimpleMapCache(Map<K, V>) -
Constructor for class org.apache.lucene.util.cache.SimpleMapCache
-
- 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
.
- size() -
Method in class org.apache.lucene.analysis.CharArraySet
-
- size(SegmentInfo) -
Method in class org.apache.lucene.index.LogByteSizeMergePolicy
-
- size(SegmentInfo) -
Method in class org.apache.lucene.index.LogDocMergePolicy
-
- size(SegmentInfo) -
Method in class org.apache.lucene.index.LogMergePolicy
-
- size() -
Method in interface org.apache.lucene.index.TermFreqVector
-
- size() -
Method in class org.apache.lucene.search.QueryTermVector
-
- size() -
Method in class org.apache.lucene.util.BitVector
- Returns the number of bits in this vector.
- size() -
Method in class org.apache.lucene.util.OpenBitSet
- Returns the current capacity of this set.
- size() -
Method in class org.apache.lucene.util.PriorityQueue
- Returns the number of elements currently stored in the PriorityQueue.
- size() -
Method in class org.apache.lucene.util.ScorerDocQueue
- Returns the number of scorers currently stored in the ScorerDocQueue.
- size() -
Method in class org.apache.lucene.util.SortedVIntList
-
- sizeBytes(SegmentInfo) -
Method in class org.apache.lucene.index.LogMergePolicy
-
- sizeDocs(SegmentInfo) -
Method in class org.apache.lucene.index.LogMergePolicy
-
- sizeInBytes() -
Method in class org.apache.lucene.index.SegmentInfo
- Returns total size in bytes of all of files used by
this segment.
- sizeInBytes() -
Method in class org.apache.lucene.store.RAMDirectory
- Return total size in bytes of all files in this
directory.
- sizeInBytes() -
Method in class org.apache.lucene.store.RAMOutputStream
- Returns byte usage of all buffers.
- sizeMB -
Variable in class org.apache.lucene.index.CheckIndex.Status.SegmentInfoStatus
- Net size (MB) of the files referenced by this
segment.
- skipChars(int) -
Method in class org.apache.lucene.store.IndexInput
- Deprecated. this method operates on old "modified utf8" encoded
strings
- skipTo(int) -
Method in class org.apache.lucene.index.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.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
-
- SmallFloat - Class in org.apache.lucene.util
- Floating point numbers smaller than 32 bits.
- SmallFloat() -
Constructor for class org.apache.lucene.util.SmallFloat
-
- snapshot() -
Method in class org.apache.lucene.index.SnapshotDeletionPolicy
- Take a snapshot of the most recent commit to the
index.
- SnapshotDeletionPolicy - Class in org.apache.lucene.index
- A
IndexDeletionPolicy
that wraps around any other
IndexDeletionPolicy
and adds the ability to hold and
later release a single "snapshot" of an index. - SnapshotDeletionPolicy(IndexDeletionPolicy) -
Constructor for class org.apache.lucene.index.SnapshotDeletionPolicy
-
- Sort - Class in org.apache.lucene.search
- Encapsulates sort criteria for returned hits.
- Sort() -
Constructor for class org.apache.lucene.search.Sort
- Sorts by computed relevance.
- Sort(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.
- 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
- Store a sorted collection of
TermVectorEntry
s. - 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(OpenBitSet) -
Constructor for class org.apache.lucene.util.SortedVIntList
- Create a SortedVIntList from an OpenBitSet.
- SortedVIntList(DocIdSetIterator) -
Constructor for class org.apache.lucene.util.SortedVIntList
- Create a SortedVIntList.
- SorterTemplate - Class in org.apache.lucene.util
- Borrowed from Cglib.
- 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.
- 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
.
- 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.
- 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.
- StaleReaderException - Exception in org.apache.lucene.index
- This exception is thrown when an
IndexReader
tries to make changes to the index (via IndexReader.deleteDocument(int)
, IndexReader.undeleteAll()
or IndexReader.setNorm(int, java.lang.String, byte)
)
but changes have already been committed to the index
since this reader was instantiated. - StaleReaderException(String) -
Constructor for exception org.apache.lucene.index.StaleReaderException
-
- StandardAnalyzer - Class in org.apache.lucene.analysis.standard
- Filters
StandardTokenizer
with StandardFilter
, LowerCaseFilter
and StopFilter
, using a list of
English stop words. - StandardAnalyzer(Version) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Builds an analyzer with the default stop words (
StandardAnalyzer.STOP_WORDS_SET
).
- StandardAnalyzer(Version, Set<?>) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Builds an analyzer with the given stop words.
- StandardAnalyzer(Version, File) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Builds an analyzer with the stop words from the given file.
- 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
- Normalizes tokens extracted with
StandardTokenizer
. - StandardFilter(TokenStream) -
Constructor for class org.apache.lucene.analysis.standard.StandardFilter
- Construct filtering in.
- StandardTokenizer - Class in org.apache.lucene.analysis.standard
- A grammar-based tokenizer constructed with JFlex
- StandardTokenizer(Version, Reader) -
Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
- Creates a new instance of the
StandardTokenizer
.
- StandardTokenizer(Version, AttributeSource, Reader) -
Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
- Creates a new StandardTokenizer with a given
AttributeSource
.
- StandardTokenizer(Version, AttributeSource.AttributeFactory, Reader) -
Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
- Creates a new StandardTokenizer with a given
AttributeSource.AttributeFactory
- 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.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.
- 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.
- StopAnalyzer - Class in org.apache.lucene.analysis
- Filters
LetterTokenizer
with LowerCaseFilter
and StopFilter
. - StopAnalyzer(Version) -
Constructor for class org.apache.lucene.analysis.StopAnalyzer
- Builds an analyzer which removes words in
StopAnalyzer.ENGLISH_STOP_WORDS_SET
.
- 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
- Construct a token stream filtering the given input.
- StopFilter(boolean, 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.
- 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
-
- storePositionWithTermVector -
Variable in class org.apache.lucene.document.AbstractField
-
- STORES_PAYLOADS -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields that store payloads
- storeTermVector -
Variable in class org.apache.lucene.document.AbstractField
-
- STR_SIZE -
Static variable in class org.apache.lucene.document.NumberTools
- Deprecated. The length of (all) strings returned by
NumberTools.longToString(long)
- 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.
- stringDifference(String, String) -
Static method in class org.apache.lucene.util.StringHelper
- Compares two strings, character by character, and returns the
first position where the two strings differ from one another.
- StringHelper - Class in org.apache.lucene.util
- Methods for manipulating strings.
- 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
- returns an iterator of new allocated Strings
- stringToDate(String) -
Static method in class org.apache.lucene.document.DateField
- Deprecated. Converts a string-encoded date into a Date object.
- stringToDate(String) -
Static method in class org.apache.lucene.document.DateTools
- Converts a string produced by
timeToString
or
dateToString
back to a time, represented as a
Date object.
- stringToLong(String) -
Static method in class org.apache.lucene.document.NumberTools
- Deprecated. Converts a String that was returned by
NumberTools.longToString(long)
back to a
long.
- 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 (how it is stored, when
Field.Store.YES
is chosen).
- strVal(int) -
Method in class org.apache.lucene.search.function.DocValues
- Return doc value as a string.
- subDoc(int) -
Method in class org.apache.lucene.search.MultiSearcher
- Returns the document number of document
n
within its
sub-index.
- 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.
- subReader(int, IndexReader) -
Static method in class org.apache.lucene.util.ReaderUtil
- Returns sub IndexReader that contains the given document id.
- subReader(IndexReader, int) -
Static method in class org.apache.lucene.util.ReaderUtil
- Returns sub-reader subIndex from reader.
- 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
- Returns index of the searcher for document
n
in the array
used to construct this searcher.
- subset(int, int) -
Method in class org.apache.lucene.util.BitVector
- Retrieve a subset of this BitVector.
- 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
-
- 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
-
- SwitchTo(int) -
Method in class org.apache.lucene.queryParser.QueryParserTokenManager
- Switch to specified lex state.
- sync() -
Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- sync(String) -
Method in class org.apache.lucene.store.Directory
- Ensure that any writes to this file are moved to
stable storage.
- sync(String) -
Method in class org.apache.lucene.store.FileSwitchDirectory
-
- sync(String) -
Method in class org.apache.lucene.store.FSDirectory
-
- synchronizedCache(Cache<K, V>) -
Static method in class org.apache.lucene.util.cache.Cache
- Returns a thread-safe cache backed by the specified cache.
T
- 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
- A filter that decides which
AttributeSource
states to store in the sink. - TeeSinkTokenFilter.SinkFilter() -
Constructor for class org.apache.lucene.analysis.TeeSinkTokenFilter.SinkFilter
-
- TeeSinkTokenFilter.SinkTokenStream - Class in org.apache.lucene.analysis
-
- term() -
Method in class org.apache.lucene.analysis.Token
- Returns the Token's term text.
- term() -
Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
- Returns the Token's term text.
- term() -
Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
- 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
- The term text of a Token.
- TermAttributeImpl - Class in org.apache.lucene.analysis.tokenattributes
- The term text of a Token.
- TermAttributeImpl() -
Constructor for class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
-
- termBuffer() -
Method in class org.apache.lucene.analysis.Token
- Returns the internal termBuffer character array which
you can then directly alter.
- termBuffer() -
Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
- Returns the internal termBuffer character array which
you can then directly alter.
- termBuffer() -
Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
- 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.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.
- 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.Token
- Return number of valid characters (length of the term)
in the termBuffer array.
- termLength() -
Method in interface org.apache.lucene.analysis.tokenattributes.TermAttribute
- Return number of valid characters (length of the term)
in the termBuffer array.
- termLength() -
Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
- 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
- Returns an unpositioned
TermPositions
enumerator.
- termPositions() -
Method in class org.apache.lucene.index.MultiReader
-
- termPositions(Term) -
Method in class org.apache.lucene.index.ParallelReader
-
- termPositions() -
Method in class org.apache.lucene.index.ParallelReader
-
- termPositions() -
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
-
- 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
-
- TERMVECTOR -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields with termvectors enabled.
- TERMVECTOR_WITH_OFFSET -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields with termvectors with offset values enabled
- TERMVECTOR_WITH_POSITION -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields with termvectors with position values enabled
- TERMVECTOR_WITH_POSITION_OFFSET -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields with termvectors with offset values and position values enabled
- TermVectorEntry - Class in org.apache.lucene.index
- Convenience class for holding TermVector information.
- TermVectorEntry() -
Constructor for class org.apache.lucene.index.TermVectorEntry
-
- TermVectorEntry(String, String, int, TermVectorOffsetInfo[], int[]) -
Constructor for class org.apache.lucene.index.TermVectorEntry
-
- TermVectorEntryFreqSortedComparator - Class in org.apache.lucene.index
- Compares
TermVectorEntry
s first by frequency and then by
the term (case-sensitive) - TermVectorEntryFreqSortedComparator() -
Constructor for class org.apache.lucene.index.TermVectorEntryFreqSortedComparator
-
- TermVectorMapper - Class in org.apache.lucene.index
- The TermVectorMapper can be used to map Term Vectors into your own
structure instead of the parallel array structure used by
IndexReader.getTermFreqVector(int,String)
. - 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
-
- 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
-
- 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, 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.
- timestamp -
Variable in class org.apache.lucene.search.FilterManager.FilterItem
-
- timeToString(long) -
Static method in class org.apache.lucene.document.DateField
- Deprecated. Converts a millisecond time to a string suitable for indexing.
- timeToString(long, DateTools.Resolution) -
Static method in class org.apache.lucene.document.DateTools
- Converts a millisecond time to a string suitable for indexing.
- toByteArray() -
Method in class org.apache.lucene.index.Payload
- Allocates a new byte array, copies the payload data into it and returns it.
- toHtml() -
Method in class org.apache.lucene.search.Explanation
- Render an explanation as HTML.
- 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.
- 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.StandardTokenizer
- String token types that correspond to token type int constants
- TokenFilter - Class in org.apache.lucene.analysis
- A TokenFilter is a TokenStream whose input is another 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
- Construct a tokenizer with null input.
- 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
- Construct a tokenizer with null input using the given AttributeFactory.
- 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
- Construct a token stream processing the given input using the given AttributeSource.
- 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.KeywordAnalyzer
-
- tokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
-
- tokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.SimpleAnalyzer
-
- tokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
- Constructs a
StandardTokenizer
filtered by a StandardFilter
, a LowerCaseFilter
and a StopFilter
.
- tokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.StopAnalyzer
- Filters LowerCaseTokenizer with StopFilter.
- TokenStream - Class in org.apache.lucene.analysis
- A
TokenStream
enumerates the sequence of tokens, either from
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.analysis.WhitespaceAnalyzer
-
- 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
- Returns a
NumericTokenStream
for indexing the numeric value.
- 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
- Represents hits returned by
Searcher.search(Query,Filter,int)
and Searcher.search(Query,int)
. - 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
-
- TopFieldCollector - Class in org.apache.lucene.search
- A
Collector
that sorts by SortField
using
FieldComparator
s. - TopFieldDocs - Class in org.apache.lucene.search
- Represents hits returned by
Searcher.search(Query,Filter,int,Sort)
. - 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
-
- 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.Token
-
- toString() -
Method in class org.apache.lucene.analysis.tokenattributes.TermAttributeImpl
-
- toString() -
Method in class org.apache.lucene.document.AbstractField
- Prints a Field for human consumption.
- toString() -
Method in class org.apache.lucene.document.DateTools.Resolution
-
- toString() -
Method in class org.apache.lucene.document.Document
- Prints the fields of a document for human consumption.
- toString() -
Method in class org.apache.lucene.index.ConcurrentMergeScheduler.MergeThread
-
- toString() -
Method in class org.apache.lucene.index.IndexReader.FieldOption
-
- toString() -
Method in class org.apache.lucene.index.IndexWriter.MaxFieldLength
-
- toString() -
Method in class org.apache.lucene.index.SegmentInfo
-
- 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.messages.MessageImpl
-
- 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
- Prints a user-readable version of this query.
- toString(String) -
Method in class org.apache.lucene.search.DisjunctionMaxQuery
- Prettyprint us.
- toString() -
Method in class org.apache.lucene.search.Explanation
- Render an explanation as text.
- toString(int) -
Method in class org.apache.lucene.search.Explanation
-
- toString() -
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(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(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.SpanNearQuery
-
- toString(String) -
Method in class org.apache.lucene.search.spans.SpanNotQuery
-
- toString(String) -
Method in class org.apache.lucene.search.spans.SpanOrQuery
-
- toString(String) -
Method in class org.apache.lucene.search.spans.SpanTermQuery
-
- toString() -
Method in class org.apache.lucene.search.spans.TermSpans
-
- toString(String) -
Method in class org.apache.lucene.search.TermQuery
- Prints a user-readable version of this query.
- toString(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.FSDirectory
- For debug output.
- toString() -
Method in class org.apache.lucene.util.AttributeImpl
- The default implementation of this method accesses all declared
fields of this object and prints the values in the following syntax:
- toString() -
Method in class org.apache.lucene.util.AttributeSource
-
- 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.Parameter
- Deprecated.
- ToStringUtils - Class in org.apache.lucene.util
- Helper methods to ease implementing
Object.toString()
. - ToStringUtils() -
Constructor for class org.apache.lucene.util.ToStringUtils
-
- 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.
- 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
- Set the modified time of an existing file to now.
- touchFile(String) -
Method in class org.apache.lucene.store.FileSwitchDirectory
-
- touchFile(String) -
Method in class org.apache.lucene.store.FSDirectory
- Set the modified time of an existing file to now.
- touchFile(String) -
Method in class org.apache.lucene.store.RAMDirectory
- Set the modified time of an existing file to now.
- trimTrailingZeros() -
Method in class org.apache.lucene.util.OpenBitSet
- Lowers numWords, the number of words in use,
by checking for trailing zero words.
- tryLock() -
Method in class org.apache.lucene.util.DummyConcurrentLock
-
- tryLock(long, TimeUnit) -
Method in class org.apache.lucene.util.DummyConcurrentLock
-
- 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
-
U
- undeleteAll() -
Method in class org.apache.lucene.index.IndexReader
- Undeletes all documents currently marked as deleted in this index.
- UNI_REPLACEMENT_CHAR -
Static variable in class org.apache.lucene.util.UnicodeUtil
-
- UNI_SUR_HIGH_END -
Static variable in class org.apache.lucene.util.UnicodeUtil
-
- UNI_SUR_HIGH_START -
Static variable in class org.apache.lucene.util.UnicodeUtil
-
- UNI_SUR_LOW_END -
Static variable in class org.apache.lucene.util.UnicodeUtil
-
- UNI_SUR_LOW_START -
Static variable in class org.apache.lucene.util.UnicodeUtil
-
- UnicodeUtil - Class in org.apache.lucene.util
- Class to encode java's UTF16 char[] into UTF8 byte[]
without always allocating a new byte[] as
String.getBytes("UTF-8") does.
- UnicodeUtil() -
Constructor for class org.apache.lucene.util.UnicodeUtil
-
- UnicodeUtil.UTF16Result - Class in org.apache.lucene.util
-
- UnicodeUtil.UTF16Result() -
Constructor for class org.apache.lucene.util.UnicodeUtil.UTF16Result
-
- UnicodeUtil.UTF8Result - Class in org.apache.lucene.util
-
- UnicodeUtil.UTF8Result() -
Constructor for class org.apache.lucene.util.UnicodeUtil.UTF8Result
-
- UNINDEXED -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields which are not indexed
- union(OpenBitSet) -
Method in class org.apache.lucene.util.OpenBitSet
- this = this OR other
- unionCount(OpenBitSet, OpenBitSet) -
Static method in class org.apache.lucene.util.OpenBitSet
- Returns the popcount or cardinality of the union of the two sets.
- UNLIMITED -
Static variable in class org.apache.lucene.index.IndexWriter.MaxFieldLength
- Sets the maximum field length to
Integer.MAX_VALUE
.
- unlock(Directory) -
Static method in class org.apache.lucene.index.IndexWriter
- Forcibly unlocks the index in the named directory.
- unlock() -
Method in class org.apache.lucene.util.DummyConcurrentLock
-
- UNMAP_SUPPORTED -
Static variable in class org.apache.lucene.store.MMapDirectory
true
, if this platform supports unmapping mmapped files.
- unmodifiableSet(CharArraySet) -
Static method in class org.apache.lucene.analysis.CharArraySet
- Returns an unmodifiable
CharArraySet
.
- updateDocument(Term, Document) -
Method in class org.apache.lucene.index.IndexWriter
- Updates a document by first deleting the document(s)
containing
term
and then adding the new
document.
- updateDocument(Term, Document, Analyzer) -
Method in class org.apache.lucene.index.IndexWriter
- Updates a document by first deleting the document(s)
containing
term
and then adding the new
document.
- updateTop() -
Method in class org.apache.lucene.util.PriorityQueue
- Should be called when the Object at top changes values.
- useCompoundDocStore(SegmentInfos) -
Method in class org.apache.lucene.index.LogMergePolicy
-
- useCompoundDocStore(SegmentInfos) -
Method in class org.apache.lucene.index.MergePolicy
- Returns true if the doc store files should use the
compound file format.
- useCompoundFile(SegmentInfos, SegmentInfo) -
Method in class org.apache.lucene.index.LogMergePolicy
-
- useCompoundFile(SegmentInfos, SegmentInfo) -
Method in class org.apache.lucene.index.MergePolicy
- Returns true if a newly flushed (not from merge)
segment should use the compound file format.
- userData -
Variable in class org.apache.lucene.index.CheckIndex.Status
- Holds the userData of the last commit in the index
- UTF16toUTF8(char[], int, UnicodeUtil.UTF8Result) -
Static method in class org.apache.lucene.util.UnicodeUtil
- Encode characters from a char[] source, starting at
offset and stopping when the character 0xffff is seen.
- UTF16toUTF8(char[], int, int, UnicodeUtil.UTF8Result) -
Static method in class org.apache.lucene.util.UnicodeUtil
- Encode characters from a char[] source, starting at
offset for length chars.
- UTF16toUTF8(String, int, int, UnicodeUtil.UTF8Result) -
Static method in class org.apache.lucene.util.UnicodeUtil
- Encode characters from this String, starting at offset
for length characters.
- UTF8toUTF16(byte[], int, int, UnicodeUtil.UTF16Result) -
Static method in class org.apache.lucene.util.UnicodeUtil
- Convert UTF8 bytes into UTF16 characters.
V
- value(int) -
Method in class org.apache.lucene.search.FieldComparator.ByteComparator
-
- value(int) -
Method in class org.apache.lucene.search.FieldComparator.DocComparator
-
- value(int) -
Method in class org.apache.lucene.search.FieldComparator.DoubleComparator
-
- value(int) -
Method in class org.apache.lucene.search.FieldComparator.FloatComparator
-
- value(int) -
Method in class org.apache.lucene.search.FieldComparator.IntComparator
-
- value(int) -
Method in class org.apache.lucene.search.FieldComparator.LongComparator
-
- value(int) -
Method in class org.apache.lucene.search.FieldComparator.RelevanceComparator
-
- value(int) -
Method in class org.apache.lucene.search.FieldComparator.ShortComparator
-
- value(int) -
Method in class org.apache.lucene.search.FieldComparator.StringComparatorLocale
-
- value(int) -
Method in class org.apache.lucene.search.FieldComparator.StringOrdValComparator
-
- value(int) -
Method in class org.apache.lucene.search.FieldComparator.StringValComparator
-
- value(int) -
Method in class org.apache.lucene.search.FieldComparator
- Return the actual value in the slot.
- value -
Variable in class org.apache.lucene.search.spans.SpanScorer
-
- value -
Variable in class org.apache.lucene.search.spans.SpanWeight
-
- VALUEMISMATCH -
Static variable in class org.apache.lucene.util.FieldCacheSanityChecker.InsanityType
-
Indicates entries have the same reader+fieldname but
different cached values.
- valueOf(String) -
Static method in enum org.apache.lucene.document.Field.Index
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.lucene.document.Field.Store
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.lucene.document.Field.TermVector
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.lucene.document.FieldSelectorResult
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.lucene.queryParser.QueryParser.Operator
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.lucene.search.BooleanClause.Occur
- Returns the enum constant of this type with the specified name.
- valueOf(String) -
Static method in enum org.apache.lucene.util.Version
- Returns the enum constant of this type with the specified name.
- values() -
Static method in enum org.apache.lucene.document.Field.Index
- Returns an array containing the constants of this enum type, in
the order they're declared.
- values() -
Static method in enum org.apache.lucene.document.Field.Store
- Returns an array containing the constants of this enum type, in
the order they're declared.
- values() -
Static method in enum org.apache.lucene.document.Field.TermVector
- Returns an array containing the constants of this enum type, in
the order they're declared.
- values() -
Static method in enum org.apache.lucene.document.FieldSelectorResult
- Returns an array containing the constants of this enum type, in
the order they're declared.
- values() -
Static method in enum org.apache.lucene.queryParser.QueryParser.Operator
- Returns an array containing the constants of this enum type, in
the order they're declared.
- values() -
Static method in enum org.apache.lucene.search.BooleanClause.Occur
- Returns an array containing the constants of this enum type, in
the order they're declared.
- values() -
Static method in enum org.apache.lucene.util.Version
- Returns an array containing the constants of this enum type, in
the order they're declared.
- ValueSource - Class in org.apache.lucene.search.function
- Expert: source of values for basic function queries.
- ValueSource() -
Constructor for class org.apache.lucene.search.function.ValueSource
-
- ValueSourceQuery - Class in org.apache.lucene.search.function
- Expert: A Query that sets the scores of document to the
values obtained from a
ValueSource
. - ValueSourceQuery(ValueSource) -
Constructor for class org.apache.lucene.search.function.ValueSourceQuery
- Create a value source query
- verbose() -
Method in class org.apache.lucene.index.IndexWriter
- Returns true if verbosing is enabled (i.e., infoStream != null).
- verbose() -
Method in class org.apache.lucene.index.LogMergePolicy
-
- VerifyingLockFactory - Class in org.apache.lucene.store
- A
LockFactory
that wraps another LockFactory
and verifies that each lock obtain/release
is "correct" (never results in two processes holding the
lock at the same time). - VerifyingLockFactory(byte, LockFactory, String, int) -
Constructor for class org.apache.lucene.store.VerifyingLockFactory
-
- Version - Enum in org.apache.lucene.util
- Use by certain classes to match version compatibility
across releases of Lucene.
W
- waitForMerges() -
Method in class org.apache.lucene.index.IndexWriter
- Wait for any currently outstanding merges to finish.
- warm(IndexReader) -
Method in class org.apache.lucene.index.IndexWriter.IndexReaderWarmer
-
- weight(Searcher) -
Method in class org.apache.lucene.search.Query
- Expert: Constructs and initializes a Weight for a top-level query.
- weight -
Variable in class org.apache.lucene.search.spans.SpanScorer
-
- Weight - Class in org.apache.lucene.search
- Expert: Calculate query weights and build query scorers.
- Weight() -
Constructor for class org.apache.lucene.search.Weight
-
- weights -
Variable in class org.apache.lucene.search.BooleanQuery.BooleanWeight
-
- weights -
Variable in class org.apache.lucene.search.DisjunctionMaxQuery.DisjunctionMaxWeight
- The Weights for our subqueries, in 1-1 correspondence with disjuncts
- WhitespaceAnalyzer - Class in org.apache.lucene.analysis
- An Analyzer that uses
WhitespaceTokenizer
. - WhitespaceAnalyzer() -
Constructor for class org.apache.lucene.analysis.WhitespaceAnalyzer
-
- WhitespaceTokenizer - Class in org.apache.lucene.analysis
- A WhitespaceTokenizer is a tokenizer that divides text at whitespace.
- WhitespaceTokenizer(Reader) -
Constructor for class org.apache.lucene.analysis.WhitespaceTokenizer
- Construct a new WhitespaceTokenizer.
- WhitespaceTokenizer(AttributeSource, Reader) -
Constructor for class org.apache.lucene.analysis.WhitespaceTokenizer
- Construct a new WhitespaceTokenizer using a given
AttributeSource
.
- WhitespaceTokenizer(AttributeSource.AttributeFactory, Reader) -
Constructor for class org.apache.lucene.analysis.WhitespaceTokenizer
- Construct a new WhitespaceTokenizer using a given
AttributeSource.AttributeFactory
.
- WILDCARD_CHAR -
Static variable in class org.apache.lucene.search.WildcardTermEnum
-
- WILDCARD_STRING -
Static variable in class org.apache.lucene.search.WildcardTermEnum
- String equality with support for wildcards
- wildcardEquals(String, int, String, int) -
Static method in class org.apache.lucene.search.WildcardTermEnum
- Determines if a word matches a wildcard pattern.
- WildcardQuery - Class in org.apache.lucene.search
- Implements the wildcard search query.
- WildcardQuery(Term) -
Constructor for class org.apache.lucene.search.WildcardQuery
-
- WildcardTermEnum - Class in org.apache.lucene.search
- Subclass of FilteredTermEnum for enumerating all terms that match the
specified wildcard filter term.
- WildcardTermEnum(IndexReader, Term) -
Constructor for class org.apache.lucene.search.WildcardTermEnum
- Creates a new
WildcardTermEnum
.
- WILDTERM -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- WINDOWS -
Static variable in class org.apache.lucene.util.Constants
- True iff running on Windows.
- withOffsets() -
Method in enum org.apache.lucene.document.Field.TermVector
-
- withPositions() -
Method in enum org.apache.lucene.document.Field.TermVector
-
- wlen -
Variable in class org.apache.lucene.util.OpenBitSet
-
- WordlistLoader - Class in org.apache.lucene.analysis
- Loader for text files that represent a list of stopwords.
- WordlistLoader() -
Constructor for class org.apache.lucene.analysis.WordlistLoader
-
- write(Directory, String) -
Method in class org.apache.lucene.util.BitVector
- Writes this vector to the file
name
in Directory
d
, in a format that can be read by the constructor BitVector.BitVector(Directory, String)
.
- WRITE_LOCK_NAME -
Static variable in class org.apache.lucene.index.IndexWriter
- Name of the write lock in the index.
- WRITE_LOCK_TIMEOUT -
Static variable in class org.apache.lucene.index.IndexWriter
- Default value for the write lock timeout (1,000).
- writeByte(byte) -
Method in class org.apache.lucene.store.BufferedIndexOutput
- Writes a single byte.
- writeByte(byte) -
Method in class org.apache.lucene.store.ChecksumIndexOutput
-
- writeByte(byte) -
Method in class org.apache.lucene.store.IndexOutput
- Writes a single byte.
- writeByte(byte) -
Method in class org.apache.lucene.store.RAMOutputStream
-
- writeBytes(byte[], int, int) -
Method in class org.apache.lucene.store.BufferedIndexOutput
- Writes an array of bytes.
- writeBytes(byte[], int, int) -
Method in class org.apache.lucene.store.ChecksumIndexOutput
-
- writeBytes(byte[], int) -
Method in class org.apache.lucene.store.IndexOutput
- Writes an array of bytes.
- writeBytes(byte[], int, int) -
Method in class org.apache.lucene.store.IndexOutput
- Writes an array of bytes.
- writeBytes(byte[], int, int) -
Method in class org.apache.lucene.store.RAMOutputStream
-
- writeChars(String, int, int) -
Method in class org.apache.lucene.store.IndexOutput
- Deprecated. -- please pre-convert to utf8 bytes
instead or use
IndexOutput.writeString(java.lang.String)
- writeChars(char[], int, int) -
Method in class org.apache.lucene.store.IndexOutput
- Deprecated. -- please pre-convert to utf8 bytes instead or use
IndexOutput.writeString(java.lang.String)
- writeInt(int) -
Method in class org.apache.lucene.store.IndexOutput
- Writes an int as four bytes.
- writeLong(long) -
Method in class org.apache.lucene.store.IndexOutput
- Writes a long as eight bytes.
- writer -
Variable in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- writer -
Variable in class org.apache.lucene.index.MergePolicy
-
- writeString(String) -
Method in class org.apache.lucene.store.IndexOutput
- Writes a string.
- writeStringStringMap(Map<String, String>) -
Method in class org.apache.lucene.store.IndexOutput
-
- writeTo(IndexOutput) -
Method in class org.apache.lucene.store.RAMOutputStream
- Copy the current contents of this buffer to the named output.
- writeVInt(int) -
Method in class org.apache.lucene.store.IndexOutput
- Writes an int in a variable-length format.
- writeVLong(long) -
Method in class org.apache.lucene.store.IndexOutput
- Writes an long in a variable-length format.
X
- xor(OpenBitSet) -
Method in class org.apache.lucene.util.OpenBitSet
- this = this XOR other
- xorCount(OpenBitSet, OpenBitSet) -
Static method in class org.apache.lucene.util.OpenBitSet
- Returns the popcount or cardinality of the exclusive-or of the two sets.
Y
- YEAR -
Static variable in class org.apache.lucene.document.DateTools.Resolution
-
_
- _ESCAPED_CHAR -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- _innerIter -
Variable in class org.apache.lucene.search.FilteredDocIdSetIterator
-
- _NUM_CHAR -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- _QUOTED_CHAR -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- _TERM_CHAR -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- _TERM_START_CHAR -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- _WHITESPACE -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
A B C D E F G H I J K L M N O P Q R S T U V W X Y _
Copyright © 2000-2010 Apache Software Foundation. All Rights Reserved.