django-sphinx icon indicating copy to clipboard operation
django-sphinx copied to clipboard

Accept strings in group_by

Open dbrgn opened this issue 14 years ago • 0 comments

I think it should be possible to set the group method in group_by by passing a string.

Right now, I'm using: import djangosphinx.apis.current as sphinxapi query(q).group_by('ch_id', sphinxapi.SPH_GROUPBY_ATTR, '@weight desc')

Goal: query(q).group_by('ch_id', 'SPH_GROUPBY_ATTR', '@weight desc')

dbrgn avatar Feb 25 '11 19:02 dbrgn