if (suggestionQuery.size != null) {
builder.size(suggestionQuery.size);
}
if (suggestionQuery.similarity != null && suggestionQuery.similarity > 0.0 && suggestionQuery.similarity < 1.0) {
builder.similarity(suggestionQuery.similarity);
}
if (suggestionQuery.suggestType != null) {
builder.suggestType(suggestionQuery.suggestType);
}
if (Strings.hasLength(suggestionQuery.indexAnalyzer)) {