C# (CSharp) Lucene.Net.Search.Highlight Namespace

Nested Namespaces

Lucene.Net.Search.Highlight.Test

Classes

Name Description
DefaultEncoder
GradientFormatter Copyright 2002-2004 The Apache Software Foundation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
NullFragmenter IFragmenter implementation which does not fragment the text. This is useful for highlighting the entire content of a document or field.
PositionSpan
QueryScorer IScorer implementation which scores text fragments by the number of unique query terms found. This class converts appropriate Querys to SpanQuerys and attempts to score only those terms that participated in generating the 'hit' on the document.
QueryTermExtractor Utility class used to extract the terms used in a query, plus any weights. This class will not find terms for MultiTermQuery, RangeQuery and PrefixQuery classes so the caller must pass a rewritten query (see Query.rewrite) to obtain a list of expanded terms.
QueryTermScorer
SimpleFragmenter IFragmenter implementation which breaks text up into same-size fragments with no concerns over spotting sentence boundaries.
SimpleHTMLEncoder Simple IEncoder implementation to escape text for HTML output
SimpleHTMLFormatter Simple IFormatter implementation to highlight terms with a pre and post tag
TokenSources Hides implementation issues associated with obtaining a TokenStream for use with the higlighter - can obtain from TermFreqVectors with offsets and (optionally) positions or from Analyzer class reparsing the stored content.
TokenSources.StoredTokenStream
WeightedSpanTerm Lightweight class to hold term, Weight, and positions used for scoring this term.