etianen / django-watson

Full-text multi-table search application for Django. Easy to install and use, with good performance.
BSD 3-Clause "New" or "Revised" License
1.2k stars 130 forks source link

How to get list of queries made? #240

Closed Pulkit-Sharma closed 6 years ago

Pulkit-Sharma commented 6 years ago

Is it possible to retrieve the list of queries searched? I am using this on my project and love the results it shows. I want to show list of popular searches. Is it possible to retrieve?

Please add a label for suggestion.

etianen commented 6 years ago

You can implement this entirely in your own codebase.

Whenever a user makes a query, write an entry in a database table somewhere, keeping a tally. Or use redis and do something similar. The possibilities are endless!

On 24 February 2018 at 18:37, Pulkit notifications@github.com wrote:

Is it possible to retrieve the list of queries searched? I am using this on my project and love the results it shows. I want to show list of popular searches. Is it possible to retrieve?

Please add a label for suggestion.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/etianen/django-watson/issues/240, or mute the thread https://github.com/notifications/unsubscribe-auth/AAJFCMLYLhooxKP4QcT_DpJ1qXRSsWSCks5tYFbUgaJpZM4SR_nN .

Pulkit-Sharma commented 6 years ago

Thank for reply. That was obvious, but thought if anything inbuilt was possible.