tags:

views:

7

answers:

0

Hello,

In my sphinx-powered search application, I want to show the top searches. I can perhaps log every keyword/ search phrase in a database table and then just do the count there. But my problem is if the search is not a word, but a phrase.

Do I use sphinx's buildKeyword() method and split the phrase and log them individually? Or is there a better way?

Thanks a lot!