XF 2.0 Rebuilding search index --> Elasticsearch indexing error

raytrails

Well-known member
While rebuilding my search index, Elasticsearch returns this error message on the same thread number each time:

  • XFES\Elasticsearch\BulkRequestException: Elasticsearch indexing error: Elasticsearch bulk action error (first error: [thread-12893] failed to parse [prefix])
  • src/addons/XFES/Elasticsearch/Api.php:408

Any idea what this can be?
 
Strack trace:

Code:
#0 src/addons/XFES/Elasticsearch/Api.php(171): XFES\Elasticsearch\Api->bulkRequest('{"index":{"_ind...')
#1 src/addons/XFES/Search/Source/Elasticsearch.php(82): XFES\Elasticsearch\Api->indexBulk(Array)
#2 src/addons/XFES/Search/Source/Elasticsearch.php(57): XFES\Search\Source\Elasticsearch->flushBulkIndexing()
#3 src/XF/Search/Search.php(40): XFES\Search\Source\Elasticsearch->index(Object(XF\Search\IndexRecord))
#4 src/XF/Search/Search.php(59): XF\Search\Search->index('post', Object(SV\UserEssentials\XF\Entity\Post))
#5 src/XF/Search/Search.php(85): XF\Search\Search->indexEntities('post', Object(XF\Mvc\Entity\ArrayCollection))
#6 src/XF/Job/SearchRebuild.php(57): XF\Search\Search->indexRange('post', 124616, '1000')
#7 src/XF/Job/Manager.php(241): XF\Job\SearchRebuild->run(7.9999990463257)
#8 src/XF/Job/Manager.php(187): XF\Job\Manager->runJobInternal(Array, 7.9999990463257)
#9 src/XF/Job/Manager.php(76): XF\Job\Manager->runJobEntry(Array, 7.9999990463257)
#10 src/XF/Admin/Controller/Tools.php(139): XF\Job\Manager->runQueue(true, 8)
#11 src/XF/Mvc/Dispatcher.php(249): XF\Admin\Controller\Tools->actionRunJob(Object(XF\Mvc\ParameterBag))
#12 src/XF/Mvc/Dispatcher.php(88): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', 'html', Object(XF\Mvc\ParameterBag), 'tools', Object(XF\Admin\Controller\Tools), NULL)
#13 src/XF/Mvc/Dispatcher.php(41): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#14 src/XF/App.php(1931): XF\Mvc\Dispatcher->run()
#15 src/XF.php(328): XF\App->run()
#16 admin.php(13): XF::runApp('XF\\Admin\\App')
#17 {main}
 
It's thread number 12893.

add this to your forum URL:

/threads/12893
Thanks for replying, @AndyB - I was aware of the thread number but it doesn't work that easily to find the thread in question, since the name of the thread also needs to be included. I get a 404 not found by just adding /threads/12893
 
Thanks for replying, @AndyB - I was aware of the thread number but it doesn't work that easily to find the thread in question, since the name of the thread also needs to be included. I get a 404 not found by just adding /threads/12893
The name is not needed. https://xenforo.com/community/threads/148412
This more likely means there's an orphaned record of the thread in your database if you can't access it directly. Or your route is wrong.
 
Top Bottom