Show / Hide Table of Contents

    Class FieldTermStack.TermInfo

    Single term with its position/offsets in the document and IDF weight. It is but considers only position.

    Inheritance
    System.Object
    FieldTermStack.TermInfo
    Namespace: Lucene.Net.Search.VectorHighlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class TermInfo : IComparable<FieldTermStack.TermInfo>

    Constructors

    | Improve this Doc View Source

    TermInfo(String, Int32, Int32, Int32, Single)

    Declaration
    public TermInfo(string text, int startOffset, int endOffset, int position, float weight)
    Parameters
    Type Name Description
    System.String text
    System.Int32 startOffset
    System.Int32 endOffset
    System.Int32 position
    System.Single weight

    Properties

    | Improve this Doc View Source

    EndOffset

    Declaration
    public virtual int EndOffset { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Next

    Returns the next TermInfo at this same position. This is a circular list!

    Declaration
    public virtual FieldTermStack.TermInfo Next { get; }
    Property Value
    Type Description
    FieldTermStack.TermInfo
    | Improve this Doc View Source

    Position

    Declaration
    public virtual int Position { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    StartOffset

    Declaration
    public virtual int StartOffset { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Text

    Declaration
    public virtual string Text { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Weight

    Declaration
    public virtual float Weight { get; }
    Property Value
    Type Description
    System.Single

    Methods

    | Improve this Doc View Source

    CompareTo(FieldTermStack.TermInfo)

    Declaration
    public virtual int CompareTo(FieldTermStack.TermInfo o)
    Parameters
    Type Name Description
    FieldTermStack.TermInfo o
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)