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
out -
Static variable in class org.apache.lucene.index.CheckIndex
Deprecated. Use CheckIndex.setInfoStream(java.io.PrintStream)
per instance,
instead.
overridesTokenStreamMethod -
Variable in class org.apache.lucene.analysis.Analyzer
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
- A serializable Enum class.
- Parameter(String) -
Constructor for class org.apache.lucene.util.Parameter
-
- parse(String[], String[], Analyzer) -
Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
- Deprecated. Use
MultiFieldQueryParser.parse(Version,String[],String[],Analyzer)
instead
- parse(Version, String[], String[], Analyzer) -
Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
- Parses a query which searches on the fields specified.
- parse(String, String[], BooleanClause.Occur[], Analyzer) -
Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
- Deprecated. Use
MultiFieldQueryParser.parse(Version, String, String[], BooleanClause.Occur[], Analyzer)
instead
- 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[], String[], BooleanClause.Occur[], Analyzer) -
Static method in class org.apache.lucene.queryParser.MultiFieldQueryParser
- Deprecated. Used
MultiFieldQueryParser.parse(Version, String[], String[], BooleanClause.Occur[], Analyzer)
instead
- 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) -
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) -
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 - 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, 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(Object, Object) -
Method in class org.apache.lucene.util.cache.Cache
- Puts a (key, value)-pair into the cache.
- put(Object, Object) -
Method in class org.apache.lucene.util.cache.SimpleMapCache
-
- put(Object, Object) -
Method in class org.apache.lucene.util.MapOfSets
- Adds val to the Set associated with key in the Map.
- put(Object) -
Method in class org.apache.lucene.util.PriorityQueue
- Deprecated. use
PriorityQueue.add(Object)
which returns the new top object,
saving an additional call to PriorityQueue.top()
.
- put(Scorer) -
Method in class org.apache.lucene.util.ScorerDocQueue
- Adds a Scorer to a ScorerDocQueue in log(size) time.
- putAll(Object, Collection) -
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
-
- QueryFilter - Class in org.apache.lucene.search
- Deprecated. use a CachingWrapperFilter with QueryWrapperFilter
- QueryFilter(Query) -
Constructor for class org.apache.lucene.search.QueryFilter
- Deprecated. Constructs a filter which only matches documents matching
query
.
- 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(String, Analyzer) -
Constructor for class org.apache.lucene.queryParser.QueryParser
- Deprecated. Use
QueryParser.QueryParser(Version, String, Analyzer)
instead
- 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 - Class 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.
- RAMDirectory(File) -
Constructor for class org.apache.lucene.store.RAMDirectory
- Deprecated. Use
RAMDirectory.RAMDirectory(Directory)
instead
- RAMDirectory(String) -
Constructor for class org.apache.lucene.store.RAMDirectory
- Deprecated. Use
RAMDirectory.RAMDirectory(Directory)
instead
- 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.
- RangeFilter - Class in org.apache.lucene.search
- Deprecated. Use
TermRangeFilter
for term ranges or
NumericRangeFilter
for numeric ranges instead.
This class will be removed in Lucene 3.0. - RangeFilter(String, String, String, boolean, boolean) -
Constructor for class org.apache.lucene.search.RangeFilter
- Deprecated.
- RangeFilter(String, String, String, boolean, boolean, Collator) -
Constructor for class org.apache.lucene.search.RangeFilter
- Deprecated. WARNING: Using this constructor and supplying a non-null
value in the
collator
parameter will cause every single
index Term in the Field referenced by lowerTerm and/or upperTerm to be
examined.
- RangeIn -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- Lexical state.
- RANGEIN_END -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEIN_GOOP -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEIN_QUOTED -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEIN_START -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RANGEIN_TO -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
- RegularExpression Id.
- RangeQuery - Class in org.apache.lucene.search
- Deprecated. Use
TermRangeQuery
for term ranges or
NumericRangeQuery
for numeric ranges instead.
This class will be removed in Lucene 3.0. - RangeQuery(Term, Term, boolean) -
Constructor for class org.apache.lucene.search.RangeQuery
- Deprecated. Constructs a query selecting all terms greater than
lowerTerm
but less than upperTerm
.
- RangeQuery(Term, Term, boolean, Collator) -
Constructor for class org.apache.lucene.search.RangeQuery
- Deprecated. Constructs a query selecting all terms greater than
lowerTerm
but less than upperTerm
.
- 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
- 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.
- RECACHE -
Static variable in class org.apache.lucene.search.CachingWrapperFilter.DeletesMode
-
- 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.QueryParserToke