mirror of https://github.com/apache/lucene.git
SOLR-8490: in QueryComponent.java import search.grouping.distributed.command.QueryCommand.Builder instead of search.grouping.distributed.command.QueryCommand
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1723301 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
2aa14f92d2
commit
784788c646
|
@ -93,7 +93,7 @@ import org.apache.solr.search.grouping.CommandHandler;
|
|||
import org.apache.solr.search.grouping.GroupingSpecification;
|
||||
import org.apache.solr.search.grouping.distributed.ShardRequestFactory;
|
||||
import org.apache.solr.search.grouping.distributed.ShardResponseProcessor;
|
||||
import org.apache.solr.search.grouping.distributed.command.QueryCommand;
|
||||
import org.apache.solr.search.grouping.distributed.command.QueryCommand.Builder;
|
||||
import org.apache.solr.search.grouping.distributed.command.SearchGroupsFieldCommand;
|
||||
import org.apache.solr.search.grouping.distributed.command.TopGroupsFieldCommand;
|
||||
import org.apache.solr.search.grouping.distributed.requestfactory.SearchGroupsRequestFactory;
|
||||
|
@ -439,7 +439,7 @@ public class QueryComponent extends SearchComponent
|
|||
}
|
||||
|
||||
for (String query : groupingSpec.getQueries()) {
|
||||
secondPhaseBuilder.addCommandField(new QueryCommand.Builder()
|
||||
secondPhaseBuilder.addCommandField(new Builder()
|
||||
.setDocsToCollect(groupingSpec.getOffset() + groupingSpec.getLimit())
|
||||
.setSort(groupingSpec.getGroupSort())
|
||||
.setQuery(query, rb.req)
|
||||
|
|
Loading…
Reference in New Issue