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
1e97cf82d2
commit
da56db8bf5
|
@ -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