minor: improve err msg

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1095976 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2011-04-22 18:12:02 +00:00
parent 9db2ff41ae
commit 8be940dc1f
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,7 @@ public class QueryParsing {
Boolean top = sp.getSortDirection();
if (null == top) {
throw new SolrException(SolrException.ErrorCode.BAD_REQUEST,
"Can't determine Sort Order: " + sp);
"Can't determine a Sort Order (asc or desc) in sort spec " + sp);
}
if (SCORE.equals(field)) {