Returns the boost factor for hits for this field.

The default value is 1.0.

Note: this value is not stored directly with the document in the index. Documents returned from {@link Lucene.Net.Index.IndexReader#Document(int)} and {@link Lucene.Net.Search.Hits#Doc(int)} may thus not have the same value present as when this field was indexed.

Namespace: Lucene.Net.Documents
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
float GetBoost()
Visual Basic
Function GetBoost As Single
Visual C++
float GetBoost()

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Documents.Fieldable.GetBoost"]

See Also