mirror of https://github.com/apache/lucene.git
use shards.qt as the qt for subqueries
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@652571 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
dd8974c32f
commit
68b8d7cf7f
|
@ -212,6 +212,12 @@ public class SearchHandler extends RequestHandlerBase implements SolrCoreAware
|
|||
params.remove("indent");
|
||||
params.remove("echoParams");
|
||||
params.set("isShard", true); // a sub (shard) request
|
||||
String shardHandler = req.getParams().get("shards.qt");
|
||||
if (shardHandler == null) {
|
||||
params.remove("qt");
|
||||
} else {
|
||||
params.set("qt", shardHandler);
|
||||
}
|
||||
comm.submit(sreq, shard, params);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue