multi_get ids shortcut should grab custom fields.
This commit is contained in:
parent
6b497589ce
commit
b2769b1086
|
@ -282,7 +282,7 @@ public class MultiGetRequest implements ActionRequest {
|
||||||
if (!token.isValue()) {
|
if (!token.isValue()) {
|
||||||
throw new ElasticSearchIllegalArgumentException("ids array element should only contain ids");
|
throw new ElasticSearchIllegalArgumentException("ids array element should only contain ids");
|
||||||
}
|
}
|
||||||
add(new Item(defaultIndex, defaultType, parser.text()));
|
add(new Item(defaultIndex, defaultType, parser.text()).fields(defaultFields));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue