Namespace: Lucene.Net.HighlightAssembly: Lucene.Net.Contrib.Highlighter (in Lucene.Net.Contrib.Highlighter.dll) Version: 2.3.2.1
Syntax
Visual Basic |
---|
Public Sub New ( _
query As Query, _
fieldName As String _
) |
Visual C++ |
---|
public:
QueryScorer(
Query^ query,
String^ fieldName
) |
Parameters
- query
- Type: Lucene.Net.Search..::..Query
a Lucene query (ideally rewritten using query.rewrite
before being passed to this class and the searcher)
- fieldName
- Type: System..::..String
the Field name which is used to match Query terms
See Also