java.lang.Object
org.apache.lucene.search.spell.CombineSuggestion
A suggestion generated by combining one or more original query terms
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal int[]
The indexes from the passed-in array of terms used to make this word combinationfinal SuggestWord
The word combination suggestion -
Constructor Summary
ConstructorsConstructorDescriptionCombineSuggestion
(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) -
Method Summary
-
Field Details
-
originalTermIndexes
public final int[] originalTermIndexesThe indexes from the passed-in array of terms used to make this word combination -
suggestion
The word combination suggestion
-
-
Constructor Details
-
CombineSuggestion
Creates a new CombineSuggestion from asuggestion
and an array of term ids (referencing the indexes to the original terms that form this combined suggestion)
-