Answer the question
In order to leave comments, you need to log in
How to organize Sphinx search for ads with nested categories?
Greetings!
There is a table with ads , each has its category in category_id + its name in name + its additional info in info .
There is a table with categories , each has a parent category in parent_id ( they are nested ) + its name
in name
As I understand it, it is possible to form a string from categories ala "real estate / apartments / 1km" and give it to the sphinx for indexing, but the question is how to generate it for each ad?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question