Fix typo in exception message in RestGetAction

This commit fixes a duplicated word in an exception message in
RestGetAction.
This commit is contained in:
Jason Tedor 2016-10-21 07:43:51 -04:00
parent 05915357c9
commit 3b2eff665e
1 changed files with 1 additions and 1 deletions

View File

@ -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) {