Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-5477

[PATCH] sphinxSE GROUP BY on multiple attributes

    Details

      Description

      It is possible to group by on multiple attribute values with the native API and SphinxQL but not with the Storage Engine.

      The patch implements a new mode ("multi:") for the groupby function SPH_GROUPBY_MULTIPLE.

      After the patch it is possible to group by on multiple attribute values with this query:

      SELECT _sph_count, attribute1, attribute2 FROM sphinx_index_table WHERE query = ';groupby=multi:attribute1, attribute2';

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                serg Sergei Golubchik
                Reporter:
                alex Alex Luft
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: