Search log is not cleaning up! I even triggered it in Sidekiq scheduler but still search log is there.
What do you mean it’s not cleaning up? I don’t think it should…
How to clean the search logs?
There’s no way unless you remove the records from the database.
Why do you want to clean the search logs?
Got millions of searches
So? I’m not sure I see a problem here.
But in sidekiq scheduler there is a term called clearsearchlogs
Right, that job is used to trim the search logs. It’s controlled by the “
search query log max size” site setting (which defaults to 1M).