-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Smart Search Optimise times out #44470
Comments
Please have a look at #44485, which should solve the issue actually. |
I have tested unsuccessfully with the prebuilt package on my local test website. I found the culprit query in the onFinderGarbageCollection() routine in administrator/components/com_finder/src/Indexer/Adapter.php . The query before the loop takes very long with a lot of items in the finder_links table. |
I have 45k article. Indexing literally takes 6-7 hours |
Steps to reproduce the issue
On a website with a lot of articles (in my case >88000)
Go to Smart Seach, Index
Either do:
Index, the index process takes a few hours but works, in the end there is no success message because the optimise process is run at the end times out (in the background)
Optimise, the process times out (e.g. 504 Gateway Time-out)
Expected result
Optimise works
Actual result
Optimise times out
System information (as much as possible)
PHP 8.2 Joomla 5.2.1
max_execution_time set to 720 (maximum)
Additional comments
I'm working on a CLI solution with new queries (tests show that the query in question runs 32 minutes...)
The text was updated successfully, but these errors were encountered: