Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
New
Description
In AbstractSecondPassGroupingCollector, withinGroupSort uses a value of null to indicate a relevance sort. I think it's nicer to use Sort.RELEVANCE for this – after all it's how the groupSort variable is handled. This choice is also seen in GroupingSearch; likely some other collaborators too.
martijn.v.groningen is there some wisdom in the current choice that escapes me? If not I'll post a patch.
Attachments
Attachments
Issue Links
- breaks
-
SOLR-8940 group.sort broken, can through AIOOBE if clause length differs from sort param, or cast exception if datatypes are incompatible with sort clause types
- Closed
- relates to
-
SOLR-9783 remove no-longer-needed sortWithinGroup null checks in (Search|Top)Group[s]ShardResponseProcessor
- Resolved