1. 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

Discussion in 'Closed Suggestions' started by AndyB, Feb 5, 2014.

  1. AndyB

    AndyB 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.
    Slind and Adam Howard like this.
  2. Jeremy

    Jeremy 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.
  3. Adam Howard

    Adam Howard Well-Known Member

    I think it would be cool if this was a little flexible. Maybe a setting to decide how long things are cached.

Share This Page