mirror of https://github.com/apache/lucene.git
SOLR-6203: in QueryComponent rename groupSortStr to sortWithinGroupStr (so that name and meaning match)
This commit is contained in:
parent
c620fc2954
commit
e87072bc5a
|
@ -258,9 +258,9 @@ public class QueryComponent extends SearchComponent
|
||||||
}
|
}
|
||||||
|
|
||||||
// groupSort defaults to sort
|
// groupSort defaults to sort
|
||||||
String groupSortStr = params.get(GroupParams.GROUP_SORT);
|
String sortWithinGroupStr = params.get(GroupParams.GROUP_SORT);
|
||||||
//TODO: move weighting of sort
|
//TODO: move weighting of sort
|
||||||
Sort sortWithinGroup = groupSortStr == null ? groupSort : searcher.weightSort(SortSpecParsing.parseSortSpec(groupSortStr, req).getSort());
|
Sort sortWithinGroup = sortWithinGroupStr == null ? groupSort : searcher.weightSort(SortSpecParsing.parseSortSpec(sortWithinGroupStr, req).getSort());
|
||||||
if (sortWithinGroup == null) {
|
if (sortWithinGroup == null) {
|
||||||
sortWithinGroup = Sort.RELEVANCE;
|
sortWithinGroup = Sort.RELEVANCE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue