Class CombineSuggestion
A suggestion generated by combining one or more original query terms
Inheritance
System.Object
CombineSuggestion
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.Spell
Assembly: Lucene.Net.Suggest.dll
Syntax
public class CombineSuggestion
Constructors
| Improve this Doc View SourceCombineSuggestion(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 SourceOriginalTermIndexes
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[] |
Suggestion
The word combination suggestion
Declaration
public SuggestWord Suggestion { get; }
Property Value
| Type | Description |
|---|---|
| SuggestWord |