Package | Description |
---|---|
org.apache.lucene.classification |
Uses already seen data (the indexed documents) to classify an input ( can be simple text or a structured document).
|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.index |
Code to maintain and access indices.
|
org.apache.lucene.index.memory |
High-performance single-document main memory Apache Lucene fulltext search index.
|
org.apache.lucene.queries.function |
Queries that compute score based upon a function.
|
org.apache.lucene.queries.function.valuesource |
A variety of functions to use with FunctionQuery.
|
org.apache.lucene.queries.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search |
Code to search indices.
|
org.apache.lucene.search.grouping |
Grouping.
|
org.apache.lucene.search.intervals |
Intervals queries
|
org.apache.lucene.search.join |
Support for index-time and query-time joins.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
org.apache.lucene.search.suggest.analyzing |
Analyzer based autosuggest.
|
org.apache.lucene.search.suggest.document |
Support for document suggestion
|
org.apache.lucene.search.uhighlight |
The UnifiedHighlighter -- a flexible highlighter that can get offsets from postings, term vectors, or analysis.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Field and Description |
---|---|
protected IndexSearcher |
KNearestNeighborClassifier.indexSearcher
an
IndexSearcher used to perform queries |
protected IndexSearcher |
SimpleNaiveBayesClassifier.indexSearcher
IndexSearcher to run searches on the index for retrieving frequencies |
Modifier and Type | Method and Description |
---|---|
static TopFieldDocs |
FloatPointNearestNeighbor.nearest(IndexSearcher searcher,
java.lang.String field,
int topN,
float... origin) |
Modifier and Type | Method and Description |
---|---|
protected abstract IndexSearcher |
ThreadedIndexingAndSearchingTestCase.getCurrentSearcher() |
protected abstract IndexSearcher |
ThreadedIndexingAndSearchingTestCase.getFinalSearcher() |
Modifier and Type | Method and Description |
---|---|
protected void |
ThreadedIndexingAndSearchingTestCase.releaseSearcher(IndexSearcher s) |
protected void |
ThreadedIndexingAndSearchingTestCase.smokeTestSearcher(IndexSearcher s) |
Modifier and Type | Method and Description |
---|---|
IndexSearcher |
MemoryIndex.createSearcher()
Creates and returns a searcher that can be used to execute arbitrary
Lucene queries and to collect the resulting query results as hits.
|
Modifier and Type | Field and Description |
---|---|
protected IndexSearcher |
FunctionQuery.FunctionWeight.searcher |
Modifier and Type | Method and Description |
---|---|
Weight |
FunctionQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
FunctionScoreQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
FunctionRangeQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
FunctionMatchQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
void |
ValueSource.createWeight(java.util.Map context,
IndexSearcher searcher)
Implementations should propagate createWeight to sub-ValueSources which can optionally store
weight info in the context.
|
static java.util.Map |
ValueSource.newContext(IndexSearcher searcher)
Returns a new non-threadsafe context map.
|
Constructor and Description |
---|
FunctionWeight(IndexSearcher searcher,
float boost) |
Modifier and Type | Method and Description |
---|---|
void |
MaxDocValueSource.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
MultiFloatFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
MultiFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
DocFreqValueSource.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
RangeMapFloatFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
SumTotalTermFreqValueSource.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
IfFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
SingleFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
ReciprocalFloatFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
ComparisonBoolFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
ScaleFloatFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
NormValueSource.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
LinearFloatFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
DualFloatFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
VectorValueSource.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
QueryValueSource.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
TotalTermFreqValueSource.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
SimpleBoolFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
void |
MultiBoolFunction.createWeight(java.util.Map context,
IndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
SpanWeight |
PayloadScoreQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
SpanWeight |
SpanPayloadCheckQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Constructor and Description |
---|
SpanPayloadCheckWeight(IndexSearcher searcher,
java.util.Map<Term,TermStates> termStates,
SpanWeight matchWeight,
float boost) |
Modifier and Type | Class and Description |
---|---|
class |
AssertingIndexSearcher
Helper class that adds some extra checks to ensure correct
usage of
IndexSearcher and Weight . |
static class |
CheckHits.ExplanationAssertingSearcher
an IndexSearcher that implicitly checks hte explanation of every match
whenever it executes a search.
|
class |
ScorerIndexSearcher
|
class |
ShardSearchingTestBase.NodeState.ShardIndexSearcher
Matches docs in the local shard but scores based on
aggregated stats ("mock distributed scoring") from all
nodes.
|
Modifier and Type | Field and Description |
---|---|
protected static IndexSearcher |
SearchEquivalenceTestBase.s1 |
protected static IndexSearcher |
SearchEquivalenceTestBase.s2 |
IndexSearcher |
ShardSearchingTestBase.SearcherAndVersion.searcher |
protected static IndexSearcher |
BaseExplanationTestCase.searcher |
Modifier and Type | Method and Description |
---|---|
IndexSearcher |
SearcherLifetimeManager.acquire(long version)
Retrieve a previously recorded
IndexSearcher , if it
has not yet been closed |
static IndexSearcher |
SearcherManager.getSearcher(SearcherFactory searcherFactory,
IndexReader reader,
IndexReader previousReader)
Expert: creates a searcher from the provided
IndexReader using the provided SearcherFactory . |
IndexSearcher |
SearcherFactory.newSearcher(IndexReader reader,
IndexReader previousReader)
Returns a new IndexSearcher over the given reader.
|
protected IndexSearcher |
SearcherManager.refreshIfNeeded(IndexSearcher referenceToRefresh) |
static IndexSearcher |
QueryUtils.wrapUnderlyingReader(java.util.Random random,
IndexSearcher s,
int edge)
Given an IndexSearcher, returns a new IndexSearcher whose IndexReader
is a MultiReader containing the Reader of the original IndexSearcher,
as well as several "empty" IndexReaders -- some of which will have
deleted documents in them.
|
Modifier and Type | Method and Description |
---|---|
static void |
QueryUtils.check(java.util.Random random,
Query q1,
IndexSearcher s)
Various query sanity checks on a searcher, some checks are only done for
instanceof IndexSearcher.
|
static void |
QueryUtils.check(java.util.Random random,
Query q1,
IndexSearcher s,
boolean wrap) |
static void |
QueryUtils.checkBulkScorerSkipTo(java.util.Random r,
Query query,
IndexSearcher searcher)
Check that the scorer and bulk scorer advance consistently.
|
static void |
QueryUtils.checkExplanations(Query q,
IndexSearcher s)
deep check that explanations of a query 'score' correctly
|
static void |
CheckHits.checkExplanations(Query query,
java.lang.String defaultFieldName,
IndexSearcher searcher)
Asserts that the explanation value for every document matching a
query corresponds with the true score.
|
static void |
CheckHits.checkExplanations(Query query,
java.lang.String defaultFieldName,
IndexSearcher searcher,
boolean deep)
Asserts that the explanation value for every document matching a
query corresponds with the true score.
|
static void |
QueryUtils.checkFirstSkipTo(Query q,
IndexSearcher s)
check that first skip on just created scorers always goes to the right doc
|
static void |
CheckHits.checkHitCollector(java.util.Random random,
Query query,
java.lang.String defaultFieldName,
IndexSearcher searcher,
int[] results)
Tests that a query matches the an expected set of documents using a
HitCollector.
|
static void |
CheckHits.checkHits(java.util.Random random,
Query query,
java.lang.String defaultFieldName,
IndexSearcher searcher,
int[] results)
Tests that a query matches the an expected set of documents using Hits.
|
static void |
CheckHits.checkMatches(Query query,
IndexSearcher searcher)
Asserts that the result of calling
Weight.matches(LeafReaderContext, int)
for every document matching a query returns a non-null Matches |
static void |
CheckHits.checkNoMatchExplanations(Query q,
java.lang.String defaultFieldName,
IndexSearcher searcher,
int[] results)
Tests that all documents up to maxDoc which are *not* in the
expected result set, have an explanation which indicates that
the document does not match
|
static void |
QueryUtils.checkSkipTo(Query q,
IndexSearcher s)
alternate scorer advance(),advance(),next(),next(),advance(),advance(), etc
and ensure a hitcollector receives same docs and scores
|
static void |
CheckHits.checkTopScores(java.util.Random random,
Query query,
IndexSearcher searcher) |
Weight |
DocValuesNumbersQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
DocValuesTermsQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
BM25FQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
TermAutomatonQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
CoveringQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
RandomApproximationQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
AssertingQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
BlockScoreQueryWrapper.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
Query.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost)
Expert: Constructs an appropriate Weight implementation for this query.
|
Weight |
BooleanQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
BoostQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
SynonymQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
ConstantScoreQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
DisjunctionMaxQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost)
Create the Weight used to score us
|
Weight |
PhraseQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
NormsFieldExistsQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
IndexOrDocValuesQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
PointInSetQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
TermInSetQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
PointRangeQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
DocValuesFieldExistsQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
TermQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
MatchAllDocsQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
MatchNoDocsQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
MultiPhraseQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
protected void |
SearcherManager.decRef(IndexSearcher reference) |
boolean |
SearcherLifetimeManager.Pruner.doPrune(double ageSec,
IndexSearcher searcher)
Return true if this searcher should be removed.
|
boolean |
SearcherLifetimeManager.PruneByAge.doPrune(double ageSec,
IndexSearcher searcher) |
Explanation |
QueryRescorer.explain(IndexSearcher searcher,
Explanation firstPassExplanation,
int docID) |
abstract Explanation |
Rescorer.explain(IndexSearcher searcher,
Explanation firstPassExplanation,
int docID)
Explains how the score for the specified document was
computed.
|
Explanation |
SortRescorer.explain(IndexSearcher searcher,
Explanation firstPassExplanation,
int docID) |
protected int |
SearcherManager.getRefCount(IndexSearcher reference) |
static TopFieldDocs |
LatLonPointPrototypeQueries.nearest(IndexSearcher searcher,
java.lang.String field,
double latitude,
double longitude,
int n)
Finds the
n nearest indexed points to the provided point, according to Haversine distance. |
static void |
TopFieldCollector.populateScores(ScoreDoc[] topDocs,
IndexSearcher searcher,
Query query)
Populate
scores of the given topDocs . |
long |
SearcherLifetimeManager.record(IndexSearcher searcher)
Records that you are now using this IndexSearcher.
|
protected IndexSearcher |
SearcherManager.refreshIfNeeded(IndexSearcher referenceToRefresh) |
void |
SearcherLifetimeManager.release(IndexSearcher s)
Release a searcher previously obtained from
SearcherLifetimeManager.acquire(long) . |
TopDocs |
QueryRescorer.rescore(IndexSearcher searcher,
TopDocs firstPassTopDocs,
int topN) |
abstract TopDocs |
Rescorer.rescore(IndexSearcher searcher,
TopDocs firstPassTopDocs,
int topN)
Rescore an initial first-pass
TopDocs . |
TopDocs |
SortRescorer.rescore(IndexSearcher searcher,
TopDocs firstPassTopDocs,
int topN) |
static TopDocs |
QueryRescorer.rescore(IndexSearcher searcher,
TopDocs topDocs,
Query query,
double weight,
int topN)
Sugar API, calling {#rescore} using a simple linear
combination of firstPassScore + weight * secondPassScore
|
Sort |
Sort.rewrite(IndexSearcher searcher)
Rewrites the SortFields in this Sort, returning a new Sort if any of the fields
changes during their rewriting.
|
SortField |
SortField.rewrite(IndexSearcher searcher)
Rewrites this SortField, returning a new SortField if a change is made.
|
abstract DoubleValuesSource |
DoubleValuesSource.rewrite(IndexSearcher reader)
Return a DoubleValuesSource specialised for the given IndexSearcher
Implementations should assume that this will only be called once.
|
abstract LongValuesSource |
LongValuesSource.rewrite(IndexSearcher searcher)
Return a LongValuesSource specialised for the given IndexSearcher
Implementations should assume that this will only be called once.
|
protected boolean |
SearcherManager.tryIncRef(IndexSearcher reference) |
static IndexSearcher |
QueryUtils.wrapUnderlyingReader(java.util.Random random,
IndexSearcher s,
int edge)
Given an IndexSearcher, returns a new IndexSearcher whose IndexReader
is a MultiReader containing the Reader of the original IndexSearcher,
as well as several "empty" IndexReaders -- some of which will have
deleted documents in them.
|
Constructor and Description |
---|
DisjunctionMaxWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost)
Construct the Weight for this Query searched by searcher.
|
ExplanationAsserter(Query q,
java.lang.String defaultFieldName,
IndexSearcher s)
Constructs an instance which does shallow tests on the Explanation
|
ExplanationAsserter(Query q,
java.lang.String defaultFieldName,
IndexSearcher s,
boolean deep) |
MatchesAsserter(Query query,
IndexSearcher searcher) |
SearcherAndVersion(IndexSearcher searcher,
long version) |
Modifier and Type | Method and Description |
---|---|
protected TopGroups<?> |
GroupingSearch.groupByDocBlock(IndexSearcher searcher,
Query query,
int groupOffset,
int groupLimit) |
protected TopGroups |
GroupingSearch.groupByFieldOrFunction(IndexSearcher searcher,
Query query,
int groupOffset,
int groupLimit) |
<T> TopGroups<T> |
GroupingSearch.search(IndexSearcher searcher,
Query query,
int groupOffset,
int groupLimit)
Executes a grouped search.
|
Modifier and Type | Method and Description |
---|---|
Weight |
IntervalQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Modifier and Type | Method and Description |
---|---|
static Query |
JoinUtil.createJoinQuery(java.lang.String fromField,
boolean multipleValuesPerDocument,
java.lang.String toField,
java.lang.Class<? extends java.lang.Number> numericType,
Query fromQuery,
IndexSearcher fromSearcher,
ScoreMode scoreMode)
Method for query time joining for numeric fields.
|
static Query |
JoinUtil.createJoinQuery(java.lang.String fromField,
boolean multipleValuesPerDocument,
java.lang.String toField,
Query fromQuery,
IndexSearcher fromSearcher,
ScoreMode scoreMode)
Method for query time joining.
|
static Query |
JoinUtil.createJoinQuery(java.lang.String joinField,
Query fromQuery,
Query toQuery,
IndexSearcher searcher,
ScoreMode scoreMode,
OrdinalMap ordinalMap)
Delegates to
JoinUtil.createJoinQuery(String, Query, Query, IndexSearcher, ScoreMode, OrdinalMap, int, int) ,
but disables the min and max filtering. |
static Query |
JoinUtil.createJoinQuery(java.lang.String joinField,
Query fromQuery,
Query toQuery,
IndexSearcher searcher,
ScoreMode scoreMode,
OrdinalMap ordinalMap,
int min,
int max)
A query time join using global ordinals over a dedicated join field.
|
Weight |
ParentChildrenBlockJoinQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
ToChildBlockJoinQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
ToParentBlockJoinQuery.createWeight(IndexSearcher searcher,
ScoreMode weightScoreMode,
float boost) |
Modifier and Type | Method and Description |
---|---|
SpanWeight |
AssertingSpanQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
SpanWeight |
SpanPositionCheckQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
abstract SpanWeight |
SpanQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
SpanWeight |
SpanContainingQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
SpanWeight |
SpanTermQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
SpanWeight |
SpanNotQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
SpanWeight |
FieldMaskingSpanQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
SpanWeight |
SpanOrQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
SpanWeight |
SpanBoostQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
SpanWeight |
SpanWithinQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
SpanWeight |
SpanNearQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
SpanWeight |
SpanMultiTermQueryWrapper.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Constructor and Description |
---|
AssertingSpanWeight(IndexSearcher searcher,
SpanWeight in)
Create an AssertingSpanWeight
|
SpanContainingWeight(IndexSearcher searcher,
java.util.Map<Term,TermStates> terms,
SpanWeight bigWeight,
SpanWeight littleWeight,
float boost) |
SpanNearWeight(java.util.List<SpanWeight> subWeights,
IndexSearcher searcher,
java.util.Map<Term,TermStates> terms,
float boost) |
SpanNotWeight(IndexSearcher searcher,
java.util.Map<Term,TermStates> terms,
SpanWeight includeWeight,
SpanWeight excludeWeight,
float boost) |
SpanOrWeight(IndexSearcher searcher,
java.util.Map<Term,TermStates> terms,
java.util.List<SpanWeight> subWeights,
float boost) |
SpanPositionCheckWeight(SpanWeight matchWeight,
IndexSearcher searcher,
java.util.Map<Term,TermStates> terms,
float boost) |
SpanTermWeight(TermStates termStates,
IndexSearcher searcher,
java.util.Map<Term,TermStates> terms,
float boost) |
SpanWeight(SpanQuery query,
IndexSearcher searcher,
java.util.Map<Term,TermStates> termStates,
float boost)
Create a new SpanWeight
|
SpanWithinWeight(IndexSearcher searcher,
java.util.Map<Term,TermStates> terms,
SpanWeight bigWeight,
SpanWeight littleWeight,
float boost) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Lookup.LookupResult> |
AnalyzingInfixSuggester.createResults(IndexSearcher searcher,
TopFieldDocs hits,
int num,
java.lang.CharSequence charSequence,
boolean doHighlight,
java.util.Set<java.lang.String> matchedTokens,
java.lang.String prefixToken)
Create the results based on the search hits.
|
protected java.util.List<Lookup.LookupResult> |
BlendedInfixSuggester.createResults(IndexSearcher searcher,
TopFieldDocs hits,
int num,
java.lang.CharSequence key,
boolean doHighlight,
java.util.Set<java.lang.String> matchedTokens,
java.lang.String prefixToken) |
Modifier and Type | Class and Description |
---|---|
class |
SuggestIndexSearcher
Adds document suggest capabilities to IndexSearcher.
|
Modifier and Type | Method and Description |
---|---|
Weight |
FuzzyCompletionQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
PrefixCompletionQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
RegexCompletionQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Weight |
ContextQuery.createWeight(IndexSearcher searcher,
ScoreMode scoreMode,
float boost) |
Modifier and Type | Field and Description |
---|---|
protected IndexSearcher |
UnifiedHighlighter.searcher |
Modifier and Type | Method and Description |
---|---|
IndexSearcher |
UnifiedHighlighter.getIndexSearcher()
...
|
Constructor and Description |
---|
UnifiedHighlighter(IndexSearcher indexSearcher,
Analyzer indexAnalyzer)
Constructs the highlighter with the given index searcher and analyzer.
|
Modifier and Type | Method and Description |
---|---|
static IndexSearcher |
LuceneTestCase.newSearcher(IndexReader r)
Create a new searcher over the reader.
|
static IndexSearcher |
LuceneTestCase.newSearcher(IndexReader r,
boolean maybeWrap)
Create a new searcher over the reader.
|
static IndexSearcher |
LuceneTestCase.newSearcher(IndexReader r,
boolean maybeWrap,
boolean wrapWithAssertions)
Create a new searcher over the reader.
|
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.