Package | Description |
---|---|
org.apache.lucene.search.highlight |
The highlight package contains classes to provide "keyword in context" features
typically used to highlight search terms in the text of results pages.
|
Modifier and Type | Class | Description |
---|---|---|
class |
WeightedSpanTerm |
Lightweight class to hold term, weight, and positions used for scoring this
term.
|
Modifier and Type | Method | Description |
---|---|---|
static WeightedTerm[] |
QueryTermExtractor.getIdfWeightedTerms(org.apache.lucene.search.Query query,
org.apache.lucene.index.IndexReader reader,
String fieldName) |
Extracts all terms texts of a given Query into an array of WeightedTerms
|
static WeightedTerm[] |
QueryTermExtractor.getTerms(org.apache.lucene.search.Query query) |
Extracts all terms texts of a given Query into an array of WeightedTerms
|
static WeightedTerm[] |
QueryTermExtractor.getTerms(org.apache.lucene.search.Query query,
boolean prohibited) |
Extracts all terms texts of a given Query into an array of WeightedTerms
|
static WeightedTerm[] |
QueryTermExtractor.getTerms(org.apache.lucene.search.Query query,
boolean prohibited,
String fieldName) |
Extracts all terms texts of a given Query into an array of WeightedTerms
|
Constructor | Description |
---|---|
QueryTermScorer(WeightedTerm[] weightedTerms) |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.