Class CombineSuggestion
A suggestion generated by combining one or more original query terms
Inherited Members
Namespace: Lucene.Net.Search.Spell
Assembly: Lucene.Net.Suggest.dll
Syntax
public class CombineSuggestion
Constructors
CombineSuggestion(SuggestWord, int[])
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 | |
int[] | originalTermIndexes |
Properties
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 |
---|---|
int[] |
Suggestion
The word combination suggestion
Declaration
public SuggestWord Suggestion { get; }
Property Value
Type | Description |
---|---|
SuggestWord |