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:
Christine Poerschke 2016-01-06 12:28:28 +00:00
parent 2aa14f92d2
commit 784788c646
1 changed files with 2 additions and 2 deletions

View File

@ -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)