Hello! Thanks, that's what I was looking for :)
-- Regards, Rafał Kuć http://solr.pl > The ngroup option collects per search the number of unique groups > matching the query. Based on the collected groups it returns the > count. > So it depends of the number of groups matching the query. > To get more in detail: per unique group a ByteRef instance is created > to represent a group and this put into a ArrayList. I think you can > use this to roughly calculate the memory used per request. > Besides this the ngroup relies in most cases on the FieldCache which > is also takes a decent amount of memory. But just like sorting this is > cache is > shared between requests. > Martijn > On 11 November 2011 22:34, Rafał Kuć <r....@solr.pl> wrote: >> Hello! >> >> I was wondering if there is a way for calculating the memory >> consumption of group.ngroups parameter. I know the the answer can be >> 'that depends', but what I'm actually wondering about is what the >> memory consumption depends on - number of documents returned by a >> query or number of groups ? Or maybe by it depends on another factor ? >> >> >> >> -- >> Regards, >> Rafał Kuć >> >>