- getAnyTokenStream(IndexReader, int, String, Document, Analyzer) - Static method in class org.apache.lucene.search.highlight.TokenSources
-
A convenience method that tries to first get a TermPositionVector for the specified docId, then, falls back to
using the passed in Document
to retrieve the TokenStream.
- getAnyTokenStream(IndexReader, int, String, Analyzer) - Static method in class org.apache.lucene.search.highlight.TokenSources
-
A convenience method that tries a number of approaches to getting a token stream.
- getBackgroundColorString(float) - Method in class org.apache.lucene.search.highlight.GradientFormatter
-
- getBestFragment(Analyzer, String, String) - Method in class org.apache.lucene.search.highlight.Highlighter
-
Highlights chosen terms in a text, extracting the most relevant section.
- getBestFragment(TokenStream, String) - Method in class org.apache.lucene.search.highlight.Highlighter
-
Highlights chosen terms in a text, extracting the most relevant section.
- getBestFragments(Analyzer, String, int) - Method in class org.apache.lucene.search.highlight.Highlighter
-
Deprecated.
This method incorrectly hardcodes the choice of fieldname. Use the
method of the same name that takes a fieldname.
- getBestFragments(Analyzer, String, String, int) - Method in class org.apache.lucene.search.highlight.Highlighter
-
Highlights chosen terms in a text, extracting the most relevant sections.
- getBestFragments(TokenStream, String, int) - Method in class org.apache.lucene.search.highlight.Highlighter
-
Highlights chosen terms in a text, extracting the most relevant sections.
- getBestFragments(TokenStream, String, int, String) - Method in class org.apache.lucene.search.highlight.Highlighter
-
Highlights terms in the text , extracting the most relevant sections
and concatenating the chosen fragments with a separator (typically "...").
- getBestTextFragments(TokenStream, String, boolean, int) - Method in class org.apache.lucene.search.highlight.Highlighter
-
Low level api to get the most relevant (formatted) sections of the document.
- getEncoder() - Method in class org.apache.lucene.search.highlight.Highlighter
-
- getEndOffset() - Method in class org.apache.lucene.search.highlight.TokenGroup
-
- getExpandMultiTermQuery() - Method in class org.apache.lucene.search.highlight.WeightedSpanTermExtractor
-
- getForegroundColorString(float) - Method in class org.apache.lucene.search.highlight.GradientFormatter
-
- getFragmentScore() - Method in class org.apache.lucene.search.highlight.QueryScorer
-
- getFragmentScore() - Method in class org.apache.lucene.search.highlight.QueryTermScorer
-
- getFragmentScore() - Method in interface org.apache.lucene.search.highlight.Scorer
-
Called when the
Highlighter
has no more tokens for the current fragment -
the Scorer returns the weighting it has derived for the most recent
fragment, typically based on the results of
getTokenScore()
.
- getFragmentScorer() - Method in class org.apache.lucene.search.highlight.Highlighter
-
- getFragmentSize() - Method in class org.apache.lucene.search.highlight.SimpleFragmenter
-
- getFragNum() - Method in class org.apache.lucene.search.highlight.TextFragment
-
- getIdfWeightedTerms(Query, IndexReader, String) - Static method in class org.apache.lucene.search.highlight.QueryTermExtractor
-
Extracts all terms texts of a given Query into an array of WeightedTerms
- getMaxDocBytesToAnalyze() - Method in class org.apache.lucene.search.highlight.Highlighter
-
- getMaxDocCharsToAnalyze() - Method in class org.apache.lucene.search.highlight.Highlighter
-
- getMaxTermWeight() - Method in class org.apache.lucene.search.highlight.QueryScorer
-
- getMaxTermWeight() - Method in class org.apache.lucene.search.highlight.QueryTermScorer
-
- getNumTokens() - Method in class org.apache.lucene.search.highlight.TokenGroup
-
- getPositionSpans() - Method in class org.apache.lucene.search.highlight.WeightedSpanTerm
-
- getScore() - Method in class org.apache.lucene.search.highlight.TextFragment
-
- getScore(int) - Method in class org.apache.lucene.search.highlight.TokenGroup
-
- getStartOffset() - Method in class org.apache.lucene.search.highlight.TokenGroup
-
- getTerm() - Method in class org.apache.lucene.search.highlight.WeightedTerm
-
- getTerms(Query) - Static method in class org.apache.lucene.search.highlight.QueryTermExtractor
-
Extracts all terms texts of a given Query into an array of WeightedTerms
- getTerms(Query, boolean, String) - Static method in class org.apache.lucene.search.highlight.QueryTermExtractor
-
Extracts all terms texts of a given Query into an array of WeightedTerms
- getTerms(Query, boolean) - Static method in class org.apache.lucene.search.highlight.QueryTermExtractor
-
Extracts all terms texts of a given Query into an array of WeightedTerms
- getTextFragmenter() - Method in class org.apache.lucene.search.highlight.Highlighter
-
- getToken(int) - Method in class org.apache.lucene.search.highlight.TokenGroup
-
- getTokenScore() - Method in class org.apache.lucene.search.highlight.QueryScorer
-
- getTokenScore() - Method in class org.apache.lucene.search.highlight.QueryTermScorer
-
- getTokenScore() - Method in interface org.apache.lucene.search.highlight.Scorer
-
Called for each token in the current fragment.
- getTokenStream(TermPositionVector) - Static method in class org.apache.lucene.search.highlight.TokenSources
-
- getTokenStream(TermPositionVector, boolean) - Static method in class org.apache.lucene.search.highlight.TokenSources
-
Low level api.
- getTokenStream(IndexReader, int, String) - Static method in class org.apache.lucene.search.highlight.TokenSources
-
- getTokenStream(IndexReader, int, String, Analyzer) - Static method in class org.apache.lucene.search.highlight.TokenSources
-
- getTokenStream(Document, String, Analyzer) - Static method in class org.apache.lucene.search.highlight.TokenSources
-
- getTokenStream(String, String, Analyzer) - Static method in class org.apache.lucene.search.highlight.TokenSources
-
- getTokenStream() - Method in class org.apache.lucene.search.highlight.WeightedSpanTermExtractor
-
- getTotalScore() - Method in class org.apache.lucene.search.highlight.TokenGroup
-
- getWeight() - Method in class org.apache.lucene.search.highlight.WeightedTerm
-
- getWeightedSpanTerm(String) - Method in class org.apache.lucene.search.highlight.QueryScorer
-
- getWeightedSpanTerms(Query, TokenStream) - Method in class org.apache.lucene.search.highlight.WeightedSpanTermExtractor
-
Creates a Map of WeightedSpanTerms
from the given Query
and TokenStream
.
- getWeightedSpanTerms(Query, TokenStream, String) - Method in class org.apache.lucene.search.highlight.WeightedSpanTermExtractor
-
Creates a Map of WeightedSpanTerms
from the given Query
and TokenStream
.
- getWeightedSpanTermsWithScores(Query, TokenStream, String, IndexReader) - Method in class org.apache.lucene.search.highlight.WeightedSpanTermExtractor
-
Creates a Map of WeightedSpanTerms
from the given Query
and TokenStream
.
- GradientFormatter - Class in org.apache.lucene.search.highlight
-
Formats text with different color intensity depending on the score of the
term.
- GradientFormatter(float, String, String, String, String) - Constructor for class org.apache.lucene.search.highlight.GradientFormatter
-
Sets the color range for the IDF scores