SOLR-9118: HashQParserPlugin should trim partition keys

This commit is contained in:
jbernste 2016-05-17 14:10:34 -04:00
parent be5172631d
commit f8d1012717
2 changed files with 3 additions and 2 deletions

View File

@ -69,6 +69,7 @@ public class HashQParserPlugin extends QParserPlugin {
int workers = localParams.getInt("workers");
int worker = localParams.getInt("worker");
String keys = params.get("partitionKeys");
keys = keys.replace(" ", "");
return new HashQuery(keys, workers, worker);
}
}