Duplicate Tried to optimize Enhanced Search - Search broke.

rickhz

Well-known member
Affected version
2.3
XFES\Elasticsearch\RequestException: Failed to parse mapping [_doc]: analyzer [suggest] has not been configured in mappings in src/addons/XFES/Elasticsearch/Api.php at line 466

  1. XFES\Elasticsearch\Api->request() in src/addons/XFES/Elasticsearch/Api.php at line 363
  2. XFES\Elasticsearch\Api->createIndex() in src/addons/XFES/Service/Optimizer.php at line 79
  3. XFES\Service\Optimizer->optimize() in src/addons/XFES/Search/Source/Elasticsearch.php at line 145
  4. XFES\Search\Source\Elasticsearch->truncate() in src/XF/Search/Search.php at line 175
  5. XF\Search\Search->truncate() in src/XF/Job/SearchRebuild.php at line 29
  6. XF\Job\SearchRebuild->run() in src/XF/Job/Manager.php at line 275
  7. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 205
  8. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 121
  9. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/ToolsController.php at line 146
  10. XF\Admin\Controller\ToolsController->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 362
  11. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 264
  12. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  13. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  14. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2777
  15. XF\App->run() in src/XF.php at line 798
  16. XF::runApp() in admin.php at line 15

Right now search is inoperable.

I tired to rebuild search cache and checked to delete index, but this error comes up. This is the same error that came up when I tried to optimize Enhanced Search. It showed "Yes" that it needed to be optimized, so I tried and it failed.
 
Back
Top Bottom