Fixed typo in AbstractFieldMapper
similariry -> similarity
This commit is contained in:
parent
b98f19a54b
commit
f14af3599a
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue