I’m a bit lost here. I have a strange problem and don’t know where to begin. I use the core search function on a website I build. When I am logged in as administrator this search function is working and is very fast. When I log in as one of the users (with other role and permissions) the search function is very slow and sometimes even ending up in a 504 page.
I can’t think of a good starting point to find out what the problem is. Who can help me think of a good debugging path?