Fork me on GitHub
  • API

    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
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.