s/similariry/similarity in AllFieldMapper

This commit is contained in:
Simon Willnauer 2014-01-02 17:53:43 +01:00
parent beaa9153a6
commit edb3e5f0f4
1 changed files with 1 additions and 1 deletions

View File

@ -335,7 +335,7 @@ public class AllFieldMapper extends AbstractFieldMapper<Void> implements Interna
if (similarity() != null) { if (similarity() != null) {
builder.field("similarity", similarity().name()); builder.field("similarity", similarity().name());
} else if (includeDefaults) { } else if (includeDefaults) {
builder.field("similariry", SimilarityLookupService.DEFAULT_SIMILARITY); builder.field("similarity", SimilarityLookupService.DEFAULT_SIMILARITY);
} }
if (customFieldDataSettings != null) { if (customFieldDataSettings != null) {