Error optimising and rebuilding search index with Enhanced Search enabled.

Lee

Well-known member
Affected version
2.3 beta 5
Is there something not configured in our ElasticSearch build or is this a bug?

XFES\Elasticsearch\RequestException: Failed to parse mapping: analyzer [suggest] has not been configured in mappings in src/addons/XFES/Elasticsearch/Api.php at line 464
  1. XFES\Elasticsearch\Api->request() in src/addons/XFES/Elasticsearch/Api.php at line 361
  2. XFES\Elasticsearch\Api->createIndex() in src/addons/XFES/Service/Optimizer.php at line 74
  3. XFES\Service\Optimizer->optimize() in src/addons/XFES/Admin/Controller/EnhancedSearch.php at line 185
  4. XFES\Admin\Controller\EnhancedSearch->actionOptimize() in src/XF/Mvc/Dispatcher.php at line 352
  5. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 258
  6. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  7. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  8. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2592
  9. XF\App->run() in src/XF.php at line 532
  10. XF::runApp() in admin.php at line 13
 
This should be handled better, but I think if you try toggling an analyzer setting (like stop words or stemming) on/off, and then reoptimize and rebuild the index it should work.
 
This should be handled better, but I think if you try toggling an analyzer setting (like stop words or stemming) on/off, and then reoptimize and rebuild the index it should work.
Yes, that fixes the error. But search suggestions are still not working. When typing a query, no suggestions are presented, even with this enabled.
 
Top Bottom