Namespace: Lucene.Net.HighlightAssembly: Lucene.Net.Contrib.Highlighter (in Lucene.Net.Contrib.Highlighter.dll) Version: 2.3.2.1
Syntax
Parameters
- query
- Type: Lucene.Net.Search..::..Query
a Lucene query (ideally rewritten using query.rewrite
before being passed to this class and the searcher)
- reader
- Type: Lucene.Net.Index..::..IndexReader
used to compute IDF which can be used to a) score selected fragments better
b) use graded highlights eg set font color intensity
- fieldName
- Type: System..::..String
the field on which Inverse Document Frequency (IDF) calculations are based
See Also