public class CombineSuggestion extends Object
A suggestion generated by combining one or more original query terms
| Modifier and Type | Field and Description |
|---|---|
int[] |
originalTermIndexes
The indexes from the passed-in array of terms used to make this word combination
|
SuggestWord |
suggestion
The word combination suggestion
|
| Constructor and Description |
|---|
CombineSuggestion(SuggestWord suggestion,
int[] originalTermIndexes)
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) |
public final int[] originalTermIndexes
The indexes from the passed-in array of terms used to make this word combination
public final SuggestWord suggestion
The word combination suggestion
public CombineSuggestion(SuggestWord suggestion, int[] originalTermIndexes)
suggestion and
an array of term ids (referencing the indexes to the original terms that
form this combined suggestion)Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.