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.OS_NAME -
Static variable in class org.apache.lucene.util.Constants
The value of System.getProperty("os.name").
out -
Static variable in class org.apache.lucene.index.CheckIndex
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 searcher 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
- Parses a query which searches on the fields specified.
- parse(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
- 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.ExtendedFieldCache.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
-
- 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.
- parseLong(String) -
Method in interface org.apache.lucene.search.ExtendedFieldCache.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.
- 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.
- 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.
- 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
-
- 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.
- 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
-
- positions -
Variable in class org.apache.lucene.search.spans.TermSpans
-
- prefix -
Variable in class org.apache.lucene.search.PrefixFilter
-
- PrefixFilter - Class in org.apache.lucene.search
-
- 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
-
- 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
-
- put(Object) -
Method in class org.apache.lucene.util.PriorityQueue
- Adds an Object to a PriorityQueue in log(size) time.
- put(Scorer) -
Method in class org.apache.lucene.util.ScorerDocQueue
- Adds a Scorer to a ScorerDocQueue in log(size) time.
Q
- Query(String) -
Method in class org.apache.lucene.queryParser.QueryParser
-
- 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
- Constructs a query parser.
- QueryParser(CharStream) -
Constructor for class org.apache.lucene.queryParser.QueryParser
-
- QueryParser(QueryParserTokenManager) -
Constructor for class org.apache.lucene.queryParser.QueryParser
-
- QueryParser.Operator - Class in org.apache.lucene.queryParser
- The default operator for parsing queries.
- QueryParserConstants - Interface in org.apache.lucene.queryParser
-
- QueryParserTokenManager - Class in org.apache.lucene.queryParser
-
- QueryParserTokenManager(CharStream) -
Constructor for class org.apache.lucene.queryParser.QueryParserTokenManager
-
- QueryParserTokenManager(CharStream, int) -
Constructor for class org.apache.lucene.queryParser.QueryParserTokenManager
-
- 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
.
- QUOTED -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
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
- Creates a new
RAMDirectory
instance from the FSDirectory
.
- RAMDirectory(String) -
Constructor for class org.apache.lucene.store.RAMDirectory
- Creates a new
RAMDirectory
instance from the FSDirectory
.
- RAMOutputStream - Class in org.apache.lucene.store
- A memory-resident
IndexOutput
implementation. - RAMOutputStream() -
Constructor for class org.apache.lucene.store.RAMOutputStream
- Construct an empty output buffer.
- ramSizeInBytes() -
Method in class org.apache.lucene.index.IndexWriter
- Expert: Return the total size of all index files currently cached in memory.
- RangeEx -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RANGEEX_END -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RANGEEX_GOOP -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RANGEEX_QUOTED -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RANGEEX_START -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RANGEEX_TO -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RangeFilter - Class in org.apache.lucene.search
- A Filter that restricts search results to a range of values in a given
field.
- RangeFilter(String, String, String, boolean, boolean) -
Constructor for class org.apache.lucene.search.RangeFilter
-
- RangeIn -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RANGEIN_END -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RANGEIN_GOOP -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RANGEIN_QUOTED -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RANGEIN_START -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RANGEIN_TO -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- RangeQuery - Class in org.apache.lucene.search
- A Query that matches documents within an exclusive range.
- RangeQuery(Term, Term, boolean) -
Constructor for class org.apache.lucene.search.RangeQuery
- Constructs a query selecting all terms greater than
lowerTerm
but less than upperTerm
.
- 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(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.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.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
- Reads UTF-8 encoded characters into an array.
- 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, or null.
- 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.FSDirectory.FSIndexInput
- IndexInput methods
- readLong() -
Method in class org.apache.lucene.store.IndexInput
- Reads eight bytes and returns a long.
- 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.
- 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(CharStream) -
Method in class org.apache.lucene.queryParser.QueryParser
-
- ReInit(QueryParserTokenManager) -
Method in class org.apache.lucene.queryParser.QueryParser
-
- ReInit(CharStream) -
Method in class org.apache.lucene.queryParser.QueryParserTokenManager
-
- ReInit(CharStream, int) -
Method in class org.apache.lucene.queryParser.QueryParserTokenManager
-
- 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 interface org.apache.lucene.search.ScoreDocComparator
- Special comparator for sorting hits according to computed relevance (document score).
- RELEVANCE -
Static variable in class org.apache.lucene.search.Sort
- Represents sorting by computed relevance.
- RemoteCachingWrapperFilter - Class in org.apache.lucene.search
- Provides caching of
Filter
s themselves on the remote end of an RMI connection. - RemoteCachingWrapperFilter(Filter) -
Constructor for class org.apache.lucene.search.RemoteCachingWrapperFilter
-
- RemoteSearchable - Class in org.apache.lucene.search
- A remote searchable implementation.
- RemoteSearchable(Searchable) -
Constructor for class org.apache.lucene.search.RemoteSearchable
- Constructs and exports a remote searcher.
- remove() -
Method in class org.apache.lucene.analysis.CharArraySet.CharArraySetIterator
-
- remove() -
Method in class org.apache.lucene.search.HitIterator
- Unsupported operation.
- removeAccents(char[], int) -
Method in class org.apache.lucene.analysis.ISOLatin1AccentFilter
- 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.
- renameFile(String, String) -
Method in class org.apache.lucene.store.Directory
- Deprecated.
- renameFile(String, String) -
Method in class org.apache.lucene.store.FSDirectory
- Deprecated.
- renameFile(String, String) -
Method in class org.apache.lucene.store.RAMDirectory
- Deprecated.
- reopen() -
Method in class org.apache.lucene.index.IndexReader
- Refreshes an IndexReader if the index has changed since this instance
was (re)opened.
- 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.
- ReqExclScorer - Class in org.apache.lucene.search
- A Scorer for queries with a required subscorer and an excluding (prohibited) subscorer.
- ReqExclScorer(Scorer, Scorer) -
Constructor for class org.apache.lucene.search.ReqExclScorer
- Construct a
ReqExclScorer
.
- ReqOptSumScorer - Class in org.apache.lucene.search
- A Scorer for queries with a required part and an optional part.
- ReqOptSumScorer(Scorer, Scorer) -
Constructor for class org.apache.lucene.search.ReqOptSumScorer
- Construct a
ReqOptScorer
.
- reset() -
Method in class org.apache.lucene.analysis.CachingTokenFilter
-
- 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.SinkTokenizer
- Reset the internal data structures to the start at the front of the list of tokens.
- reset() -
Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- reset(Reader) -
Method in class org.apache.lucene.analysis.standard.StandardTokenizer
-
- reset(Reader) -
Method in class org.apache.lucene.analysis.Tokenizer
- Expert: Reset the tokenizer to a new reader.
- reset() -
Method in class org.apache.lucene.analysis.TokenStream
- Resets this stream to the beginning.
- reset() -
Method in class org.apache.lucene.store.RAMOutputStream
- Resets this to an empty buffer.
- resizeTermBuffer(int) -
Method in class org.apache.lucene.analysis.Token
- Grows the termBuffer to at least size newSize.
- 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
-
- 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.ConstantScoreRangeQuery
-
- 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) -
Method in class org.apache.lucene.search.MultiTermQuery
-
- rewrite(Query) -
Method in class org.apache.lucene.search.ParallelMultiSearcher
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.PrefixQuery
-
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.Query
- Expert: called to re-write queries into primitive queries.
- rewrite(IndexReader) -
Method in class org.apache.lucene.search.RangeQuery
-
- rewrite(Query) -
Method in class org.apache.lucene.search.RemoteSearchable
-
- 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.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
-
- 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
-
- 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 -
Variable in class org.apache.lucene.search.FuzzyQuery.ScoreTerm
-
- score(int) -
Method in class org.apache.lucene.search.Hits
- Returns the score for the nth document in this set.
- score() -
Method in class org.apache.lucene.search.ReqExclScorer
- Returns the score of the current document matching the query.
- score() -
Method in class org.apache.lucene.search.ReqOptSumScorer
- Returns the score of the current document matching the query.
- score -
Variable in class org.apache.lucene.search.ScoreDoc
- Expert: The score of this document for the query.
- score(HitCollector) -
Method in class org.apache.lucene.search.Scorer
- Scores and collects all matching documents.
- score(HitCollector, int) -
Method in class org.apache.lucene.search.Scorer
- Expert: Collects matching documents in a range.
- score() -
Method in class org.apache.lucene.search.Scorer
- Returns the score of the current document matching the query.
- SCORE -
Static variable in class org.apache.lucene.search.SortField
- Sort by document score (relevancy).
- score() -
Method in class org.apache.lucene.search.spans.SpanScorer
-
- ScoreDoc - Class in org.apache.lucene.search
- Expert: Returned by low-level search implementations.
- ScoreDoc(int, float) -
Constructor for class org.apache.lucene.search.ScoreDoc
- Expert: Constructs a ScoreDoc.
- ScoreDocComparator - Interface in org.apache.lucene.search
- Expert: Compares two ScoreDoc objects for sorting.
- scoreDocs -
Variable in class org.apache.lucene.search.TopDocs
- Expert: The top hits for the query.
- scorePayload(String, byte[], int, int) -
Method in class org.apache.lucene.search.Similarity
- Calculate a scoring factor based on the data in the payload.
- scorer(IndexReader) -
Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- scorer(IndexReader) -
Method in class org.apache.lucene.search.payloads.BoostingTermQuery.BoostingTermWeight
-
- Scorer - Class in org.apache.lucene.search
- Expert: Common scoring functionality for different types of queries.
- Scorer(Similarity) -
Constructor for class org.apache.lucene.search.Scorer
- Constructs a Scorer.
- scorer(IndexReader) -
Method in class org.apache.lucene.search.spans.SpanWeight
-
- scorer(IndexReader) -
Method in interface org.apache.lucene.search.Weight
- Constructs a scorer for this.
- ScorerDocQueue - Class in org.apache.lucene.util
- A ScorerDocQueue maintains a partial ordering of its Scorers such that the
least Scorer can always be found in constant time.
- ScorerDocQueue(int) -
Constructor for class org.apache.lucene.util.ScorerDocQueue
- Create a ScorerDocQueue with a maximum size.
- search(Weight, Filter, int) -
Method in class org.apache.lucene.search.IndexSearcher
-
- search(Weight, Filter, int, Sort) -
Method in class org.apache.lucene.search.IndexSearcher
-
- search(Weight, Filter, HitCollector) -
Method in class org.apache.lucene.search.IndexSearcher
-
- search(Weight, Filter, int) -
Method in class org.apache.lucene.search.MultiSearcher
-
- search(Weight, Filter, int, Sort) -
Method in class org.apache.lucene.search.MultiSearcher
-
- search(Weight, Filter, HitCollector) -
Method in class org.apache.lucene.search.MultiSearcher
-
- search(Weight, Filter, int) -
Method in class org.apache.lucene.search.ParallelMultiSearcher
- A search implementation which spans a new thread for each
Searchable, waits for each search to complete and merge
the results back together.
- search(Weight, Filter, int, Sort) -
Method in class org.apache.lucene.search.ParallelMultiSearcher
- A search implementation allowing sorting which spans a new thread for each
Searchable, waits for each search to complete and merges
the results back together.
- search(Weight, Filter, HitCollector) -
Method in class org.apache.lucene.search.ParallelMultiSearcher
- Lower-level search API.
- search(Weight, Filter, HitCollector) -
Method in class org.apache.lucene.search.RemoteSearchable
-
- search(Weight, Filter, int) -
Method in class org.apache.lucene.search.RemoteSearchable
-
- search(Weight, Filter, int, Sort) -
Method in class org.apache.lucene.search.RemoteSearchable
-
- search(Weight, Filter, HitCollector) -
Method in interface org.apache.lucene.search.Searchable
- Lower-level search API.
- search(Weight, Filter, int) -
Method in interface org.apache.lucene.search.Searchable
- Expert: Low-level search implementation.
- search(Weight, Filter, int, Sort) -
Method in interface org.apache.lucene.search.Searchable
- Expert: Low-level search implementation with arbitrary sorting.
- search(Query) -
Method in class org.apache.lucene.search.Searcher
- Returns the documents matching
query
.
- search(Query, Filter) -
Method in class org.apache.lucene.search.Searcher
- Returns the documents matching
query
and
filter
.
- search(Query, Sort) -
Method in class org.apache.lucene.search.Searcher
- Returns documents matching
query
sorted by
sort
.
- search(Query, Filter, Sort) -
Method in class org.apache.lucene.search.Searcher
- Returns documents matching
query
and filter
,
sorted by sort
.
- search(Query, Filter, int, Sort) -
Method in class org.apache.lucene.search.Searcher
- Expert: Low-level search implementation with arbitrary sorting.
- search(Query, HitCollector) -
Method in class org.apache.lucene.search.Searcher
- Lower-level search API.
- search(Query, Filter, HitCollector) -
Method in class org.apache.lucene.search.Searcher
- Lower-level search API.
- search(Query, Filter, int) -
Method in class org.apache.lucene.search.Searcher
- Expert: Low-level search implementation.
- search(Weight, Filter, HitCollector) -
Method in class org.apache.lucene.search.Searcher
-
- search(Weight, Filter, int) -
Method in class org.apache.lucene.search.Searcher
-
- search(Weight, Filter, int, Sort) -
Method in class org.apache.lucene.search.Searcher
-
- Searchable - Interface in org.apache.lucene.search
- The interface for search implementations.
- Searcher - Class in org.apache.lucene.search
- An abstract base class for search implementations.
- Searcher() -
Constructor for class org.apache.lucene.search.Searcher
-
- SECOND -
Static variable in class org.apache.lucene.document.DateTools.Resolution
-
- seek(Term) -
Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- seek(TermEnum) -
Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- seek(Term) -
Method in class org.apache.lucene.index.MultipleTermPositions
- Not implemented.
- seek(TermEnum) -
Method in class org.apache.lucene.index.MultipleTermPositions
- Not implemented.
- seek(Term) -
Method in interface org.apache.lucene.index.TermDocs
- Sets this to the data for a term.
- seek(TermEnum) -
Method in interface org.apache.lucene.index.TermDocs
- Sets this to the data for the current term in a
TermEnum
.
- seek(long) -
Method in class org.apache.lucene.store.BufferedIndexInput
-
- seek(long) -
Method in class org.apache.lucene.store.BufferedIndexOutput
- Sets current position in this file, where the next write will occur.
- seek(long) -
Method in class org.apache.lucene.store.FSDirectory.FSIndexOutput
- Random-access methods
- seek(long) -
Method in class org.apache.lucene.store.IndexInput
- Sets current position in this file, where the next read will occur.
- seek(long) -
Method in class org.apache.lucene.store.IndexOutput
- Sets current position in this file, where the next write will occur.
- seek(long) -
Method in class org.apache.lucene.store.RAMOutputStream
-
- seekInternal(long) -
Method in class org.apache.lucene.store.BufferedIndexInput
- Expert: implements seek.
- seekInternal(long) -
Method in class org.apache.lucene.store.FSDirectory.FSIndexInput
-
- segString() -
Method in class org.apache.lucene.index.IndexWriter
-
- segString(Directory) -
Method in class org.apache.lucene.index.MergePolicy.MergeSpecification
-
- SerialMergeScheduler - Class in org.apache.lucene.index
- A
MergeScheduler
that simply does each merge
sequentially, using the current thread. - SerialMergeScheduler() -
Constructor for class org.apache.lucene.index.SerialMergeScheduler
-
- set(int) -
Method in class org.apache.lucene.util.BitVector
- Sets the value of
bit
to one.
- setAllowDocsOutOfOrder(boolean) -
Static method in class org.apache.lucene.search.BooleanQuery
- Expert: Indicates whether hit docs may be collected out of docid
order.
- setAllowLeadingWildcard(boolean) -
Method in class org.apache.lucene.queryParser.QueryParser
- Set to
true
to allow leading wildcard characters.
- SetBasedFieldSelector - Class in org.apache.lucene.document
- Declare what fields to load normally and what fields to load lazily
- SetBasedFieldSelector(Set, Set) -
Constructor for class org.apache.lucene.document.SetBasedFieldSelector
- Pass in the Set of
Field
names to load and the Set of Field
names to load lazily.
- setBoost(float) -
Method in class org.apache.lucene.document.AbstractField
- Sets the boost factor hits on this field.
- setBoost(float) -
Method in class org.apache.lucene.document.Document
- Sets a boost factor for hits on any field of this document.
- setBoost(float) -
Method in interface org.apache.lucene.document.Fieldable
- Sets the boost factor hits on this field.
- setBoost(float) -
Method in class org.apache.lucene.search.Query
- Sets the boost for this query clause to
b
.
- setBufferSize(int) -
Method in class org.apache.lucene.store.BufferedIndexInput
- Change the buffer size used by this IndexInput
- setCacheSize(int) -
Method in class org.apache.lucene.search.FilterManager
- Sets the max size that cache should reach before it is cleaned up
- setCleanThreadSleepTime(long) -
Method in class org.apache.lucene.search.FilterManager
- Sets the cache cleaning frequency in milliseconds.
- setData(byte[]) -
Method in class org.apache.lucene.index.Payload
- Sets this payloads data.
- setData(byte[], int, int) -
Method in class org.apache.lucene.index.Payload
- Sets this payloads data.
- setDateResolution(DateTools.Resolution) -
Method in class org.apache.lucene.queryParser.QueryParser
- Sets the default date resolution used by RangeQueries for fields for which no
specific date resolutions has been set.
- setDateResolution(String, DateTools.Resolution) -
Method in class org.apache.lucene.queryParser.QueryParser
- Sets the date resolution used by RangeQueries for a specific field.
- setDebugStream(PrintStream) -
Method in class org.apache.lucene.queryParser.QueryParserTokenManager
-
- setDefault(Similarity) -
Static method in class org.apache.lucene.search.Similarity
- Set the default Similarity implementation used by indexing and search
code.
- setDefaultInfoStream(PrintStream) -
Static method in class org.apache.lucene.index.IndexWriter
- If non-null, this will be the default infoStream used
by a newly instantiated IndexWriter.
- setDefaultOperator(QueryParser.Operator) -
Method in class org.apache.lucene.queryParser.QueryParser
- Sets the boolean operator of the QueryParser.
- setDefaultWriteLockTimeout(long) -
Static method in class org.apache.lucene.index.IndexWriter
- Sets the default (for any instance of IndexWriter) maximum time to wait for a write lock (in
milliseconds).
- setDescription(String) -
Method in class org.apache.lucene.search.Explanation
- Sets the description of this explanation node.
- setDisableLocks(boolean) -
Static method in class org.apache.lucene.store.FSDirectory
- Set whether Lucene's use of lock files is disabled.
- setDocumentNumber(int) -
Method in class org.apache.lucene.index.TermVectorMapper
- Passes down the index of the document whose term vector is currently being mapped,
once for each top level call to a term vector reader.
- setEnablePositionIncrements(boolean) -
Method in class org.apache.lucene.analysis.StopFilter
- Set to
true
to make this StopFilter enable position increments to result tokens.
- setEnablePositionIncrements(boolean) -
Method in class org.apache.lucene.queryParser.QueryParser
- Set to
true
to enable position increments in result query.
- setEnablePositionIncrementsDefault(boolean) -
Static method in class org.apache.lucene.analysis.StopFilter
- Set the default position increments behavior of every StopFilter created from now on.
- setEndOffset(int) -
Method in class org.apache.lucene.analysis.Token
- Set the ending offset.
- setEndOffset(int) -
Method in class org.apache.lucene.index.TermVectorOffsetInfo
-
- setEnum(TermEnum) -
Method in class org.apache.lucene.search.FilteredTermEnum
-
- setExpectations(String, int, boolean, boolean) -
Method in class org.apache.lucene.index.FieldSortedTermVectorMapper
-
- setExpectations(String, int, boolean, boolean) -
Method in class org.apache.lucene.index.PositionBasedTermVectorMapper
- Callback mechanism used by the TermVectorReader
- setExpectations(String, int, boolean, boolean) -
Method in class org.apache.lucene.index.SortedTermVectorMapper
-
- setExpectations(String, int, boolean, boolean) -
Method in class org.apache.lucene.index.TermVectorMapper
- Tell the mapper what to expect in regards to field, number of terms, offset and position storage.
- setFreqCurrentDoc() -
Method in class org.apache.lucene.search.spans.SpanScorer
-
- setFuzzyMinSim(float) -
Method in class org.apache.lucene.queryParser.QueryParser
- Set the minimum similarity for fuzzy queries.
- setFuzzyPrefixLength(int) -
Method in class org.apache.lucene.queryParser.QueryParser
- Set the prefix length for fuzzy queries.
- setInfoStream(PrintStream) -
Method in class org.apache.lucene.index.IndexModifier
- Deprecated. If non-null, information about merges and a message when
IndexModifier.getMaxFieldLength()
is reached will be printed to this.
- setInfoStream(PrintStream) -
Method in class org.apache.lucene.index.IndexWriter
- If non-null, information about merges, deletes and a
message when maxFieldLength is reached will be printed
to this.
- setLocale(Locale) -
Method in class org.apache.lucene.queryParser.QueryParser
- Set locale used by date range parsing.
- setLockFactory(LockFactory) -
Method in class org.apache.lucene.store.Directory
- Set the LockFactory that this Directory instance should
use for its locking implementation.
- setLockPrefix(String) -
Method in class org.apache.lucene.store.LockFactory
- Set the prefix in use for all locks created in this
LockFactory.
- setLowercaseExpandedTerms(boolean) -
Method in class org.apache.lucene.queryParser.QueryParser
- Whether terms of wildcard, prefix, fuzzy and range queries are to be automatically
lower-cased or not.
- setMatch(Boolean) -
Method in class org.apache.lucene.search.ComplexExplanation
- Sets the match status assigned to this explanation node.
- setMaxBufferedDeleteTerms(int) -
Method in class org.apache.lucene.index.IndexWriter
- Determines the minimal number of delete terms required before the buffered
in-memory delete terms are applied and flushed.
- setMaxBufferedDocs(int) -
Method in class org.apache.lucene.index.IndexModifier
- Deprecated. Determines the minimal number of documents required before the buffered
in-memory documents are merging and a new Segment is created.
- setMaxBufferedDocs(int) -
Method in class org.apache.lucene.index.IndexWriter
- Determines the minimal number of documents required
before the buffered in-memory documents are flushed as
a new Segment.
- setMaxClauseCount(int) -
Static method in class org.apache.lucene.search.BooleanQuery
- Set the maximum number of clauses permitted per BooleanQuery.
- setMaxFieldLength(int) -
Method in class org.apache.lucene.index.IndexModifier
- Deprecated. The maximum number of terms that will be indexed for a single field in a
document.
- setMaxFieldLength(int) -
Method in class org.apache.lucene.index.IndexWriter
- The maximum number of terms that will be indexed for a single field in a
document.
- setMaxMergeDocs(int) -
Method in class org.apache.lucene.index.IndexWriter
- Determines the largest segment (measured by
document count) that may be merged with other segments.
- setMaxMergeDocs(int) -
Method in class org.apache.lucene.index.LogMergePolicy
- Determines the largest segment (measured by
document count) that may be merged with other segments.
- setMaxMergeMB(double) -
Method in class org.apache.lucene.index.LogByteSizeMergePolicy
- Determines the largest segment (measured by total
byte size of the segment's files, in MB) that may be
merged with other segments.
- setMaxScore(float) -
Method in class org.apache.lucene.search.TopDocs
- Expert: Sets the maximum score value encountered.
- setMaxThreadCount(int) -
Method in class org.apache.lucene.index.ConcurrentMergeScheduler
- Sets the max # simultaneous threads that may be
running.
- setMaxTokenLength(int) -
Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
- Set maximum allowed token length.
- setMaxTokenLength(int) -
Method in class org.apache.lucene.analysis.standard.StandardTokenizer
- Set the max allowed token length.
- setMergeFactor(int) -
Method in class org.apache.lucene.index.IndexModifier
- Deprecated. Determines how often segment indices are merged by addDocument().
- setMergeFactor(int) -
Method in class org.apache.lucene.index.IndexWriter
- Determines how often segment indices are merged by addDocument().
- setMergeFactor(int) -
Method in class org.apache.lucene.index.LogMergePolicy
- Determines how often segment indices are merged by
addDocument().
- setMergePolicy(MergePolicy) -
Method in class org.apache.lucene.index.IndexWriter
- Expert: set the merge policy used by this writer.
- setMergeScheduler(MergeScheduler) -
Method in class org.apache.lucene.index.IndexWriter
- Expert: set the merge scheduler used by this writer.
- setMergeThreadPriority(int) -
Method in class org.apache.lucene.index.ConcurrentMergeScheduler
- Return the priority that merge threads run at.
- setMinimumNumberShouldMatch(int) -
Method in class org.apache.lucene.search.BooleanQuery
- Specifies a minimum number of the optional BooleanClauses
which must be satisfied.
- setMinMergeDocs(int) -
Method in class org.apache.lucene.index.LogDocMergePolicy
- Sets the minimum size for the lowest level segments.
- setMinMergeMB(double) -
Method in class org.apache.lucene.index.LogByteSizeMergePolicy
- Sets the minimum size for the lowest level segments.
- setNorm(int, String, byte) -
Method in class org.apache.lucene.index.IndexReader
- Expert: Resets the normalization factor for the named field of the named
document.
- setNorm(int, String, float) -
Method in class org.apache.lucene.index.IndexReader
- Expert: Resets the normalization factor for the named field of the named
document.
- setOccur(BooleanClause.Occur) -
Method in class org.apache.lucene.search.BooleanClause
-
- setOmitNorms(boolean) -
Method in class org.apache.lucene.document.AbstractField
- Expert:
If set, omit normalization factors associated with this indexed field.
- setOmitNorms(boolean) -
Method in interface org.apache.lucene.document.Fieldable
- Expert:
If set, omit normalization factors associated with this indexed field.
- setPayload(Payload) -
Method in class org.apache.lucene.analysis.Token
- Sets this Token's payload.
- setPhraseSlop(int) -
Method in class org.apache.lucene.queryParser.QueryParser
- Sets the default slop for phrases.
- setPositionIncrement(int) -
Method in class org.apache.lucene.analysis.Token
- Set the position increment.
- setPreviousTokenStream(Object) -
Method in class org.apache.lucene.analysis.Analyzer
- Used by Analyzers that implement reusableTokenStream
to save a TokenStream for later re-use by the same
thread.
- setQuery(Query) -
Method in class org.apache.lucene.search.BooleanClause
-
- setRAMBufferSizeMB(double) -
Method in class org.apache.lucene.index.IndexWriter
- Determines the amount of RAM that may be used for
buffering added documents before they are flushed as a
new Segment.
- setReplaceInvalidAcronym(boolean) -
Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
-
- setReplaceInvalidAcronym(boolean) -
Method in class org.apache.lucene.analysis.standard.StandardTokenizer
- Deprecated. Remove in 3.X and make true the only valid value
See https://issues.apache.org/jira/browse/LUCENE-1068
- setSimilarity(Similarity) -
Method in class org.apache.lucene.index.IndexWriter
- Expert: Set the Similarity implementation used by this IndexWriter.
- setSimilarity(Similarity) -
Method in class org.apache.lucene.search.Searcher
- Expert: Set the Similarity implementation used by this Searcher.
- setSlop(int) -
Method in class org.apache.lucene.search.MultiPhraseQuery
- Sets the phrase slop for this query.
- setSlop(int) -
Method in class org.apache.lucene.search.PhraseQuery
- Sets the number of other words permitted between words in query phrase.
- setSort(String) -
Method in class org.apache.lucene.search.Sort
- Sets the sort to the terms in
field
then by index order
(document number).
- setSort(String, boolean) -
Method in class org.apache.lucene.search.Sort
- Sets the sort to the terms in
field
possibly in reverse,
then by index order (document number).
- setSort(String[]) -
Method in class org.apache.lucene.search.Sort
- Sets the sort to the terms in each field in succession.
- setSort(SortField) -
Method in class org.apache.lucene.search.Sort
- Sets the sort to the given criteria.
- setSort(SortField[]) -
Method in class org.apache.lucene.search.Sort
- Sets the sort to the given criteria in succession.
- setStartOffset(int) -
Method in class org.apache.lucene.analysis.Token
- Set the starting offset.
- setStartOffset(int) -
Method in class org.apache.lucene.index.TermVectorOffsetInfo
-
- setStoreTermVector(Field.TermVector) -
Method in class org.apache.lucene.document.AbstractField
-
- setStrict(boolean) -
Method in class org.apache.lucene.search.function.CustomScoreQuery
- Set the strict mode of this query.
- setTermBuffer(char[], int, int) -
Method in class org.apache.lucene.analysis.Token
- Copies the contents of buffer, starting at offset for
length characters, into the termBuffer
array.
- setTermIndexInterval(int) -
Method in class org.apache.lucene.index.IndexWriter
- Expert: Set the interval between indexed terms.
- setTermInfosIndexDivisor(int) -
Method in class org.apache.lucene.index.IndexReader
- For IndexReader implementations that use
TermInfosReader to read terms, this sets the
indexDivisor to subsample the number of indexed terms
loaded into memory.
- setTermLength(int) -
Method in class org.apache.lucene.analysis.Token
- Set number of valid characters (length of the term) in
the termBuffer array.
- setTermText(String) -
Method in class org.apache.lucene.analysis.Token
- Sets the Token's term text.
- setTestMode() -
Static method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
- setType(String) -
Method in class org.apache.lucene.analysis.Token
- Set the lexical type.
- setUseCompoundDocStore(boolean) -
Method in class org.apache.lucene.index.LogMergePolicy
- Sets whether compound file format should be used for
newly flushed and newly merged doc store
segment files (term vectors and stored fields).
- setUseCompoundFile(boolean) -
Method in class org.apache.lucene.index.IndexModifier
- Deprecated. Setting to turn on usage of a compound file.
- setUseCompoundFile(boolean) -
Method in class org.apache.lucene.index.IndexWriter
- Setting to turn on usage of a compound file.
- setUseCompoundFile(boolean) -
Method in class org.apache.lucene.index.LogMergePolicy
- Sets whether compound file format should be used for
newly flushed and newly merged segments.
- setUseOldRangeQuery(boolean) -
Method in class org.apache.lucene.queryParser.QueryParser
- By default QueryParser uses new ConstantScoreRangeQuery in preference to RangeQuery
for range queries.
- setUseScorer14(boolean) -
Static method in class org.apache.lucene.search.BooleanQuery
- Deprecated. Use
BooleanQuery.setAllowDocsOutOfOrder(boolean)
instead.
- setValue(String) -
Method in class org.apache.lucene.document.Field
- Expert: change the value of this field.
- setValue(Reader) -
Method in class org.apache.lucene.document.Field
- Expert: change the value of this field.
- setValue(byte[]) -
Method in class org.apache.lucene.document.Field
- Expert: change the value of this field.
- setValue(TokenStream) -
Method in class org.apache.lucene.document.Field
- Expert: change the value of this field.
- setValue(float) -
Method in class org.apache.lucene.search.Explanation
- Sets the value assigned to this explanation node.
- setWriteLockTimeout(long) -
Method in class org.apache.lucene.index.IndexWriter
- Sets the maximum time to wait for a write lock (in milliseconds) for this instance of IndexWriter.
- SHORT -
Static variable in class org.apache.lucene.search.function.FieldScoreQuery.Type
- field values are interpreted as numeric short values.
- ShortFieldSource - Class in org.apache.lucene.search.function
- Expert: obtains short field values from the
FieldCache
using getShorts()
and makes those values
available as other numeric types, casting as needed. - ShortFieldSource(String) -
Constructor for class org.apache.lucene.search.function.ShortFieldSource
- Create a cached short field source with default string-to-short parser.
- ShortFieldSource(String, FieldCache.ShortParser) -
Constructor for class org.apache.lucene.search.function.ShortFieldSource
- Create a cached short field source with a specific string-to-short parser.
- SHOULD -
Static variable in class org.apache.lucene.search.BooleanClause.Occur
- Use this operator for clauses that should appear in the
matching documents.
- Similarity - Class in org.apache.lucene.search
- Expert: Scoring API.
- Similarity() -
Constructor for class org.apache.lucene.search.Similarity
-
- similarity -
Variable in class org.apache.lucene.search.spans.SpanWeight
-
- SimilarityDelegator - Class in org.apache.lucene.search
- Expert: Delegating scoring implementation.
- SimilarityDelegator(Similarity) -
Constructor for class org.apache.lucene.search.SimilarityDelegator
- Construct a
Similarity
that delegates all methods to another.
- SimpleAnalyzer - Class in org.apache.lucene.analysis
- An Analyzer that filters LetterTokenizer with LowerCaseFilter.
- SimpleAnalyzer() -
Constructor for class org.apache.lucene.analysis.SimpleAnalyzer
-
- SimpleFSLockFactory - Class in org.apache.lucene.store
- Implements
LockFactory
using File.createNewFile()
. - SimpleFSLockFactory(File) -
Constructor for class org.apache.lucene.store.SimpleFSLockFactory
- Instantiate using the provided directory (as a File instance).
- SimpleFSLockFactory(String) -
Constructor for class org.apache.lucene.store.SimpleFSLockFactory
- Instantiate using the provided directory name (String).
- SingleInstanceLockFactory - Class in org.apache.lucene.store
- Implements
LockFactory
for a single in-process instance,
meaning all locking will take place through this one instance. - SingleInstanceLockFactory() -
Constructor for class org.apache.lucene.store.SingleInstanceLockFactory
-
- SinkTokenizer - Class in org.apache.lucene.analysis
- A SinkTokenizer can be used to cache Tokens for use in an Analyzer
- SinkTokenizer(List) -
Constructor for class org.apache.lucene.analysis.SinkTokenizer
-
- SinkTokenizer() -
Constructor for class org.apache.lucene.analysis.SinkTokenizer
-
- SinkTokenizer(int) -
Constructor for class org.apache.lucene.analysis.SinkTokenizer
-
- size() -
Method in class org.apache.lucene.analysis.CharArraySet
-
- SIZE -
Static variable in class org.apache.lucene.document.FieldSelectorResult
- Expert: Load the size of this
Field
rather than its value.
- size(SegmentInfo) -
Method in class org.apache.lucene.index.LogByteSizeMergePolicy
-
- size(SegmentInfo) -
Method in class org.apache.lucene.index.LogDocMergePolicy
-
- size(SegmentInfo) -
Method in class org.apache.lucene.index.LogMergePolicy
-
- size() -
Method in interface org.apache.lucene.index.TermFreqVector
-
- size() -
Method in class org.apache.lucene.search.QueryTermVector
-
- size() -
Method in class org.apache.lucene.util.BitVector
- Returns the number of bits in this vector.
- size() -
Method in class org.apache.lucene.util.PriorityQueue
- Returns the number of elements currently stored in the PriorityQueue.
- size() -
Method in class org.apache.lucene.util.ScorerDocQueue
- Returns the number of scorers currently stored in the ScorerDocQueue.
- SIZE_AND_BREAK -
Static variable in class org.apache.lucene.document.FieldSelectorResult
- Expert: Like
FieldSelectorResult.SIZE
but immediately break from the field loading loop, i.e., stop loading further fields, after the size is loaded
- sizeInBytes() -
Method in class org.apache.lucene.store.RAMDirectory
- Return total size in bytes of all files in this
directory.
- skipChars(int) -
Method in class org.apache.lucene.store.IndexInput
- Expert
Similar to
IndexInput.readChars(char[], int, int)
but does not do any conversion operations on the bytes it is reading in.
- skipTo(int) -
Method in class org.apache.lucene.index.FilterIndexReader.FilterTermDocs
-
- skipTo(int) -
Method in class org.apache.lucene.index.MultipleTermPositions
-
- skipTo(int) -
Method in interface org.apache.lucene.index.TermDocs
- Skips entries to the first beyond the current whose document number is
greater than or equal to target.
- skipTo(Term) -
Method in class org.apache.lucene.index.TermEnum
- Skips terms to the first beyond the current whose value is
greater or equal to target.
- skipTo(int) -
Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantScorer
-
- skipTo(int) -
Method in class org.apache.lucene.search.ReqExclScorer
- Skips to the first match beyond the current whose document number is
greater than or equal to a given target.
- skipTo(int) -
Method in class org.apache.lucene.search.ReqOptSumScorer
-
- skipTo(int) -
Method in class org.apache.lucene.search.Scorer
- Skips to the document matching this Scorer with the lowest doc Id
greater than or equal to a given target.
- skipTo(int) -
Method in interface org.apache.lucene.search.spans.Spans
- Skips to the first match beyond the current, whose document number is
greater than or equal to target.
- skipTo(int) -
Method in class org.apache.lucene.search.spans.SpanScorer
-
- skipTo(int) -
Method in class org.apache.lucene.search.spans.TermSpans
-
- sloppyFreq(int) -
Method in class org.apache.lucene.search.DefaultSimilarity
- Implemented as
1 / (distance + 1)
.
- sloppyFreq(int) -
Method in class org.apache.lucene.search.Similarity
- Computes the amount of a sloppy phrase match, based on an edit distance.
- sloppyFreq(int) -
Method in class org.apache.lucene.search.SimilarityDelegator
-
- SmallFloat - Class in org.apache.lucene.util
- Floating point numbers smaller than 32 bits.
- SmallFloat() -
Constructor for class org.apache.lucene.util.SmallFloat
-
- snapshot() -
Method in class org.apache.lucene.index.SnapshotDeletionPolicy
- Take a snapshot of the most recent commit to the
index.
- SnapshotDeletionPolicy - Class in org.apache.lucene.index
- A
IndexDeletionPolicy
that wraps around any other
IndexDeletionPolicy
and adds the ability to hold and
later release a single "snapshot" of an index. - SnapshotDeletionPolicy(IndexDeletionPolicy) -
Constructor for class org.apache.lucene.index.SnapshotDeletionPolicy
-
- Sort - Class in org.apache.lucene.search
- Encapsulates sort criteria for returned hits.
- Sort() -
Constructor for class org.apache.lucene.search.Sort
- Sorts by computed relevance.
- Sort(String) -
Constructor for class org.apache.lucene.search.Sort
- Sorts by the terms in
field
then by index order (document
number).
- Sort(String, boolean) -
Constructor for class org.apache.lucene.search.Sort
- Sorts possibly in reverse by the terms in
field
then by
index order (document number).
- Sort(String[]) -
Constructor for class org.apache.lucene.search.Sort
- Sorts in succession by the terms in each field.
- Sort(SortField) -
Constructor for class org.apache.lucene.search.Sort
- Sorts by the criteria in the given SortField.
- Sort(SortField[]) -
Constructor for class org.apache.lucene.search.Sort
- Sorts in succession by the criteria in each SortField.
- SortComparator - Class in org.apache.lucene.search
- Abstract base class for sorting hits returned by a Query.
- SortComparator() -
Constructor for class org.apache.lucene.search.SortComparator
-
- SortComparatorSource - Interface in org.apache.lucene.search
- Expert: returns a comparator for sorting ScoreDocs.
- SortedTermVectorMapper - Class in org.apache.lucene.index
- Store a sorted collection of
TermVectorEntry
s. - SortedTermVectorMapper(Comparator) -
Constructor for class org.apache.lucene.index.SortedTermVectorMapper
-
- SortedTermVectorMapper(boolean, boolean, Comparator) -
Constructor for class org.apache.lucene.index.SortedTermVectorMapper
-
- SortField - Class in org.apache.lucene.search
- Stores information about how to sort documents by terms in an individual
field.
- SortField(String) -
Constructor for class org.apache.lucene.search.SortField
- Creates a sort by terms in the given field where the type of term value
is determined dynamically (
AUTO
).
- SortField(String, boolean) -
Constructor for class org.apache.lucene.search.SortField
- Creates a sort, possibly in reverse, by terms in the given field where
the type of term value is determined dynamically (
AUTO
).
- SortField(String, int) -
Constructor for class org.apache.lucene.search.SortField
- Creates a sort by terms in the given field with the type of term
values explicitly given.
- SortField(String, int, boolean) -
Constructor for class org.apache.lucene.search.SortField
- Creates a sort, possibly in reverse, by terms in the given field with the
type of term values explicitly given.
- SortField(String, Locale) -
Constructor for class org.apache.lucene.search.SortField
- Creates a sort by terms in the given field sorted
according to the given locale.
- SortField(String, Locale, boolean) -
Constructor for class org.apache.lucene.search.SortField
- Creates a sort, possibly in reverse, by terms in the given field sorted
according to the given locale.
- SortField(String, SortComparatorSource) -
Constructor for class org.apache.lucene.search.SortField
- Creates a sort with a custom comparison function.
- SortField(String, SortComparatorSource, boolean) -
Constructor for class org.apache.lucene.search.SortField
- Creates a sort, possibly in reverse, with a custom comparison function.
- sortType() -
Method in interface org.apache.lucene.search.ScoreDocComparator
- Returns the type of sort.
- sortValue(ScoreDoc) -
Method in interface org.apache.lucene.search.ScoreDocComparator
- Returns the value used to sort the given document.
- SpanFilter - Class in org.apache.lucene.search
- Abstract base class providing a mechanism to restrict searches to a subset
of an index and also maintains and returns position information.
- SpanFilter() -
Constructor for class org.apache.lucene.search.SpanFilter
-
- SpanFilterResult - Class in org.apache.lucene.search
- The results of a SpanQueryFilter.
- SpanFilterResult(BitSet, List) -
Constructor for class org.apache.lucene.search.SpanFilterResult
-
- SpanFilterResult.PositionInfo - Class in org.apache.lucene.search
-
- SpanFilterResult.PositionInfo(int) -
Constructor for class org.apache.lucene.search.SpanFilterResult.PositionInfo
-
- SpanFilterResult.StartEnd - Class in org.apache.lucene.search
-
- SpanFilterResult.StartEnd(int, int) -
Constructor for class org.apache.lucene.search.SpanFilterResult.StartEnd
-
- SpanFirstQuery - Class in org.apache.lucene.search.spans
- Matches spans near the beginning of a field.
- SpanFirstQuery(SpanQuery, int) -
Constructor for class org.apache.lucene.search.spans.SpanFirstQuery
- Construct a SpanFirstQuery matching spans in
match
whose end
position is less than or equal to end
.
- SpanNearQuery - Class in org.apache.lucene.search.spans
- Matches spans which are near one another.
- SpanNearQuery(SpanQuery[], int, boolean) -
Constructor for class org.apache.lucene.search.spans.SpanNearQuery
- Construct a SpanNearQuery.
- SpanNotQuery - Class in org.apache.lucene.search.spans
- Removes matches which overlap with another SpanQuery.
- SpanNotQuery(SpanQuery, SpanQuery) -
Constructor for class org.apache.lucene.search.spans.SpanNotQuery
- Construct a SpanNotQuery matching spans from
include
which
have no overlap with spans from exclude
.
- SpanOrQuery - Class in org.apache.lucene.search.spans
- Matches the union of its clauses.
- SpanOrQuery(SpanQuery[]) -
Constructor for class org.apache.lucene.search.spans.SpanOrQuery
- Construct a SpanOrQuery merging the provided clauses.
- SpanQuery - Class in org.apache.lucene.search.spans
- Base class for span-based queries.
- SpanQuery() -
Constructor for class org.apache.lucene.search.spans.SpanQuery
-
- SpanQueryFilter - Class in org.apache.lucene.search
- Constrains search results to only match those which also match a provided
query.
- SpanQueryFilter() -
Constructor for class org.apache.lucene.search.SpanQueryFilter
-
- SpanQueryFilter(SpanQuery) -
Constructor for class org.apache.lucene.search.SpanQueryFilter
- Constructs a filter which only matches documents matching
query
.
- Spans - Interface in org.apache.lucene.search.spans
- Expert: an enumeration of span matches.
- spans -
Variable in class org.apache.lucene.search.spans.SpanScorer
-
- SpanScorer - Class in org.apache.lucene.search.spans
- Public for extension only.
- SpanScorer(Spans, Weight, Similarity, byte[]) -
Constructor for class org.apache.lucene.search.spans.SpanScorer
-
- SpanTermQuery - Class in org.apache.lucene.search.spans
- Matches spans containing a term.
- SpanTermQuery(Term) -
Constructor for class org.apache.lucene.search.spans.SpanTermQuery
- Construct a SpanTermQuery matching the named term's spans.
- SpanWeight - Class in org.apache.lucene.search.spans
- Expert-only.
- SpanWeight(SpanQuery, Searcher) -
Constructor for class org.apache.lucene.search.spans.SpanWeight
-
- specialConstructor -
Variable in exception org.apache.lucene.queryParser.ParseException
- This variable determines which constructor was used to create
this object and thereby affects the semantics of the
"getMessage" method (see below).
- specialToken -
Variable in class org.apache.lucene.queryParser.Token
- This field is used to access special tokens that occur prior to this
token, but after the immediately preceding regular (non-special) token.
- StaleReaderException - Exception in org.apache.lucene.index
- This exception is thrown when an
IndexReader
tries to make changes to the index (via IndexReader.deleteDocument(int)
, IndexReader.undeleteAll()
or IndexReader.setNorm(int, java.lang.String, byte)
)
but changes have already been committed to the index
since this reader was instantiated. - StaleReaderException(String) -
Constructor for exception org.apache.lucene.index.StaleReaderException
-
- StandardAnalyzer - Class in org.apache.lucene.analysis.standard
- Filters
StandardTokenizer
with StandardFilter
, LowerCaseFilter
and StopFilter
, using a list of English stop words. - StandardAnalyzer() -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Builds an analyzer with the default stop words (
StandardAnalyzer.STOP_WORDS
).
- StandardAnalyzer(Set) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Builds an analyzer with the given stop words.
- StandardAnalyzer(String[]) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Builds an analyzer with the given stop words.
- StandardAnalyzer(File) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Builds an analyzer with the stop words from the given file.
- StandardAnalyzer(Reader) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Builds an analyzer with the stop words from the given reader.
- StandardAnalyzer(boolean) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Deprecated. Remove in 3.X and make true the only valid value
- StandardAnalyzer(Reader, boolean) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Deprecated. Remove in 3.X and make true the only valid value
- StandardAnalyzer(File, boolean) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Deprecated. Remove in 3.X and make true the only valid value
- StandardAnalyzer(String[], boolean) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Deprecated. Remove in 3.X and make true the only valid value
- StandardAnalyzer(Set, boolean) -
Constructor for class org.apache.lucene.analysis.standard.StandardAnalyzer
- Deprecated. Remove in 3.X and make true the only valid value
- StandardFilter - Class in org.apache.lucene.analysis.standard
- Normalizes tokens extracted with
StandardTokenizer
. - StandardFilter(TokenStream) -
Constructor for class org.apache.lucene.analysis.standard.StandardFilter
- Construct filtering in.
- StandardTokenizer - Class in org.apache.lucene.analysis.standard
- A grammar-based tokenizer constructed with JFlex
- StandardTokenizer(Reader) -
Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
- Creates a new instance of the
StandardTokenizer
.
- StandardTokenizer(Reader, boolean) -
Constructor for class org.apache.lucene.analysis.standard.StandardTokenizer
- Creates a new instance of the
StandardTokenizer
.
- STAR -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- start() -
Method in interface org.apache.lucene.search.spans.Spans
- Returns the start position of the current match.
- start() -
Method in class org.apache.lucene.search.spans.TermSpans
-
- startOffset() -
Method in class org.apache.lucene.analysis.Token
- Returns this Token's starting offset, the position of the first character
corresponding to this token in the source text.
- STOP_WORDS -
Static variable in class org.apache.lucene.analysis.standard.StandardAnalyzer
- An array containing some common English words that are usually not
useful for searching.
- StopAnalyzer - Class in org.apache.lucene.analysis
- Filters LetterTokenizer with LowerCaseFilter and StopFilter.
- StopAnalyzer() -
Constructor for class org.apache.lucene.analysis.StopAnalyzer
- Builds an analyzer which removes words in ENGLISH_STOP_WORDS.
- StopAnalyzer(Set) -
Constructor for class org.apache.lucene.analysis.StopAnalyzer
- Builds an analyzer with the stop words from the given set.
- StopAnalyzer(String[]) -
Constructor for class org.apache.lucene.analysis.StopAnalyzer
- Builds an analyzer which removes words in the provided array.
- StopAnalyzer(File) -
Constructor for class org.apache.lucene.analysis.StopAnalyzer
- Builds an analyzer with the stop words from the given file.
- StopAnalyzer(Reader) -
Constructor for class org.apache.lucene.analysis.StopAnalyzer
- Builds an analyzer with the stop words from the given reader.
- StopFilter - Class in org.apache.lucene.analysis
- Removes stop words from a token stream.
- StopFilter(TokenStream, String[]) -
Constructor for class org.apache.lucene.analysis.StopFilter
- Construct a token stream filtering the given input.
- StopFilter(TokenStream, String[], boolean) -
Constructor for class org.apache.lucene.analysis.StopFilter
- Constructs a filter which removes words from the input
TokenStream that are named in the array of words.
- StopFilter(TokenStream, Set, boolean) -
Constructor for class org.apache.lucene.analysis.StopFilter
- Construct a token stream filtering the given input.
- StopFilter(TokenStream, Set) -
Constructor for class org.apache.lucene.analysis.StopFilter
- Constructs a filter which removes words from the input
TokenStream that are named in the Set.
- storeOffsetWithTermVector -
Variable in class org.apache.lucene.document.AbstractField
-
- storePositionWithTermVector -
Variable in class org.apache.lucene.document.AbstractField
-
- STORES_PAYLOADS -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields that store payloads
- storeTermVector -
Variable in class org.apache.lucene.document.AbstractField
-
- STR_SIZE -
Static variable in class org.apache.lucene.document.NumberTools
- The length of (all) strings returned by
NumberTools.longToString(long)
- STRING -
Static variable in class org.apache.lucene.search.SortField
- Sort using term values as Strings.
- STRING_INDEX -
Static variable in interface org.apache.lucene.search.FieldCache
- Indicator for StringIndex values in the cache.
- stringDifference(String, String) -
Static method in class org.apache.lucene.util.StringHelper
- Compares two strings, character by character, and returns the
first position where the two strings differ from one another.
- StringHelper - Class in org.apache.lucene.util
- Methods for manipulating strings.
- stringToDate(String) -
Static method in class org.apache.lucene.document.DateField
- Deprecated. Converts a string-encoded date into a Date object.
- stringToDate(String) -
Static method in class org.apache.lucene.document.DateTools
- Converts a string produced by
timeToString
or
dateToString
back to a time, represented as a
Date object.
- stringToLong(String) -
Static method in class org.apache.lucene.document.NumberTools
- Converts a String that was returned by
NumberTools.longToString(long)
back to a
long.
- stringToTime(String) -
Static method in class org.apache.lucene.document.DateField
- Deprecated. Converts a string-encoded date into a millisecond time.
- stringToTime(String) -
Static method in class org.apache.lucene.document.DateTools
- Converts a string produced by
timeToString
or
dateToString
back to a time, represented as the
number of milliseconds since January 1, 1970, 00:00:00 GMT.
- stringValue() -
Method in class org.apache.lucene.document.Field
- The value of the field as a String, or null.
- stringValue() -
Method in interface org.apache.lucene.document.Fieldable
- The value of the field as a String, or null.
- strVal(int) -
Method in class org.apache.lucene.search.function.DocValues
- Return doc value as a string.
- subDoc(int) -
Method in class org.apache.lucene.search.MultiSearcher
- Returns the document number of document
n
within its
sub-index.
- subReaders -
Variable in class org.apache.lucene.index.MultiReader
-
- subSearcher(int) -
Method in class org.apache.lucene.search.MultiSearcher
- Returns index of the searcher for document
n
in the array
used to construct this searcher.
- sumOfSquaredWeights() -
Method in class org.apache.lucene.search.ConstantScoreQuery.ConstantWeight
-
- sumOfSquaredWeights() -
Method in class org.apache.lucene.search.spans.SpanWeight
-
- sumOfSquaredWeights() -
Method in interface org.apache.lucene.search.Weight
- The sum of squared weights of contained query clauses.
- SUN_OS -
Static variable in class org.apache.lucene.util.Constants
- True iff running on SunOS.
- SwitchTo(int) -
Method in class org.apache.lucene.queryParser.QueryParserTokenManager
-
- sync() -
Method in class org.apache.lucene.index.ConcurrentMergeScheduler
-
T
- TeeTokenFilter - Class in org.apache.lucene.analysis
- Works in conjunction with the SinkTokenizer to provide the ability to set aside tokens
that have already been analyzed.
- TeeTokenFilter(TokenStream, SinkTokenizer) -
Constructor for class org.apache.lucene.analysis.TeeTokenFilter
-
- term() -
Method in class org.apache.lucene.index.FilterIndexReader.FilterTermEnum
-
- Term - Class in org.apache.lucene.index
- A Term represents a word from text.
- Term(String, String) -
Constructor for class org.apache.lucene.index.Term
- Constructs a Term with the given field and text.
- term() -
Method in class org.apache.lucene.index.TermEnum
- Returns the current Term in the enumeration.
- Term(String) -
Method in class org.apache.lucene.queryParser.QueryParser
-
- TERM -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- term() -
Method in class org.apache.lucene.search.FilteredTermEnum
- Returns the current Term in the enumeration.
- term -
Variable in class org.apache.lucene.search.FuzzyQuery.ScoreTerm
-
- term -
Variable in class org.apache.lucene.search.spans.SpanTermQuery
-
- term -
Variable in class org.apache.lucene.search.spans.TermSpans
-
- termBuffer() -
Method in class org.apache.lucene.analysis.Token
- Returns the internal termBuffer character array which
you can then directly alter.
- termCompare(Term) -
Method in class org.apache.lucene.search.FilteredTermEnum
- Equality compare on the term
- termCompare(Term) -
Method in class org.apache.lucene.search.FuzzyTermEnum
- The termCompare method in FuzzyTermEnum uses Levenshtein distance to
calculate the distance between the given term and the comparing term.
- termCompare(Term) -
Method in class org.apache.lucene.search.WildcardTermEnum
-
- termDocs() -
Method in class org.apache.lucene.index.FilterIndexReader
-
- termDocs(Term) -
Method in class org.apache.lucene.index.IndexReader
- Returns an enumeration of all the documents which contain
term
.
- termDocs() -
Method in class org.apache.lucene.index.IndexReader
- Returns an unpositioned
TermDocs
enumerator.
- termDocs() -
Method in class org.apache.lucene.index.MultiReader
-
- termDocs(Term) -
Method in class org.apache.lucene.index.ParallelReader
-
- termDocs() -
Method in class org.apache.lucene.index.ParallelReader
-
- TermDocs - Interface in org.apache.lucene.index
- TermDocs provides an interface for enumerating <document, frequency>
pairs for a term.
- TermEnum - Class in org.apache.lucene.index
- Abstract class for enumerating terms.
- TermEnum() -
Constructor for class org.apache.lucene.index.TermEnum
-
- TermFreqVector - Interface in org.apache.lucene.index
- Provides access to stored term vector of
a document field.
- termLength() -
Method in class org.apache.lucene.analysis.Token
- Return number of valid characters (length of the term)
in the termBuffer array.
- termPositions() -
Method in class org.apache.lucene.index.FilterIndexReader
-
- termPositions(Term) -
Method in class org.apache.lucene.index.IndexReader
- Returns an enumeration of all the documents which contain
term
.
- termPositions() -
Method in class org.apache.lucene.index.IndexReader
- Returns an unpositioned
TermPositions
enumerator.
- termPositions() -
Method in class org.apache.lucene.index.MultiReader
-
- termPositions(Term) -
Method in class org.apache.lucene.index.ParallelReader
-
- termPositions() -
Method in class org.apache.lucene.index.ParallelReader
-
- TermPositions - Interface in org.apache.lucene.index
- TermPositions provides an interface for enumerating the <document,
frequency, <position>* > tuples for a term.
- TermPositionVector - Interface in org.apache.lucene.index
- Extends
TermFreqVector
to provide additional information about
positions in which each of the terms is found. - TermQuery - Class in org.apache.lucene.search
- A Query that matches documents containing a term.
- TermQuery(Term) -
Constructor for class org.apache.lucene.search.TermQuery
- Constructs a query for the term
t
.
- terms() -
Method in class org.apache.lucene.index.FilterIndexReader
-
- terms(Term) -
Method in class org.apache.lucene.index.FilterIndexReader
-
- terms() -
Method in class org.apache.lucene.index.IndexReader
- Returns an enumeration of all the terms in the index.
- terms(Term) -
Method in class org.apache.lucene.index.IndexReader
- Returns an enumeration of all terms starting at a given term.
- terms() -
Method in class org.apache.lucene.index.MultiReader
-
- terms(Term) -
Method in class org.apache.lucene.index.MultiReader
-
- terms() -
Method in class org.apache.lucene.index.ParallelReader
-
- terms(Term) -
Method in class org.apache.lucene.index.ParallelReader
-
- terms -
Variable in class org.apache.lucene.search.spans.SpanWeight
-
- TermSpans - Class in org.apache.lucene.search.spans
- Expert:
Public for extension only
- TermSpans(TermPositions, Term) -
Constructor for class org.apache.lucene.search.spans.TermSpans
-
- termText() -
Method in class org.apache.lucene.analysis.Token
- Deprecated. Use
Token.termBuffer()
and Token.termLength()
instead.
- TERMVECTOR -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields with termvectors enabled.
- TERMVECTOR_WITH_OFFSET -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields with termvectors with offset values enabled
- TERMVECTOR_WITH_POSITION -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields with termvectors with position values enabled
- TERMVECTOR_WITH_POSITION_OFFSET -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields with termvectors with offset values and position values enabled
- TermVectorEntry - Class in org.apache.lucene.index
- Convenience class for holding TermVector information.
- TermVectorEntry() -
Constructor for class org.apache.lucene.index.TermVectorEntry
-
- TermVectorEntry(String, String, int, TermVectorOffsetInfo[], int[]) -
Constructor for class org.apache.lucene.index.TermVectorEntry
-
- TermVectorEntryFreqSortedComparator - Class in org.apache.lucene.index
- Compares
TermVectorEntry
s first by frequency and then by
the term (case-sensitive) - TermVectorEntryFreqSortedComparator() -
Constructor for class org.apache.lucene.index.TermVectorEntryFreqSortedComparator
-
- TermVectorMapper - Class in org.apache.lucene.index
- The TermVectorMapper can be used to map Term Vectors into your own
structure instead of the parallel array structure used by
IndexReader.getTermFreqVector(int,String)
. - TermVectorMapper() -
Constructor for class org.apache.lucene.index.TermVectorMapper
-
- TermVectorMapper(boolean, boolean) -
Constructor for class org.apache.lucene.index.TermVectorMapper
-
- TermVectorOffsetInfo - Class in org.apache.lucene.index
- The TermVectorOffsetInfo class holds information pertaining to a Term in a
TermPositionVector
's
offset information. - TermVectorOffsetInfo() -
Constructor for class org.apache.lucene.index.TermVectorOffsetInfo
-
- TermVectorOffsetInfo(int, int) -
Constructor for class org.apache.lucene.index.TermVectorOffsetInfo
-
- text() -
Method in class org.apache.lucene.index.Term
- Returns the text of this term.
- tf(float) -
Method in class org.apache.lucene.search.DefaultSimilarity
- Implemented as
sqrt(freq)
.
- tf(int) -
Method in class org.apache.lucene.search.Similarity
- Computes a score factor based on a term or phrase's frequency in a
document.
- tf(float) -
Method in class org.apache.lucene.search.Similarity
- Computes a score factor based on a term or phrase's frequency in a
document.
- tf(float) -
Method in class org.apache.lucene.search.SimilarityDelegator
-
- timestamp -
Variable in class org.apache.lucene.search.FilterManager.FilterItem
-
- timeToString(long) -
Static method in class org.apache.lucene.document.DateField
- Deprecated. Converts a millisecond time to a string suitable for indexing.
- timeToString(long, DateTools.Resolution) -
Static method in class org.apache.lucene.document.DateTools
- Converts a millisecond time to a string suitable for indexing.
- toByteArray() -
Method in class org.apache.lucene.index.Payload
- Allocates a new byte array, copies the payload data into it and returns it.
- toHtml() -
Method in class org.apache.lucene.search.Explanation
- Render an explanation as HTML.
- Token - Class in org.apache.lucene.analysis
- A Token is an occurence of a term from the text of a field.
- Token() -
Constructor for class org.apache.lucene.analysis.Token
- Constructs a Token will null text.
- Token(int, int) -
Constructor for class org.apache.lucene.analysis.Token
- Constructs a Token with null text and start & end
offsets.
- Token(int, int, String) -
Constructor for class org.apache.lucene.analysis.Token
- Constructs a Token with null text and start & end
offsets plus the Token type.
- Token(String, int, int) -
Constructor for class org.apache.lucene.analysis.Token
- Constructs a Token with the given term text, and start
& end offsets.
- Token(String, int, int, String) -
Constructor for class org.apache.lucene.analysis.Token
- Constructs a Token with the given text, start and end
offsets, & type.
- token -
Variable in class org.apache.lucene.queryParser.QueryParser
-
- Token - Class in org.apache.lucene.queryParser
- Describes the input token stream.
- Token() -
Constructor for class org.apache.lucene.queryParser.Token
-
- token_source -
Variable in class org.apache.lucene.queryParser.QueryParser
-
- TokenFilter - Class in org.apache.lucene.analysis
- A TokenFilter is a TokenStream whose input is another token stream.
- TokenFilter(TokenStream) -
Constructor for class org.apache.lucene.analysis.TokenFilter
- Construct a token stream filtering the given input.
- tokenImage -
Variable in exception org.apache.lucene.queryParser.ParseException
- This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred.
- tokenImage -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- TOKENIZED -
Static variable in class org.apache.lucene.document.Field.Index
- Index the field's value so it can be searched.
- Tokenizer - Class in org.apache.lucene.analysis
- A Tokenizer is a TokenStream whose input is a Reader.
- Tokenizer() -
Constructor for class org.apache.lucene.analysis.Tokenizer
- Construct a tokenizer with null input.
- Tokenizer(Reader) -
Constructor for class org.apache.lucene.analysis.Tokenizer
- Construct a token stream processing the given input.
- TokenMgrError - Error in org.apache.lucene.queryParser
-
- TokenMgrError() -
Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
- TokenMgrError(String, int) -
Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
- TokenMgrError(boolean, int, int, int, String, char, int) -
Constructor for error org.apache.lucene.queryParser.TokenMgrError
-
- tokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.Analyzer
- Creates a TokenStream which tokenizes all the text in the provided
Reader.
- tokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.KeywordAnalyzer
-
- tokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
-
- tokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.SimpleAnalyzer
-
- tokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.standard.StandardAnalyzer
- Constructs a
StandardTokenizer
filtered by a StandardFilter
, a LowerCaseFilter
and a StopFilter
.
- tokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.StopAnalyzer
- Filters LowerCaseTokenizer with StopFilter.
- TokenStream - Class in org.apache.lucene.analysis
- A TokenStream enumerates the sequence of tokens, either from
fields of a document or from query text.
- TokenStream() -
Constructor for class org.apache.lucene.analysis.TokenStream
-
- tokenStream(String, Reader) -
Method in class org.apache.lucene.analysis.WhitespaceAnalyzer
-
- tokenStreamValue() -
Method in class org.apache.lucene.document.Field
- The value of the field as a TokesStream, or null.
- tokenStreamValue() -
Method in interface org.apache.lucene.document.Fieldable
- The value of the field as a TokenStream, or null.
- top() -
Method in class org.apache.lucene.util.PriorityQueue
- Returns the least element of the PriorityQueue in constant time.
- top() -
Method in class org.apache.lucene.util.ScorerDocQueue
- Returns the least Scorer of the ScorerDocQueue in constant time.
- topDoc() -
Method in class org.apache.lucene.util.ScorerDocQueue
- Returns document number of the least Scorer of the ScorerDocQueue
in constant time.
- TopDocCollector - Class in org.apache.lucene.search
- A
HitCollector
implementation that collects the top-scoring
documents, returning them as a TopDocs
. - TopDocCollector(int) -
Constructor for class org.apache.lucene.search.TopDocCollector
- Construct to collect a given number of hits.
- topDocs() -
Method in class org.apache.lucene.search.TopDocCollector
- The top-scoring hits.
- TopDocs - Class in org.apache.lucene.search
- Expert: Returned by low-level search implementations.
- TopDocs(int, ScoreDoc[], float) -
Constructor for class org.apache.lucene.search.TopDocs
- Expert: Constructs a TopDocs.
- topDocs() -
Method in class org.apache.lucene.search.TopFieldDocCollector
-
- TopFieldDocCollector - Class in org.apache.lucene.search
- A
HitCollector
implementation that collects the top-sorting
documents, returning them as a TopFieldDocs
. - TopFieldDocCollector(IndexReader, Sort, int) -
Constructor for class org.apache.lucene.search.TopFieldDocCollector
- Construct to collect a given number of hits.
- TopFieldDocs - Class in org.apache.lucene.search
- Expert: Returned by low-level sorted search implementations.
- TopLevelQuery(String) -
Method in class org.apache.lucene.queryParser.QueryParser
-
- topNextAndAdjustElsePop() -
Method in class org.apache.lucene.util.ScorerDocQueue
-
- topScore() -
Method in class org.apache.lucene.util.ScorerDocQueue
-
- topSkipToAndAdjustElsePop(int) -
Method in class org.apache.lucene.util.ScorerDocQueue
-
- toString() -
Method in class org.apache.lucene.analysis.PerFieldAnalyzerWrapper
-
- toString() -
Method in class org.apache.lucene.analysis.Token
-
- toString() -
Method in class org.apache.lucene.document.AbstractField
- Prints a Field for human consumption.
- toString() -
Method in class org.apache.lucene.document.DateTools.Resolution
-
- toString() -
Method in class org.apache.lucene.document.Document
- Prints the fields of a document for human consumption.
- toString() -
Method in class org.apache.lucene.index.IndexModifier
- Deprecated.
- toString() -
Method in class org.apache.lucene.index.IndexReader.FieldOption
-
- toString() -
Method in class org.apache.lucene.index.Term
-
- toString() -
Method in class org.apache.lucene.index.TermVectorEntry
-
- toString() -
Method in class org.apache.lucene.queryParser.Token
- Returns the image.
- toString() -
Method in class org.apache.lucene.search.BooleanClause.Occur
-
- toString() -
Method in class org.apache.lucene.search.BooleanClause
-
- toString(String) -
Method in class org.apache.lucene.search.BooleanQuery
- Prints a user-readable version of this query.
- toString() -
Method in class org.apache.lucene.search.CachingSpanFilter
-
- toString() -
Method in class org.apache.lucene.search.CachingWrapperFilter
-
- toString(String) -
Method in class org.apache.lucene.search.ConstantScoreQuery
- Prints a user-readable version of this query.
- toString(String) -
Method in class org.apache.lucene.search.ConstantScoreRangeQuery
- Prints a user-readable version of this query.
- toString(String) -
Method in class org.apache.lucene.search.DisjunctionMaxQuery
- Prettyprint us.
- toString() -
Method in class org.apache.lucene.search.Explanation
- Render an explanation as text.
- toString(int) -
Method in class org.apache.lucene.search.Explanation
-
- toString(String) -
Method in class org.apache.lucene.search.FilteredQuery
- Prints a user-readable version of this query.
- toString(String) -
Method in class org.apache.lucene.search.function.CustomScoreQuery
-
- toString(int) -
Method in class org.apache.lucene.search.function.DocValues
- Return a string representation of a doc value, as reuired for Explanations.
- toString() -
Method in class org.apache.lucene.search.function.FieldScoreQuery.Type
-
- toString() -
Method in class org.apache.lucene.search.function.ValueSource
-
- toString(String) -
Method in class org.apache.lucene.search.function.ValueSourceQuery
-
- toString(String) -
Method in class org.apache.lucene.search.FuzzyQuery
-
- toString() -
Method in class org.apache.lucene.search.Hit
- Prints the parameters to be used to discover the promised result.
- toString(String) -
Method in class org.apache.lucene.search.MatchAllDocsQuery
-
- toString(String) -
Method in class org.apache.lucene.search.MultiPhraseQuery
- Prints a user-readable version of this query.
- toString(String) -
Method in class org.apache.lucene.search.MultiTermQuery
- Prints a user-readable version of this query.
- toString(String) -
Method in class org.apache.lucene.search.PhraseQuery
- Prints a user-readable version of this query.
- toString() -
Method in class org.apache.lucene.search.PrefixFilter
- Prints a user-readable version of this query.
- toString(String) -
Method in class org.apache.lucene.search.PrefixQuery
- Prints a user-readable version of this query.
- toString(String) -
Method in class org.apache.lucene.search.Query
- Prints a query to a string, with
field
assumed to be the
default field and omitted.
- toString() -
Method in class org.apache.lucene.search.Query
- Prints a query to a string.
- toString() -
Method in class org.apache.lucene.search.QueryTermVector
-
- toString() -
Method in class org.apache.lucene.search.QueryWrapperFilter
-
- toString() -
Method in class org.apache.lucene.search.RangeFilter
-
- toString(String) -
Method in class org.apache.lucene.search.RangeQuery
- Prints a user-readable version of this query.
- toString() -
Method in class org.apache.lucene.search.Sort
-
- toString() -
Method in class org.apache.lucene.search.SortField
-
- toString() -
Method in class org.apache.lucene.search.SpanQueryFilter
-
- toString(String) -
Method in class org.apache.lucene.search.spans.SpanFirstQuery
-
- toString(String) -
Method in class org.apache.lucene.search.spans.SpanNearQuery
-
- toString(String) -
Method in class org.apache.lucene.search.spans.SpanNotQuery
-
- toString(String) -
Method in class org.apache.lucene.search.spans.SpanOrQuery
-
- toString(String) -
Method in class org.apache.lucene.search.spans.SpanTermQuery
-
- toString() -
Method in class org.apache.lucene.search.spans.TermSpans
-
- toString(String) -
Method in class org.apache.lucene.search.TermQuery
- Prints a user-readable version of this query.
- toString() -
Method in class org.apache.lucene.store.FSDirectory
- For debug output.
- toString() -
Method in class org.apache.lucene.util.Parameter
-
- ToStringUtils - Class in org.apache.lucene.util
- Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements.
- ToStringUtils() -
Constructor for class org.apache.lucene.util.ToStringUtils
-
- totalHits -
Variable in class org.apache.lucene.search.TopDocs
- Expert: The total number of hits for the query.
- touchFile(String) -
Method in class org.apache.lucene.store.Directory
- Set the modified time of an existing file to now.
- touchFile(String) -
Method in class org.apache.lucene.store.FSDirectory
- Set the modified time of an existing file to now.
- touchFile(String) -
Method in class org.apache.lucene.store.RAMDirectory
- Set the modified time of an existing file to now.
- type() -
Method in class org.apache.lucene.analysis.Token
- Returns this Token's lexical type.
U
- UN_TOKENIZED -
Static variable in class org.apache.lucene.document.Field.Index
- Index the field's value without using an Analyzer, so it can be searched.
- undeleteAll() -
Method in class org.apache.lucene.index.IndexReader
- Undeletes all documents currently marked as deleted in this index.
- UNINDEXED -
Static variable in class org.apache.lucene.index.IndexReader.FieldOption
- All fields which are not indexed
- unlock(Directory) -
Static method in class org.apache.lucene.index.IndexReader
- Forcibly unlocks the index in the named directory.
- updateDocument(Term, Document) -
Method in class org.apache.lucene.index.IndexWriter
- Updates a document by first deleting the document(s)
containing
term
and then adding the new
document.
- updateDocument(Term, Document, Analyzer) -
Method in class org.apache.lucene.index.IndexWriter
- Updates a document by first deleting the document(s)
containing
term
and then adding the new
document.
- useCompoundDocStore(SegmentInfos) -
Method in class org.apache.lucene.index.LogMergePolicy
-
- useCompoundFile -
Variable in class org.apache.lucene.index.IndexModifier
- Deprecated.
- useCompoundFile(SegmentInfos, SegmentInfo) -
Method in class org.apache.lucene.index.LogMergePolicy
-
V
- value -
Variable in class org.apache.lucene.search.spans.SpanScorer
-
- value -
Variable in class org.apache.lucene.search.spans.SpanWeight
-
- ValueSource - Class in org.apache.lucene.search.function
- Expert: source of values for basic function queries.
- ValueSource() -
Constructor for class org.apache.lucene.search.function.ValueSource
-
- ValueSourceQuery - Class in org.apache.lucene.search.function
- Expert: A Query that sets the scores of document to the
values obtained from a
ValueSource
. - ValueSourceQuery(ValueSource) -
Constructor for class org.apache.lucene.search.function.ValueSourceQuery
- Create a value source query
- VerifyingLockFactory - Class in org.apache.lucene.store
- A
LockFactory
that wraps another LockFactory
and verifies that each lock obtain/release
is "correct" (never results in two processes holding the
lock at the same time). - VerifyingLockFactory(byte, LockFactory, String, int) -
Constructor for class org.apache.lucene.store.VerifyingLockFactory
-
W
- weight(Searcher) -
Method in class org.apache.lucene.search.Query
- Expert: Constructs and initializes a Weight for a top-level query.
- weight -
Variable in class org.apache.lucene.search.spans.SpanScorer
-
- Weight - Interface in org.apache.lucene.search
- Expert: Calculate query weights and build query scorers.
- WhitespaceAnalyzer - Class in org.apache.lucene.analysis
- An Analyzer that uses WhitespaceTokenizer.
- WhitespaceAnalyzer() -
Constructor for class org.apache.lucene.analysis.WhitespaceAnalyzer
-
- WhitespaceTokenizer - Class in org.apache.lucene.analysis
- A WhitespaceTokenizer is a tokenizer that divides text at whitespace.
- WhitespaceTokenizer(Reader) -
Constructor for class org.apache.lucene.analysis.WhitespaceTokenizer
- Construct a new WhitespaceTokenizer.
- WILDCARD_CHAR -
Static variable in class org.apache.lucene.search.WildcardTermEnum
-
- WILDCARD_STRING -
Static variable in class org.apache.lucene.search.WildcardTermEnum
- String equality with support for wildcards
- wildcardEquals(String, int, String, int) -
Static method in class org.apache.lucene.search.WildcardTermEnum
- Determines if a word matches a wildcard pattern.
- WildcardQuery - Class in org.apache.lucene.search
- Implements the wildcard search query.
- WildcardQuery(Term) -
Constructor for class org.apache.lucene.search.WildcardQuery
-
- WildcardTermEnum - Class in org.apache.lucene.search
- Subclass of FilteredTermEnum for enumerating all terms that match the
specified wildcard filter term.
- WildcardTermEnum(IndexReader, Term) -
Constructor for class org.apache.lucene.search.WildcardTermEnum
- Creates a new
WildcardTermEnum
.
- WILDTERM -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- WINDOWS -
Static variable in class org.apache.lucene.util.Constants
- True iff running on Windows.
- WITH_OFFSETS -
Static variable in class org.apache.lucene.document.Field.TermVector
- Store the term vector + Token offset information
- WITH_POSITIONS -
Static variable in class org.apache.lucene.document.Field.TermVector
- Store the term vector + token position information
- WITH_POSITIONS_OFFSETS -
Static variable in class org.apache.lucene.document.Field.TermVector
- Store the term vector + Token position and offset information
- WordlistLoader - Class in org.apache.lucene.analysis
- Loader for text files that represent a list of stopwords.
- WordlistLoader() -
Constructor for class org.apache.lucene.analysis.WordlistLoader
-
- write(Directory, String) -
Method in class org.apache.lucene.util.BitVector
- Writes this vector to the file
name
in Directory
d
, in a format that can be read by the constructor BitVector.BitVector(Directory, String)
.
- WRITE_LOCK_NAME -
Static variable in class org.apache.lucene.index.IndexWriter
- Name of the write lock in the index.
- WRITE_LOCK_TIMEOUT -
Static variable in class org.apache.lucene.index.IndexWriter
- Default value for the write lock timeout (1,000).
- writeByte(byte) -
Method in class org.apache.lucene.store.BufferedIndexOutput
- Writes a single byte.
- writeByte(byte) -
Method in class org.apache.lucene.store.IndexOutput
- Writes a single byte.
- writeByte(byte) -
Method in class org.apache.lucene.store.RAMOutputStream
-
- writeBytes(byte[], int, int) -
Method in class org.apache.lucene.store.BufferedIndexOutput
- Writes an array of bytes.
- writeBytes(byte[], int) -
Method in class org.apache.lucene.store.IndexOutput
- Writes an array of bytes.
- writeBytes(byte[], int, int) -
Method in class org.apache.lucene.store.IndexOutput
- Writes an array of bytes.
- writeBytes(byte[], int, int) -
Method in class org.apache.lucene.store.RAMOutputStream
-
- writeChars(String, int, int) -
Method in class org.apache.lucene.store.IndexOutput
- Writes a sequence of UTF-8 encoded characters from a string.
- writeChars(char[], int, int) -
Method in class org.apache.lucene.store.IndexOutput
- Writes a sequence of UTF-8 encoded characters from a char[].
- writeInt(int) -
Method in class org.apache.lucene.store.IndexOutput
- Writes an int as four bytes.
- writeLong(long) -
Method in class org.apache.lucene.store.IndexOutput
- Writes a long as eight bytes.
- writeString(String) -
Method in class org.apache.lucene.store.IndexOutput
- Writes a string.
- writeTo(IndexOutput) -
Method in class org.apache.lucene.store.RAMOutputStream
- Copy the current contents of this buffer to the named output.
- writeVInt(int) -
Method in class org.apache.lucene.store.IndexOutput
- Writes an int in a variable-length format.
- writeVLong(long) -
Method in class org.apache.lucene.store.IndexOutput
- Writes an long in a variable-length format.
Y
- YEAR -
Static variable in class org.apache.lucene.document.DateTools.Resolution
-
- YES -
Static variable in class org.apache.lucene.document.Field.Store
- Store the original field value in the index.
- YES -
Static variable in class org.apache.lucene.document.Field.TermVector
- Store the term vectors of each document.
_
- _ESCAPED_CHAR -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- _NUM_CHAR -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- _TERM_CHAR -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- _TERM_START_CHAR -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
- _WHITESPACE -
Static variable in interface org.apache.lucene.queryParser.QueryParserConstants
-
A B C D E F G H I J K L M N O P Q R S T U V W Y _
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.