Package | Description |
---|---|
org.apache.lucene.search.highlight |
Highlighting search terms.
|
Modifier and Type | Class and Description |
---|---|
class |
WeightedSpanTerm
Lightweight class to hold term, weight, and positions used for scoring this
term.
|
Modifier and Type | Field and Description |
---|---|
(package private) java.util.Set<WeightedTerm> |
QueryTermExtractor.BoostedTermExtractor.terms |
private java.util.HashMap<java.lang.String,WeightedTerm> |
QueryTermScorer.termsToFind |
Modifier and Type | Method and Description |
---|---|
static WeightedTerm[] |
QueryTermExtractor.getIdfWeightedTerms(Query query,
IndexReader reader,
java.lang.String fieldName)
Extracts all terms texts of a given Query into an array of WeightedTerms
|
static WeightedTerm[] |
QueryTermExtractor.getTerms(Query query)
Extracts all terms texts of a given Query into an array of WeightedTerms
|
static WeightedTerm[] |
QueryTermExtractor.getTerms(Query query,
boolean prohibited)
Extracts all terms texts of a given Query into an array of WeightedTerms
|
static WeightedTerm[] |
QueryTermExtractor.getTerms(Query query,
boolean prohibited,
java.lang.String fieldName)
Extracts all terms texts of a given Query into an array of WeightedTerms
|
Constructor and Description |
---|
QueryTermScorer(WeightedTerm[] weightedTerms) |
Constructor and Description |
---|
BoostedTermExtractor(float boost,
java.util.Set<WeightedTerm> terms,
boolean includeProhibited,
java.util.function.Predicate<java.lang.String> fieldSelector) |