Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class FieldFragList.WeightedFragInfo

    List of term offsets + weight for a frag info

    Inheritance
    object
    FieldFragList.WeightedFragInfo
    Implements
    IFormattable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: Lucene.Net.Search.VectorHighlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class FieldFragList.WeightedFragInfo : IFormattable

    Constructors

    WeightedFragInfo(int, int, IList<SubInfo>, float)

    List of term offsets + weight for a frag info

    Declaration
    public WeightedFragInfo(int startOffset, int endOffset, IList<FieldFragList.WeightedFragInfo.SubInfo> subInfos, float totalBoost)
    Parameters
    Type Name Description
    int startOffset
    int endOffset
    IList<FieldFragList.WeightedFragInfo.SubInfo> subInfos
    float totalBoost

    Properties

    EndOffset

    List of term offsets + weight for a frag info

    Declaration
    public int EndOffset { get; }
    Property Value
    Type Description
    int

    StartOffset

    List of term offsets + weight for a frag info

    Declaration
    public int StartOffset { get; }
    Property Value
    Type Description
    int

    SubInfos

    List of term offsets + weight for a frag info

    Declaration
    public IList<FieldFragList.WeightedFragInfo.SubInfo> SubInfos { get; }
    Property Value
    Type Description
    IList<FieldFragList.WeightedFragInfo.SubInfo>

    TotalBoost

    List of term offsets + weight for a frag info

    Declaration
    public float TotalBoost { get; }
    Property Value
    Type Description
    float

    Methods

    ToString()

    Returns a string that represents the current object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string that represents the current object.

    Overrides
    object.ToString()

    ToString(IFormatProvider)

    List of term offsets + weight for a frag info

    Declaration
    public virtual string ToString(IFormatProvider provider)
    Parameters
    Type Name Description
    IFormatProvider provider
    Returns
    Type Description
    string

    Implements

    IFormattable
    Back to top Copyright © 2024 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.