|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
position
.
Highlighter.DEFAULT_MAX_CHARS_TO_ANALYZE
Encoder
implementation that does not modify the outputHighlighter
class.Document
to retrieve the TokenStream.
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 Scorer.getTokenScore()
.
Highlighter.getMaxDocCharsToAnalyze()
, since this value has always counted on chars. They both set the same internal value, however
WeightedSpanTerm
for the specified token.
WeightedSpanTerms
from the given Query
and TokenStream
.
WeightedSpanTerms
from the given Query
and TokenStream
.
WeightedSpanTerms
from the given Query
and TokenStream
.
Fragmenter
, Scorer
, Formatter
,
Encoder
and tokenizers.TokenStream
.
Fragmenter
implementation which does not fragment the text.Scorer
implementation which scores text fragments by the number of
unique query terms found.Scorer
implementation which scores text fragments by the number of
unique query terms found.MemoryIndex
IndexReader
.
Highlighter.setMaxDocCharsToAnalyze(int)
, since this value has always counted chars
TokenStream
s that are not of the type
CachingTokenFilter
are wrapped in a CachingTokenFilter
to
ensure an efficient reset - if you are already using a different caching
TokenStream
impl and you don't want it to be wrapped, set this to
false.
TokenStream
s that are not of the type
CachingTokenFilter
are wrapped in a CachingTokenFilter
to
ensure an efficient reset - if you are already using a different caching
TokenStream
impl and you don't want it to be wrapped, set this to
false.
Fragmenter
implementation which breaks text up into same-size
fragments with no concerns over spotting sentence boundaries.Encoder
implementation to escape text for HTML outputFormatter
implementation to highlight terms with a pre and
post tag.Fragmenter
implementation which breaks text up into same-size
fragments but does not split up Spans
.WeightedSpanTerm
s from a Query
based on whether
Term
s from the Query
are contained in a supplied TokenStream
.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |