Error when viewing thread when search index is incomplete

nrep

New Member
Reactions
3
Many thanks for updating to ESE to XF2 :). I've been looking forward to this :D.

I've just installed the latest ESE beta and notice this error when viewing a thread with "show similar threads" below quick reply is enabled:

"The search could not be completed. Please try again later."

My search index is currently rebuilding and incomplete, so it looks like it may be failing to show the thread at all when it can't search. I guess this may not be the intended failure mode, as if ES goes offline, it would also prevent threads from being viewed
 
I've also just tried to rebuild the search index and get this error:

XFES\Elasticsearch\RequestException: Custom Analyzer [xm_elasticess_autocomplete_index] failed to find filter under name [xm_elasticess_autocomplete_filter] in src\addons\XFES\Elasticsearch\Api.php at line 409
  1. XFES\Elasticsearch\Api->request() insrc\addons\XFES\Elasticsearch\Api.php at line 305
  2. XFES\Elasticsearch\Api->createIndex() insrc\addons\XFES\Service\Optimizer.php at line 85
  3. XFES\Service\Optimizer->optimize() insrc\addons\XFES\Search\Source\Elasticsearch.php at line 143
  4. XFES\Search\Source\Elasticsearch->truncate() insrc\XF\Search\Search.php at line 127
  5. XF\Search\Search->truncate() in src\XF\Job\SearchRebuild.php at line 25
  6. XF\Job\SearchRebuild->run() in src\XF\Job\Manager.php at line 253
  7. XF\Job\Manager->runJobInternal() in src\XF\Job\Manager.php at line195
  8. XF\Job\Manager->runJobEntry() in src\XF\Job\Manager.php at line 111
  9. XF\Job\Manager->runByIds() in src\XF\Admin\Controller\Tools.php at line 120
  10. XF\Admin\Controller\Tools->actionRunJob() insrc\XF\Mvc\Dispatcher.php at line 321
  11. XF\Mvc\Dispatcher->dispatchClass() in src\XF\Mvc\Dispatcher.php at line248
  12. XF\Mvc\Dispatcher->dispatchFromMatch() in src\XF\Mvc\Dispatcher.phpat line 100
  13. XF\Mvc\Dispatcher->dispatchLoop() in src\XF\Mvc\Dispatcher.php at line50
  14. XF\Mvc\Dispatcher->run() in src\XF\App.php at line 2177
  15. XF\App->run() in src\XF.php at line 390
  16. XF::runApp() in admin.php at line 13
 
@nrep please try deleting the index, then rebuilding.

Many thanks for updating to ESE to XF2 :). I've been looking forward to this :D.

I've just installed the latest ESE beta and notice this error when viewing a thread with "show similar threads" below quick reply is enabled:

"The search could not be completed. Please try again later."

My search index is currently rebuilding and incomplete, so it looks like it may be failing to show the thread at all when it can't search. I guess this may not be the intended failure mode, as if ES goes offline, it would also prevent threads from being viewed
Yeah, will harden it.
 

Users who are viewing this thread

Back
Top