}
if (Strings.hasLength(suggestionQuery.indexAnalyzer)) {
builder.indexAnalyzer(suggestionQuery.indexAnalyzer);
}
if (Strings.hasLength(suggestionQuery.queryAnalyzer)) {
builder.queryAnalyzer(suggestionQuery.queryAnalyzer);
}
if (Strings.hasLength(suggestionQuery.analyzer)) {
builder.analyzer(suggestionQuery.analyzer);
}
builder.preservePositionIncrements(suggestionQuery.preservePositionIncrements);