Skip to content

Nested Field Collapsing [LUCENE-3257] #4330

Open
@asfimport

Description

@asfimport

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

See also https://issues.apache.org/jira/browse/SOLR-2553


Migrated from LUCENE-3257 by Martijn Laarman, 6 votes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions