Fix wrong parameter name in exception message

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1690335 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Erik Hatcher 2015-07-11 01:54:05 +00:00
parent 84a084bc55
commit 753fba5efb
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ public class FieldAnalysisRequestHandler extends AnalysisRequestHandlerBase {
String value = solrParams.get(AnalysisParams.FIELD_VALUE);
if (analysisRequest.getQuery() == null && value == null) {
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
"One of analysis.value or q or analysis.query parameters must be specified");
"One of analysis.fieldvalue, q, or analysis.query parameters must be specified");
}
Iterable<ContentStream> streams = req.getContentStreams();