Package | Description |
---|---|
org.apache.lucene.benchmark.byTask |
Benchmarking Lucene By Tasks
|
org.apache.lucene.benchmark.quality |
Search Quality Benchmarking.
|
org.apache.lucene.benchmark.quality.utils |
Miscellaneous utilities for search quality benchmarking: query parsing, submission reports.
|
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.demo |
Demo applications for indexing and searching.
|
org.apache.lucene.document |
The logical representation of a
Document for indexing and searching. |
org.apache.lucene.facet |
Faceted search.
|
org.apache.lucene.facet.taxonomy |
Taxonomy of Categories.
|
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 |
Filters and Queries that add to core Lucene.
|
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.join |
Support for index-time and query-time joins.
|
org.apache.lucene.search.postingshighlight |
Highlighter implementation that uses offsets from postings lists.
|
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.spatial.bbox |
Bounding Box Spatial Strategy
|
org.apache.lucene.spatial.composite |
Composite strategies.
|
org.apache.lucene.spatial.prefix |
Prefix Tree Strategy.
|
org.apache.lucene.spatial.util |
Various spatial utilities.
|
org.apache.lucene.util |
Some utility classes.
|
Modifier and Type | Method and Description |
---|---|
IndexSearcher |
PerfRunData.getIndexSearcher() |
Modifier and Type | Field and Description |
---|---|
protected IndexSearcher |
QualityBenchmark.searcher
Index to be searched.
|
Constructor and Description |
---|
QualityBenchmark(QualityQuery[] qqs,
QualityQueryParser qqParser,
IndexSearcher searcher,
String docNameField)
Create a QualityBenchmark.
|
Modifier and Type | Method and Description |
---|---|
String |
DocNameExtractor.docName(IndexSearcher searcher,
int docid)
Extract the name of the input doc from the index.
|
void |
SubmissionReport.report(QualityQuery qq,
TopDocs td,
String docNameField,
IndexSearcher searcher)
Report a search result for a certain quality query.
|
Modifier and Type | Field and Description |
---|---|
protected IndexSearcher |
SimpleNaiveBayesClassifier.indexSearcher
IndexSearcher to run searches on the index for retrieving frequencies |
protected IndexSearcher |
KNearestNeighborClassifier.indexSearcher
an
IndexSearcher used to perform queries |
Modifier and Type | Method and Description |
---|---|
static void |
SearchFiles.doPagingSearch(BufferedReader in,
IndexSearcher searcher,
Query query,
int hitsPerPage,
boolean raw,
boolean interactive)
This demonstrates a typical paging search scenario, where the search engine presents
pages of size n to the user.
|
Modifier and Type | Method and Description |
---|---|
static TopFieldDocs |
LatLonPoint.nearest(IndexSearcher searcher,
String field,
double latitude,
double longitude,
int n)
Finds the
n nearest indexed points to the provided point, according to Haversine distance. |
Modifier and Type | Field and Description |
---|---|
protected IndexSearcher |
DrillSideways.searcher
IndexSearcher passed to constructor. |
Modifier and Type | Method and Description |
---|---|
FacetResult |
RandomSamplingFacetsCollector.amortizeFacetCounts(FacetResult res,
FacetsConfig config,
IndexSearcher searcher)
Note: if you use a counting
Facets implementation, you can amortize the
sampled counts by calling this method. |
static TopDocs |
FacetsCollector.search(IndexSearcher searcher,
Query q,
int n,
Collector fc)
Utility method, to search and also collect all hits
into the provided
Collector . |
static TopFieldDocs |
FacetsCollector.search(IndexSearcher searcher,
Query q,
int n,
Sort sort,
boolean doDocScores,
boolean doMaxScore,
Collector fc)
Utility method, to search and also collect all hits
into the provided
Collector . |
static TopFieldDocs |
FacetsCollector.search(IndexSearcher searcher,
Query q,
int n,
Sort sort,
Collector fc)
Utility method, to search and also collect all hits
into the provided
Collector . |
static TopDocs |
FacetsCollector.searchAfter(IndexSearcher searcher,
ScoreDoc after,
Query q,
int n,
Collector fc)
Utility method, to search and also collect all hits
into the provided
Collector . |
static TopDocs |
FacetsCollector.searchAfter(IndexSearcher searcher,
ScoreDoc after,
Query q,
int n,
Sort sort,
boolean doDocScores,
boolean doMaxScore,
Collector fc)
Utility method, to search and also collect all hits
into the provided
Collector . |
static TopDocs |
FacetsCollector.searchAfter(IndexSearcher searcher,
ScoreDoc after,
Query q,
int n,
Sort sort,
Collector fc)
Utility method, to search and also collect all hits
into the provided
Collector . |
Constructor and Description |
---|
DrillSideways(IndexSearcher searcher,
FacetsConfig config,
SortedSetDocValuesReaderState state)
Create a new
DrillSideways instance, assuming the categories were
indexed with SortedSetDocValuesFacetField . |
DrillSideways(IndexSearcher searcher,
FacetsConfig config,
TaxonomyReader taxoReader)
Create a new
DrillSideways instance. |
DrillSideways(IndexSearcher searcher,
FacetsConfig config,
TaxonomyReader taxoReader,
SortedSetDocValuesReaderState state)
Create a new
DrillSideways instance, where some
dimensions were indexed with SortedSetDocValuesFacetField and others were indexed
with FacetField . |
Modifier and Type | Field and Description |
---|---|
IndexSearcher |
SearcherTaxonomyManager.SearcherAndTaxonomy.searcher
Point-in-time
IndexSearcher . |
Constructor and Description |
---|
SearcherAndTaxonomy(IndexSearcher searcher,
DirectoryTaxonomyReader taxonomyReader)
Create a SearcherAndTaxonomy
|
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 | Method and Description |
---|---|
Weight |
CustomScoreQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
BoostingQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
TermsQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Field and Description |
---|---|
protected IndexSearcher |
FunctionQuery.FunctionWeight.searcher |
Modifier and Type | Method and Description |
---|---|
Weight |
FunctionRangeQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
BoostedQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
FunctionQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
void |
ValueSource.createWeight(Map context,
IndexSearcher searcher)
Implementations should propagate createWeight to sub-ValueSources which can optionally store
weight info in the context.
|
static Map |
ValueSource.newContext(IndexSearcher searcher)
Returns a new non-threadsafe context map.
|
Constructor and Description |
---|
FunctionWeight(IndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
void |
RangeMapFloatFunction.createWeight(Map context,
IndexSearcher searcher) |
void |
SingleFunction.createWeight(Map context,
IndexSearcher searcher) |
void |
MultiBoolFunction.createWeight(Map context,
IndexSearcher searcher) |
void |
DualFloatFunction.createWeight(Map context,
IndexSearcher searcher) |
void |
TotalTermFreqValueSource.createWeight(Map context,
IndexSearcher searcher) |
void |
DocFreqValueSource.createWeight(Map context,
IndexSearcher searcher) |
void |
MultiFloatFunction.createWeight(Map context,
IndexSearcher searcher) |
void |
QueryValueSource.createWeight(Map context,
IndexSearcher searcher) |
void |
IfFunction.createWeight(Map context,
IndexSearcher searcher) |
void |
SimpleBoolFunction.createWeight(Map context,
IndexSearcher searcher) |
void |
MaxDocValueSource.createWeight(Map context,
IndexSearcher searcher) |
void |
MultiFunction.createWeight(Map context,
IndexSearcher searcher) |
void |
LinearFloatFunction.createWeight(Map context,
IndexSearcher searcher) |
void |
ScaleFloatFunction.createWeight(Map context,
IndexSearcher searcher) |
void |
NormValueSource.createWeight(Map context,
IndexSearcher searcher) |
void |
ReciprocalFloatFunction.createWeight(Map context,
IndexSearcher searcher) |
void |
SumTotalTermFreqValueSource.createWeight(Map context,
IndexSearcher searcher) |
void |
VectorValueSource.createWeight(Map context,
IndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
SpanWeight |
SpanPayloadCheckQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
SpanWeight |
PayloadScoreQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Constructor and Description |
---|
SpanPayloadCheckWeight(IndexSearcher searcher,
Map<Term,TermContext> termContexts,
SpanWeight matchWeight) |
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(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(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(Random random,
Query q1,
IndexSearcher s,
boolean wrap) |
static void |
QueryUtils.checkBulkScorerSkipTo(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,
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,
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(Random random,
Query query,
String defaultFieldName,
IndexSearcher searcher,
int[] results)
Tests that a query matches the an expected set of documents using a
HitCollector.
|
static void |
CheckHits.checkHits(Random random,
Query query,
String defaultFieldName,
IndexSearcher searcher,
int[] results)
Tests that a query matches the an expected set of documents using Hits.
|
static void |
CheckHits.checkNoMatchExplanations(Query q,
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
|
Weight |
TermAutomatonQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
DocValuesTermsQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
DocValuesNumbersQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
DocValuesRangeQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
RandomApproximationQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
AssertingQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
PointRangeQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
SynonymQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
PhraseQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
ConstantScoreQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
BooleanQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
TermQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
BoostQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
PointInSetQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
Query.createWeight(IndexSearcher searcher,
boolean needsScores)
Expert: Constructs an appropriate Weight implementation for this query.
|
Weight |
FieldValueQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
MatchAllDocsQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
DisjunctionMaxQuery.createWeight(IndexSearcher searcher,
boolean needsScores)
Create the Weight used to score us
|
Weight |
MultiPhraseQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
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) |
abstract Explanation |
Rescorer.explain(IndexSearcher searcher,
Explanation firstPassExplanation,
int docID)
Explains how the score for the specified document was
computed.
|
Explanation |
QueryRescorer.explain(IndexSearcher searcher,
Explanation firstPassExplanation,
int docID) |
Explanation |
SortRescorer.explain(IndexSearcher searcher,
Explanation firstPassExplanation,
int docID) |
protected int |
SearcherManager.getRefCount(IndexSearcher reference) |
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) . |
abstract TopDocs |
Rescorer.rescore(IndexSearcher searcher,
TopDocs firstPassTopDocs,
int topN)
Rescore an initial first-pass
TopDocs . |
TopDocs |
QueryRescorer.rescore(IndexSearcher searcher,
TopDocs firstPassTopDocs,
int topN) |
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
|
SortField |
SortField.rewrite(IndexSearcher searcher)
Rewrites this SortField, returning a new SortField if a change is made.
|
Sort |
Sort.rewrite(IndexSearcher searcher)
Rewrites the SortFields in this Sort, returning a new Sort if any of the fields
changes during their rewriting.
|
protected boolean |
SearcherManager.tryIncRef(IndexSearcher reference) |
static IndexSearcher |
QueryUtils.wrapUnderlyingReader(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,
boolean needsScores)
Construct the Weight for this Query searched by searcher.
|
ExplanationAsserter(Query q,
String defaultFieldName,
IndexSearcher s)
Constructs an instance which does shallow tests on the Explanation
|
ExplanationAsserter(Query q,
String defaultFieldName,
IndexSearcher s,
boolean deep) |
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 | Class and Description |
---|---|
class |
ToParentBlockJoinIndexSearcher
An
IndexSearcher to use in conjunction with
ToParentBlockJoinCollector . |
Modifier and Type | Method and Description |
---|---|
static Query |
JoinUtil.createJoinQuery(String fromField,
boolean multipleValuesPerDocument,
String toField,
Class<? extends Number> numericType,
Query fromQuery,
IndexSearcher fromSearcher,
ScoreMode scoreMode)
Method for query time joining for numeric fields.
|
static Query |
JoinUtil.createJoinQuery(String fromField,
boolean multipleValuesPerDocument,
String toField,
FieldType.LegacyNumericType numericType,
Query fromQuery,
IndexSearcher fromSearcher,
ScoreMode scoreMode)
Deprecated.
Because
FieldType.LegacyNumericType is deprecated, instead use JoinUtil.createJoinQuery(String, boolean, String, Class, Query, IndexSearcher, ScoreMode)
Method for query time joining for numeric fields. It supports multi- and single- values longs and ints.
All considerations from JoinUtil.createJoinQuery(String, boolean, String, Query, IndexSearcher, ScoreMode) are applicable here too,
though memory consumption might be higher.
|
static Query |
JoinUtil.createJoinQuery(String fromField,
boolean multipleValuesPerDocument,
String toField,
Query fromQuery,
IndexSearcher fromSearcher,
ScoreMode scoreMode)
Method for query time joining.
|
static Query |
JoinUtil.createJoinQuery(String joinField,
Query fromQuery,
Query toQuery,
IndexSearcher searcher,
ScoreMode scoreMode,
MultiDocValues.OrdinalMap ordinalMap)
Delegates to
JoinUtil.createJoinQuery(String, Query, Query, IndexSearcher, ScoreMode, MultiDocValues.OrdinalMap, int, int) ,
but disables the min and max filtering. |
static Query |
JoinUtil.createJoinQuery(String joinField,
Query fromQuery,
Query toQuery,
IndexSearcher searcher,
ScoreMode scoreMode,
MultiDocValues.OrdinalMap ordinalMap,
int min,
int max)
A query time join using global ordinals over a dedicated join field.
|
Weight |
ToParentBlockJoinQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
ToChildBlockJoinQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Method and Description |
---|---|
String[] |
PostingsHighlighter.highlight(String field,
Query query,
IndexSearcher searcher,
TopDocs topDocs)
Highlights the top passages from a single field.
|
String[] |
PostingsHighlighter.highlight(String field,
Query query,
IndexSearcher searcher,
TopDocs topDocs,
int maxPassages)
Highlights the top-N passages from a single field.
|
Map<String,String[]> |
PostingsHighlighter.highlightFields(String[] fieldsIn,
Query query,
IndexSearcher searcher,
int[] docidsIn,
int[] maxPassagesIn)
Highlights the top-N passages from multiple fields,
for the provided int[] docids.
|
Map<String,String[]> |
PostingsHighlighter.highlightFields(String[] fields,
Query query,
IndexSearcher searcher,
TopDocs topDocs)
Highlights the top passages from multiple fields.
|
Map<String,String[]> |
PostingsHighlighter.highlightFields(String[] fields,
Query query,
IndexSearcher searcher,
TopDocs topDocs,
int[] maxPassages)
Highlights the top-N passages from multiple fields.
|
protected Map<String,Object[]> |
PostingsHighlighter.highlightFieldsAsObjects(String[] fieldsIn,
Query query,
IndexSearcher searcher,
int[] docidsIn,
int[] maxPassagesIn)
Expert: highlights the top-N passages from multiple fields,
for the provided int[] docids, to custom Object as
returned by the
PassageFormatter . |
protected String[][] |
PostingsHighlighter.loadFieldValues(IndexSearcher searcher,
String[] fields,
int[] docids,
int maxLength)
Loads the String values for each field X docID to be
highlighted.
|
Modifier and Type | Method and Description |
---|---|
SpanWeight |
AssertingSpanQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
SpanWeight |
SpanContainingQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
SpanWeight |
SpanWithinQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
SpanWeight |
SpanTermQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
SpanWeight |
SpanNearQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
SpanWeight |
SpanBoostQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
SpanWeight |
SpanMultiTermQueryWrapper.createWeight(IndexSearcher searcher,
boolean needsScores) |
abstract SpanWeight |
SpanQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
SpanWeight |
SpanPositionCheckQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
SpanWeight |
SpanOrQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
SpanWeight |
FieldMaskingSpanQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
SpanWeight |
SpanNotQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Method and Description |
---|---|
protected List<Lookup.LookupResult> |
AnalyzingInfixSuggester.createResults(IndexSearcher searcher,
TopFieldDocs hits,
int num,
CharSequence charSequence,
boolean doHighlight,
Set<String> matchedTokens,
String prefixToken)
Create the results based on the search hits.
|
protected List<Lookup.LookupResult> |
BlendedInfixSuggester.createResults(IndexSearcher searcher,
TopFieldDocs hits,
int num,
CharSequence key,
boolean doHighlight,
Set<String> matchedTokens,
String prefixToken) |
Modifier and Type | Class and Description |
---|---|
class |
SuggestIndexSearcher
Adds document suggest capabilities to IndexSearcher.
|
Modifier and Type | Method and Description |
---|---|
Weight |
RegexCompletionQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
ContextQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
FuzzyCompletionQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
PrefixCompletionQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Method and Description |
---|---|
void |
BBoxSimilarityValueSource.createWeight(Map context,
IndexSearcher searcher) |
Modifier and Type | Method and Description |
---|---|
Weight |
IntersectsRPTVerifyQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Weight |
CompositeVerifyQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Method and Description |
---|---|
Weight |
AbstractPrefixTreeQuery.createWeight(IndexSearcher searcher,
boolean needsScores) |
Modifier and Type | Method and Description |
---|---|
void |
ShapeAreaValueSource.createWeight(Map context,
IndexSearcher searcher) |
void |
ShapePredicateValueSource.createWeight(Map context,
IndexSearcher searcher) |
void |
DistanceToShapeValueSource.createWeight(Map context,
IndexSearcher searcher) |
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–2017 The Apache Software Foundation. All rights reserved.