XF 2.0 How long should a search index rebuild take?

fotografik

Active member
I know I know - how long is a piece of string.

After our migration from VB4 a couple of days ago, we ran into issues with ElasticSearch and Search in general. We have initiated a search index rebuild via CLI but after approximately 18 hours, we are only at Post #19782 out of 9.2M.

What could be the bottleneck and how can we speed the search index rebuild up?
 
It’s working now. The curl command with _status has been deprecated which I only found out after some searching.
However, index rebuild is still taking a long time.

How can I check the heap size?
 
Appears that the heap size is set to 1GB.

Index rebuild is still very slow, and really at wit's end trying to understand where the bottleneck is. We were using SphinxSearch on VB4 previously and a reindex would take no more than 20 minutes at most.
 
Yep, 1GB is really not that much. It takes me ~15mins for 500k Posts, so that would be roughly 4,6h for your amount of posts with my server setup.
ES is very RAM hungry. Sphinx seems to be using standard SQL. So in that I guess you should disable Enhanced Search and try out indexing again. Or increase the heap size significantly.
 
Top Bottom