mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-09 22:45:04 +00:00
Add back accidentally removed support for _all as a type alias.
See 4dd4f48
This commit is contained in:
parent
cbead88273
commit
f071c01afc
@ -547,7 +547,7 @@ public class MapperService extends AbstractIndexComponent {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public FieldMapper smartNameFieldMapper(String smartName, @Nullable String[] types) {
|
public FieldMapper smartNameFieldMapper(String smartName, @Nullable String[] types) {
|
||||||
if (types == null || types.length == 0) {
|
if (types == null || types.length == 0 || types.length == 1 && types[0].equals("_all")) {
|
||||||
return smartNameFieldMapper(smartName);
|
return smartNameFieldMapper(smartName);
|
||||||
}
|
}
|
||||||
for (String type : types) {
|
for (String type : types) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user