Show / Hide Table of Contents

    Class BoostAttribute

    Implementation class for IBoostAttribute.

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    Attribute
    BoostAttribute
    Implements
    IBoostAttribute
    IAttribute
    Inherited Members
    Attribute.ReflectAsString(Boolean)
    Attribute.ReflectWith(IAttributeReflector)
    Attribute.ToString()
    Attribute.Clone()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Search
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class BoostAttribute : Attribute, IBoostAttribute, IAttribute

    Properties

    | Improve this Doc View Source

    Boost

    Gets or Sets the boost in this attribute. Default is 1.0f.

    Declaration
    public float Boost { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    | Improve this Doc View Source

    Clear()

    Declaration
    public override void Clear()
    Overrides
    Attribute.Clear()
    | Improve this Doc View Source

    CopyTo(IAttribute)

    Declaration
    public override void CopyTo(IAttribute target)
    Parameters
    Type Name Description
    IAttribute target
    Overrides
    Attribute.CopyTo(IAttribute)

    Implements

    IBoostAttribute
    IAttribute

    Extension Methods

    Number.IsNumber(Object)
    • Improve this Doc
    • View Source
    Back to top Copyright © 2019 Licensed to the Apache Software Foundation (ASF)