This message was deleted.
# community-help
s
This message was deleted.
k
Since grouping is currently implemented as an exhaustive operation, we anyway aggregate on all groups and truncate later. This might be optimized for later but for now a large group limit will incur more memory but will not affect performance.
d
more memory - does this mean during search runtime or persisted memory consumption?
k
Search run time
d
understood, thanks for the quick weekend reply!
👍 1
sorry - last question. You say "group by is implemented as an exhausted operation" - does this mean including "group_by" effectively sets
exhaustive_search=true
k
No that's different.
d
ok just making sure
@Jason Bosco sorry for ping, I see Kishore is offline now and was worried the thread would get ignored... when you have a moment, could you please explain how sort_by is interpreted when using group_by? for example, I want to sort by
publishedDate:desc
and I want to group by
genre
will the groups be sorted so that the genre with the most recent publishedDate is first?
k
In each group, the record with highest published date will be used as representative of that group for sorting. So group with a record with highest published date will appear first and so on.
✅ 1