mnoGoSearch 3.2 reference manual: Full-featured search engine software | ||
---|---|---|
Prev | Chapter 8. Searching documents | Next |
mnoGoSearch supports query tracking.
Note: Tracking is implemented in SQL version only and not available in built-in database.
To use tracking, you have to create tables for tracking support. For MySQL, use create/mysql/track.txt. When doing a search, front-end uses those tables to store query words, a number of found documents and current UNIX timestamp in seconds.
To enable tracking, add the following lines to "variables" section of search template:
TrackQuery yes
Note: If you use searchd, you should place this line in your searchd.conf.
Query tracking is useful to have a statistics of your search engine usage. To make a search queries summary, you may execute, for example, this SQL expression:
SELECT qwords,count(*),sum(found),avg(found) GROUP BY qwords;