From edb3e5f0f48ead3ddc1bfbfecc78b7a49ea12285 Mon Sep 17 00:00:00 2001 From: Simon Willnauer Date: Thu, 2 Jan 2014 17:53:43 +0100 Subject: [PATCH] s/similariry/similarity in AllFieldMapper --- .../org/elasticsearch/index/mapper/internal/AllFieldMapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/index/mapper/internal/AllFieldMapper.java b/src/main/java/org/elasticsearch/index/mapper/internal/AllFieldMapper.java index 8b9afcbcc49..b1aaf3c7e4e 100644 --- a/src/main/java/org/elasticsearch/index/mapper/internal/AllFieldMapper.java +++ b/src/main/java/org/elasticsearch/index/mapper/internal/AllFieldMapper.java @@ -335,7 +335,7 @@ public class AllFieldMapper extends AbstractFieldMapper implements Interna 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) {