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.
- purge(IndexReader) -
Method in interface org.apache.lucene.search.FieldCache
- Expert: drops all cache entries associated with this
reader.
- 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.
- RAMFile - Class in org.apache.lucene.store
- For Lucene internal use
- RAMFile() -
Constructor for class org.apache.lucene.store.RAMFile
-
- 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.
- RAMOutputStream(RAMFile) -
Constructor for class org.apache.lucene.store.RAMOutputStream
-
- 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(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 file.
- 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.
- setLastModified(long) -
Method in class org.apache.lucene.store.RAMFile
-
- setLength(long) -
Method in class org.apache.lucene.store.IndexOutput
- Set the file length.
- setLength(long) -
Method in class org.apache.lucene.store.RAMFile
-
- setLength(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
-
- setNoCFSRatio(double) -
Method in class org.apache.lucene.index.LogMergePolicy
- If a merged segment will be more than this percentage
of the total size of the index, leave the segment as
non-compound file even if compound file is enabled.
- 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)
.
- setReaderTermsIndexDivisor(int) -
Method in class org.apache.lucene.index.IndexWriter
- Sets the termsIndexDivisor passed to any readers that
IndexWriter opens, for example when applying deletes
or creating a near-real-time reader in
IndexWriter.getReader()
.
- 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