Answer the question
In order to leave comments, you need to log in
Sphinx SE screw table with @count filter options
Hello to all residents of Habr!
I'm trying to set up a sphinx module for mysql so that I can join to it in the future.
I have the following query for counting the number of multi attribute options:
SELECT *, COUNT(*) as cnt FROM productIndex WHERE MATCH('') GROUP BY color_id ORDER BY cnt DESC LIMIT 0,100;
Answer the question
In order to leave comments, you need to log in
I already read in the documentation that you can bandage a column if you specify the prefix `_sph_` instead of a dog, that is, `_sph_count`.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question