ElasticSearch Essentials

ElasticSearch Essentials [Paid] 3.17.10

No permission to buy ($30.00)
I know it's not 2.3 ready yet. I just put it here so it won't be missed. When trying to delete an index and recreate a new one, received is the following error:


Code:
ErrorException: [E_WARNING] Undefined array key "sv_ess_ngram" in src/addons/SV/ElasticSearchEssentials/XFES/Service/Analyzer.php at line 120
XF::handlePhpError() in src/addons/SV/ElasticSearchEssentials/XFES/Service/Analyzer.php at line 120
SV\ElasticSearchEssentials\XFES\Service\Analyzer->getAnalyzerFromConfig() in src/addons/XFES/Service/Configurer.php at line 70
XFES\Service\Configurer->initializeIndex() in src/addons/SV/ElasticSearchEssentials/XFES/Service/Configurer.php at line 43
SV\ElasticSearchEssentials\XFES\Service\Configurer->initializeIndex() in src/addons/XFES/Admin/Controller/EnhancedSearch.php at line 174
XFES\Admin\Controller\EnhancedSearch->actionSetup() in src/XF/Mvc/Dispatcher.php at line 362
XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2777
XF\App->run() in src/XF.php at line 798
XF::runApp() in admin.php at line 15
 
I know that this addon isn't XF compatible yet, but I couldn't resist trying it on a test system.

I upgraded a test system to XF 2.3. Then only enabled: Xenforo Enhanced Search 2.3.0, ElasticSearch Essentials 3.16.4, Standard Library 1.20.1, Search Improvements 2.15.6, and Browser Detection 2.3.1 (no other plugins).

Search didn't work so I deleted the index and went to recreate it. It reported progress slower than usual. It wasn't long until it crashed (12,957 documents added, 4.1MB in Elasticsearch). A 500 error caused by out-of-memory. I increased PHP's memory limit from 128MB to 256MB and then to 512MB and it still quickly crashed. Something is running away.

This isn't a complaint (I love Xon's work). Nor is it even a bug report since I know XF 2.3 isn't supported yet. Maybe it's just a post that I'm looking forward to this coming...

(It doesn't seem that Advanced Bb Codes Pack works either on XF 2.3 -- not surprising since it isn't listed as supported yet, but it seems like it really wants to work, but it doesn't seem to consistently enable/disable due to a SQL select issue... ). I'll try it all again in a month.
 
  • Like
Reactions: Xon
Knowing it fails really badly is useful to know!

I've got an update for Advanced Bb Codes Pack largely done but it is blocked by the next StandardLib update. Once that is cleared and I've done release & patching of nearly a dozen add-ons I plan to start working on finishing off my search related add-ons updating for XF2.3 and then work on direct message/conversation ones.
 
May I ask how did you setup Elasticsearch cluster for Spacebattles forum, specifically, is it 3 master and 3 data nodes, or something else? Did you put up a front nginx to load balance ES cluster?

I'm impressed with how you can get away with just 2GB of RAM for each ES node.
 
SpaceBattle's elasticsearch setup is quite simple. It is 3 master nodes (which hold data) with php-fpm is colocated on each node. So php just talks to the local elasticsearch instance to talk with the cluster.

The trick is the site runs on quite good NVMe ssd and has a modern ryzen/epic cpu with a focus on clockspeed.
 
Back
Top Bottom