Package | Description |
---|---|
org.apache.lucene.queries.payloads |
The payloads package provides Query mechanisms for finding and using payloads.
|
org.apache.lucene.search.spans |
The calculus of spans.
|
Modifier and Type | Class and Description |
---|---|
class |
SpanPayloadCheckQuery.SpanPayloadCheckWeight
Weight that pulls its Spans using a PayloadSpanCollector
|
Modifier and Type | Method and Description |
---|---|
SpanWeight |
SpanPayloadCheckQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
SpanWeight |
PayloadScoreQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
Constructor and Description |
---|
SpanPayloadCheckWeight(IndexSearcher searcher,
java.util.Map<Term,TermContext> termContexts,
SpanWeight matchWeight,
float boost) |
Modifier and Type | Class and Description |
---|---|
class |
AssertingSpanWeight
Wraps a SpanWeight with additional asserts
|
class |
SpanContainingQuery.SpanContainingWeight |
class |
org.apache.lucene.search.spans.SpanContainQuery.SpanContainWeight |
class |
SpanNearQuery.SpanNearWeight |
class |
SpanNotQuery.SpanNotWeight |
class |
SpanOrQuery.SpanOrWeight |
class |
SpanPositionCheckQuery.SpanPositionCheckWeight |
class |
SpanTermQuery.SpanTermWeight |
class |
SpanWithinQuery.SpanWithinWeight |
Modifier and Type | Method and Description |
---|---|
SpanWeight |
AssertingSpanQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
abstract SpanWeight |
SpanQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
SpanWeight |
SpanPositionCheckQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
SpanWeight |
SpanMultiTermQueryWrapper.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
SpanWeight |
SpanOrQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
SpanWeight |
SpanNearQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
SpanWeight |
SpanContainingQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
SpanWeight |
SpanBoostQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
SpanWeight |
SpanWithinQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
SpanWeight |
SpanNotQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
SpanWeight |
SpanTermQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
SpanWeight |
FieldMaskingSpanQuery.createWeight(IndexSearcher searcher,
boolean needsScores,
float boost) |
Modifier and Type | Method and Description |
---|---|
static java.util.Map<Term,TermContext> |
SpanQuery.getTermContexts(SpanWeight... weights)
Build a map of terms to termcontexts, for use in constructing SpanWeights
|
Modifier and Type | Method and Description |
---|---|
static java.util.Map<Term,TermContext> |
SpanQuery.getTermContexts(java.util.Collection<SpanWeight> weights)
Build a map of terms to termcontexts, for use in constructing SpanWeights
|
Constructor and Description |
---|
AssertingSpanWeight(IndexSearcher searcher,
SpanWeight in)
Create an AssertingSpanWeight
|
SpanContainingWeight(IndexSearcher searcher,
java.util.Map<Term,TermContext> terms,
SpanWeight bigWeight,
SpanWeight littleWeight,
float boost) |
SpanNotWeight(IndexSearcher searcher,
java.util.Map<Term,TermContext> terms,
SpanWeight includeWeight,
SpanWeight excludeWeight,
float boost) |
SpanPositionCheckWeight(SpanWeight matchWeight,
IndexSearcher searcher,
java.util.Map<Term,TermContext> terms,
float boost) |
SpanScorer(SpanWeight weight,
Spans spans,
Similarity.SimScorer docScorer)
Sole constructor.
|
SpanWithinWeight(IndexSearcher searcher,
java.util.Map<Term,TermContext> terms,
SpanWeight bigWeight,
SpanWeight littleWeight,
float boost) |
Constructor and Description |
---|
SpanNearWeight(java.util.List<SpanWeight> subWeights,
IndexSearcher searcher,
java.util.Map<Term,TermContext> terms,
float boost) |
SpanOrWeight(IndexSearcher searcher,
java.util.Map<Term,TermContext> terms,
java.util.List<SpanWeight> subWeights,
float boost) |
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.