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

Grouping module should allow subclasses to set the group key per document

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.3, 4.0-ALPHA
    • None
    • None
    • New

    Description

      The new grouping module can only group by a single-valued indexed field.

      But, if we make the 'getGroupKey' a method that a subclass could override, then I think we could refactor Solr over to the module, because it could do function queries and normal queries via subclass (I think).

      This also makes the impl more extensible to apps that might have their own interesting group values per document.

      Attachments

        1. LUCENE-3099.patch
          55 kB
          Martijn van Groningen
        2. LUCENE-3099.patch
          48 kB
          Martijn van Groningen
        3. LUCENE-3099.patch
          72 kB
          Martijn van Groningen
        4. LUCENE-3099.patch
          43 kB
          Martijn van Groningen
        5. LUCENE-3099.patch
          40 kB
          Martijn van Groningen
        6. LUCENE-3099.patch
          38 kB
          Martijn van Groningen
        7. LUCENE-3099.patch
          21 kB
          Michael McCandless
        8. LUCENE-3099.patch
          75 kB
          Martijn van Groningen

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mikemccand Michael McCandless
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: