• API

    Show / Hide Table of Contents

    Class FieldPhraseList

    FieldPhraseList has a list of WeightedPhraseInfo that is used by FragListBuilder to create a FieldFragList object.

    Inheritance
    System.Object
    FieldPhraseList
    Inherited Members
    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)
    System.Object.ToString()
    Namespace: Lucene.Net.Search.VectorHighlight
    Assembly: Lucene.Net.Highlighter.dll
    Syntax
    public class FieldPhraseList

    Constructors

    | Improve this Doc View Source

    FieldPhraseList(FieldPhraseList[])

    Merging constructor.

    Declaration
    public FieldPhraseList(FieldPhraseList[] toMerge)
    Parameters
    Type Name Description
    FieldPhraseList[] toMerge

    FieldPhraseLists to merge to build this one

    | Improve this Doc View Source

    FieldPhraseList(FieldTermStack, FieldQuery)

    create a FieldPhraseList that has no limit on the number of phrases to analyze

    Declaration
    public FieldPhraseList(FieldTermStack fieldTermStack, FieldQuery fieldQuery)
    Parameters
    Type Name Description
    FieldTermStack fieldTermStack

    FieldTermStack object

    FieldQuery fieldQuery

    FieldQuery object

    | Improve this Doc View Source

    FieldPhraseList(FieldTermStack, FieldQuery, Int32)

    a constructor.

    Declaration
    public FieldPhraseList(FieldTermStack fieldTermStack, FieldQuery fieldQuery, int phraseLimit)
    Parameters
    Type Name Description
    FieldTermStack fieldTermStack

    FieldTermStack object

    FieldQuery fieldQuery

    FieldQuery object

    System.Int32 phraseLimit

    maximum size of phraseList

    Properties

    | Improve this Doc View Source

    PhraseList

    return the list of FieldPhraseList.WeightedPhraseInfo.

    Declaration
    public virtual IList<FieldPhraseList.WeightedPhraseInfo> PhraseList { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<FieldPhraseList.WeightedPhraseInfo>

    Methods

    | Improve this Doc View Source

    AddIfNoOverlap(FieldPhraseList.WeightedPhraseInfo)

    Declaration
    public virtual void AddIfNoOverlap(FieldPhraseList.WeightedPhraseInfo wpi)
    Parameters
    Type Name Description
    FieldPhraseList.WeightedPhraseInfo wpi
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)