Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-3257

Nested Field Collapsing

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • modules/grouping
    • None
    • New

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            mpdreamz Martijn Laarman
            Votes:
            6 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: