mirror of https://github.com/apache/lucene.git
SOLR-9118: HashQParserPlugin should trim partition keys
This commit is contained in:
parent
be5172631d
commit
f8d1012717
|
@ -69,6 +69,7 @@ public class HashQParserPlugin extends QParserPlugin {
|
||||||
int workers = localParams.getInt("workers");
|
int workers = localParams.getInt("workers");
|
||||||
int worker = localParams.getInt("worker");
|
int worker = localParams.getInt("worker");
|
||||||
String keys = params.get("partitionKeys");
|
String keys = params.get("partitionKeys");
|
||||||
|
keys = keys.replace(" ", "");
|
||||||
return new HashQuery(keys, workers, worker);
|
return new HashQuery(keys, workers, worker);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue