mltQuery.setAnalyzer(smartNameFieldMappers.mapper().searchAnalyzer());
</BUG>
}
}
<BUG>if (mltQuery.getAnalyzer() == null) {
mltQuery.setAnalyzer(parseContext.mapperService().searchAnalyzer());
}
mltQuery.setMoreLikeFields(new String[]{fieldName});</BUG>
return wrapSmartNameQuery(mltQuery, smartNameFieldMappers, parseContext);
}

token = parser.nextToken();
assert token == XContentParser.Token.END_OBJECT;
MapperService.SmartNameFieldMappers smartNameFieldMappers = parseContext.smartFieldMappers(fieldName);
if (smartNameFieldMappers != null) {
if (smartNameFieldMappers.hasMapper()) {
fieldName = smartNameFieldMappers.mapper().names().indexName();
if (analyzer == null) {
analyzer = smartNameFieldMappers.mapper().searchAnalyzer();
