Sets a boost factor for hits on any field of this document. This value
will be multiplied into the score of all hits on this document.
The default value is 1.0.
Values are multiplied into the value of {@link Fieldable#GetBoost()} of
each field in this document. Thus, this method in effect sets a default
boost for the fields of this document.
Namespace: Lucene.Net.DocumentsAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public void SetBoost( float boost ) |
Visual Basic |
---|
Public Sub SetBoost ( _ boost As Single _ ) |
Visual C++ |
---|
public: void SetBoost( float boost ) |
Parameters
- boost
- Type: System..::..Single
[Missing <param name="boost"/> documentation for "M:Lucene.Net.Documents.Document.SetBoost(System.Single)"]