mirror of https://github.com/apache/lucene.git
SOLR-10271: SQL aggregations in map_reduce mode should use javabin transport
This commit is contained in:
parent
22f91ba0ca
commit
be9fea1bc5
|
@ -453,6 +453,7 @@ class SolrTable extends AbstractQueryableTable implements TranslatableTable {
|
|||
|
||||
params.set(CommonParams.FL, fl);
|
||||
params.set(CommonParams.Q, query);
|
||||
params.set(CommonParams.WT, CommonParams.JAVABIN);
|
||||
//Always use the /export handler for Group By Queries because it requires exporting full result sets.
|
||||
params.set(CommonParams.QT, "/export");
|
||||
|
||||
|
@ -691,6 +692,7 @@ class SolrTable extends AbstractQueryableTable implements TranslatableTable {
|
|||
|
||||
params.set(CommonParams.FL, fl);
|
||||
params.set(CommonParams.Q, query);
|
||||
params.set(CommonParams.WT, CommonParams.JAVABIN);
|
||||
//Always use the /export handler for Distinct Queries because it requires exporting full result sets.
|
||||
params.set(CommonParams.QT, "/export");
|
||||
|
||||
|
|
Loading…
Reference in New Issue