Initializes a new instance of the QueryScorer class
Namespace: Lucene.Net.HighlightAssembly: Lucene.Net.Contrib.Highlighter (in Lucene.Net.Contrib.Highlighter.dll) Version: 2.3.2.1
Syntax
C# |
---|
public QueryScorer( Query query ) |
Visual Basic |
---|
Public Sub New ( _ query As Query _ ) |
Visual C++ |
---|
public: QueryScorer( Query^ query ) |
Parameters
- query
- Type: Lucene.Net.Search..::..Query
a Lucene query (ideally rewritten using query.rewrite before being passed to this class and the searcher)