• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Make option for number of days to store xf_search data


Well-known member
I created an add-on called Search Log:


It works by getting information from the xf_search table. Currently this table is pruned every 24 hours and all data older than 24 hours is removed.

It would be great if there was a setting in the Admin CP that allowed us to change how frequently the table is pruned. That way my Search Log add-on could should a few days or weeks worth of searches as opposed to just 24 hours.

Thank you.


Well-known member
The data stored within xf_search is intended to be a cache for accessing search results (which I believe are invalidated after 24 hours); not an exhaustive history.