mirror of https://github.com/apache/lucene.git
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:
parent
84a084bc55
commit
753fba5efb
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue