Fix typo in exception message in RestGetAction
This commit fixes a duplicated word in an exception message in RestGetAction.
This commit is contained in:
parent
05915357c9
commit
3b2eff665e
|
@ -61,7 +61,7 @@ public class RestGetAction extends BaseRestHandler {
|
|||
getRequest.realtime(request.paramAsBoolean("realtime", getRequest.realtime()));
|
||||
if (request.param("fields") != null) {
|
||||
throw new IllegalArgumentException("The parameter [fields] is no longer supported, " +
|
||||
"please use [stored_fields] to retrieve stored fields or or [_source] to load the field from _source");
|
||||
"please use [stored_fields] to retrieve stored fields or [_source] to load the field from _source");
|
||||
}
|
||||
String sField = request.param("stored_fields");
|
||||
if (sField != null) {
|
||||
|
|
Loading…
Reference in New Issue