[ 
https://issues.apache.org/jira/browse/SOLR-2553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13041319#comment-13041319
 ] 

Martijn van Groningen commented on SOLR-2553:
---------------------------------------------

bq. I think to represent this returned result we need to have GroupDocs extend 
TopDocs
That makes sense. TopGroups already contains an array of GroupDocs. If this is 
empty then that is the deepest field.

Seems like to me that there is quite some work to be done in grouping module to 
support this. So I think a Lucene issue would be needed.
This issue should then be concerned with wiring it up into Solr. 

bq. The CachingCollector should reduce the search cost,
Or for any other subsequent search

> Nested Field Collapsing
> -----------------------
>
>                 Key: SOLR-2553
>                 URL: https://issues.apache.org/jira/browse/SOLR-2553
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>            Reporter: Martijn Laarman
>
> Currently specifying grouping on multiple fields returns multiple datasets. 
> It would be nice if Solr supported cascading / nested grouping by applying 
> the first group over the entire result set, the next over each group and so 
> forth and so forth. 
> Even if limited to supporting nesting grouping 2 levels deep would cover alot 
> of use cases. 
> group.field=location&group.field=type
> -Location X
> ---Type 1
> -----documents
> ---Type 2
> ----documents
> -Location Y
> ---Type 1
> ----documents
> ---Type 2
> ----documents
> instead of 
> -Location X
> -- documents
> -Location Y
> --documents
> -Type 1
> --documents
> -Type2
> --documents

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to