s/similariry/similarity in AllFieldMapper
This commit is contained in:
parent
beaa9153a6
commit
edb3e5f0f4
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue