Uses of Class
org.apache.lucene.search.highlight.WeightedSpanTerm
-
Packages that use WeightedSpanTerm 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. -
-
Uses of WeightedSpanTerm in org.apache.lucene.search.highlight
Methods in org.apache.lucene.search.highlight that return WeightedSpanTerm Modifier and Type Method Description WeightedSpanTerm
QueryScorer. getWeightedSpanTerm(String token)
Retrieve theWeightedSpanTerm
for the specified token.WeightedSpanTerm
WeightedSpanTermExtractor.PositionCheckingMap. put(K key, WeightedSpanTerm value)
Methods in org.apache.lucene.search.highlight that return types with arguments of type WeightedSpanTerm Modifier and Type Method Description Map<String,WeightedSpanTerm>
WeightedSpanTermExtractor. getWeightedSpanTerms(Query query, TokenStream tokenStream)
Creates a Map ofWeightedSpanTerms
from the givenQuery
andTokenStream
.Map<String,WeightedSpanTerm>
WeightedSpanTermExtractor. getWeightedSpanTerms(Query query, TokenStream tokenStream, String fieldName)
Creates a Map ofWeightedSpanTerms
from the givenQuery
andTokenStream
.Map<String,WeightedSpanTerm>
WeightedSpanTermExtractor. getWeightedSpanTermsWithScores(Query query, TokenStream tokenStream, String fieldName, IndexReader reader)
Creates a Map ofWeightedSpanTerms
from the givenQuery
andTokenStream
.Methods in org.apache.lucene.search.highlight with parameters of type WeightedSpanTerm Modifier and Type Method Description WeightedSpanTerm
WeightedSpanTermExtractor.PositionCheckingMap. put(K key, WeightedSpanTerm value)
Method parameters in org.apache.lucene.search.highlight with type arguments of type WeightedSpanTerm Modifier and Type Method Description protected void
WeightedSpanTermExtractor. extract(Query query, Map<String,WeightedSpanTerm> terms)
Fills aMap
with <@link WeightedSpanTerm>s using the terms from the suppliedQuery
.protected void
WeightedSpanTermExtractor. extractUnknownQuery(Query query, Map<String,WeightedSpanTerm> terms)
protected void
WeightedSpanTermExtractor. extractWeightedSpanTerms(Map<String,WeightedSpanTerm> terms, SpanQuery spanQuery)
Fills aMap
with <@link WeightedSpanTerm>s using the terms from the suppliedSpanQuery
.protected void
WeightedSpanTermExtractor. extractWeightedTerms(Map<String,WeightedSpanTerm> terms, Query query)
Fills aMap
with <@link WeightedSpanTerm>s using the terms from the suppliedQuery
.void
WeightedSpanTermExtractor.PositionCheckingMap. putAll(Map<? extends K,? extends WeightedSpanTerm> m)
Constructors in org.apache.lucene.search.highlight with parameters of type WeightedSpanTerm Constructor Description QueryScorer(WeightedSpanTerm[] weightedTerms)
-