Support » Plugin: Relevanssi - A Better Search » View All User Searches

  • Resolved Glitch Guards


    Hi Mikko,

    Thank you for this amazing plugin; I just had one quick question about it.

    Is there any way to see the lifetime User Search log? My site has gotten around 2,000 queries since I implemented this plugin but unfortunately I can only see the last 30 days, which makes creating content my visitors wants a little more hit and miss. If you could please advise on a way to view these queries I would be most grateful.

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mikko Saari


    They are all stored in the wp_relevanssi_log database, which you can use the way you want to.

    But for an easy solution, you can adjust the number of days in the “30 days” column:

    add_filter( 'relevanssi_user_searches_limit', function() { return 365; } );

    Add this to theme functions, and you’d see resutls from the last 365 days.

    (By the way, the answer to this question can be found from the Relevanssi contextual help, just click “Help” on the top right corner of Relevanssi settings pages on your site. I know most people haven’t even noticed it exists, but there’s quite a bait of useful information there.)

    Thread Starter Glitch Guards


    Thank you very much Mikko, the code is working perfectly!

    Are you referencing the Knowledgebase found on your website where this information can be obtained? If so I did try to find an answer to this through there but nothing relevant turned up in the search. May I suggest possibly breaking down the Knowledgebase into more easily digestible categories? Just trying to help 🙂

    Thanks again!

    Plugin Author Mikko Saari


    No, not the Knowledge Base, but the local help on your WordPress installation. In the top right corner of your admin dashboard, there should be a small tab that says “Help”.

    I’m sure the knowledge base could be organized better, yeah.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘View All User Searches’ is closed to new replies.