Package org.apache.lucene.search.spell
Class CombineSuggestion
- java.lang.Object
-
- org.apache.lucene.search.spell.CombineSuggestion
-
public class CombineSuggestion extends java.lang.Object
A suggestion generated by combining one or more original query terms
-
-
Field Summary
Fields Modifier and Type Field Description int[]
originalTermIndexes
The indexes from the passed-in array of terms used to make this word combinationSuggestWord
suggestion
The word combination suggestion
-
Constructor Summary
Constructors Constructor Description CombineSuggestion(SuggestWord suggestion, int[] originalTermIndexes)
Creates a new CombineSuggestion from asuggestion
and an array of term ids (referencing the indexes to the original terms that form this combined suggestion)
-
-
-
Field Detail
-
originalTermIndexes
public final int[] originalTermIndexes
The indexes from the passed-in array of terms used to make this word combination
-
suggestion
public final SuggestWord suggestion
The word combination suggestion
-
-
Constructor Detail
-
CombineSuggestion
public CombineSuggestion(SuggestWord suggestion, int[] originalTermIndexes)
Creates a new CombineSuggestion from asuggestion
and an array of term ids (referencing the indexes to the original terms that form this combined suggestion)
-
-