Show / Hide Table of Contents

    Class CombineSuggestion

    A suggestion generated by combining one or more original query terms

    Inheritance
    System.Object
    CombineSuggestion
    Namespace: Lucene.Net.Search.Spell
    Assembly: Lucene.Net.Suggest.dll
    Syntax
    public class CombineSuggestion : object

    Constructors

    | Improve this Doc View Source

    CombineSuggestion(SuggestWord, Int32[])

    Creates a new CombineSuggestion from a

    suggestion
    and an array of term ids (referencing the indexes to the original terms that form this combined suggestion)

    Declaration
    public CombineSuggestion(SuggestWord suggestion, int[] originalTermIndexes)
    Parameters
    Type Name Description
    SuggestWord suggestion
    System.Int32[] originalTermIndexes

    Properties

    | Improve this Doc View Source

    OriginalTermIndexes

    The indexes from the passed-in array of terms used to make this word combination

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

    Suggestion

    The word combination suggestion

    Declaration
    public SuggestWord Suggestion { get; }
    Property Value
    Type Description
    SuggestWord
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)