Fixed typo in AbstractFieldMapper

similariry -> similarity
This commit is contained in:
Clinton Gormley 2014-07-22 15:54:09 +02:00
parent b98f19a54b
commit f14af3599a
1 changed files with 1 additions and 1 deletions

View File

@ -761,7 +761,7 @@ public abstract class AbstractFieldMapper<T> implements FieldMapper<T> {
if (similarity() != null) {
builder.field("similarity", similarity().name());
} else if (includeDefaults) {
builder.field("similariry", SimilarityLookupService.DEFAULT_SIMILARITY);
builder.field("similarity", SimilarityLookupService.DEFAULT_SIMILARITY);
}
if (customFieldDataSettings != null) {