mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
Remove dead code in FTL#simpleMatchToFullName
This commit removes some dead code that resulted from removing the ability for a field to have different names (after enforcing that fields have the same full and index name). Closes #17127
This commit is contained in:
parent
618441aea3
commit
0f00c14afc
@ -154,8 +154,6 @@ class FieldTypeLookup implements Iterable<MappedFieldType> {
|
||||
for (MappedFieldType fieldType : this) {
|
||||
if (Regex.simpleMatch(pattern, fieldType.name())) {
|
||||
fields.add(fieldType.name());
|
||||
} else if (Regex.simpleMatch(pattern, fieldType.name())) {
|
||||
fields.add(fieldType.name());
|
||||
}
|
||||
}
|
||||
return fields;
|
||||
|
Loading…
x
Reference in New Issue
Block a user