Not a bug Enhanced Search with ElasitcSearch 6.X

Jake B.

Well-known member
Affected version
1.1.8
The stack trace in that particular error appears to involve an add-on (and is code that looks to be triggered by the add-on rather than just it being in the stack trace). This is very possibly the cause.

Elasticsearch 6 is a very different beast with assumptions vs Elasticsearch <= 5. It is very likely the add-ons that interact with it may need some updates. The core methods should generally be safe though.

If you can reproduce this without any third-party add-ons though, we'd like to know though we'd likely need direct reproduction steps.
 
The board I was setting it up on today doesn't have DigitalPoint's add-on installed, it does have ElasticSearch essentials installed, but had a similar result with it disabled:

Code:
XenForo_Exception: Elasticsearch indexing failed for post-1 Elasticsearch error: Rejecting mapping update to [database_name] as the final mapping would have more than 1 type: [post, convess] - library/XenES/Search/SourceHandler/ElasticSearch.php:1062

#0 /home/forgehub/public_html/library/XenES/Search/SourceHandler/ElasticSearch.php(1185): XenES_Search_SourceHandler_ElasticSearch->_logSearchResponseError(Object(stdClass), true, 'Elasticsearch i...')
#1 /home/forgehub/public_html/library/XenES/Search/SourceHandler/ElasticSearch.php(81): XenES_Search_SourceHandler_ElasticSearch->_triggerFailedIndexError(Object(stdClass), Array)
#2 /home/forgehub/public_html/library/XenForo/Search/Indexer.php(125): XenES_Search_SourceHandler_ElasticSearch->finalizeRebuildSet()
#3 /home/forgehub/public_html/library/XenForo/Deferred/SearchIndex.php(76): XenForo_Search_Indexer->finalizeRebuildSet()
#4 /home/forgehub/public_html/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_SearchIndex->execute(Array, Array, 8, '')
#5 /home/forgehub/public_html/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 8, '', false)
#6 /home/forgehub/public_html/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, 8, '', false)
#7 /home/forgehub/public_html/library/XenForo/ControllerAdmin/Tools.php(159): XenForo_Model_Deferred->run(true, NULL, '', false)
#8 /home/forgehub/public_html/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_Tools->actionRunDeferred()
#9 /home/forgehub/public_html/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /home/forgehub/public_html/admin.php(13): XenForo_FrontController->run()
#11 {main}
 
That looks like a very old copy of Conversation Essentials (the convess type isn't used any more) which is then dumping crap into the search index.

The modern version of Conversation Improvements does the search now and works with Elasticsearch 6.x
 
That looks like a very old copy of Conversation Essentials (the convess type isn't used any more) which is then dumping crap into the search index.

The modern version of Conversation Improvements does the search now and works with Elasticsearch 6.x

Ah, maybe that's the cause then. I'll have them update their Conversation Essentials add-on
 
Ah, maybe that's the cause then. I'll have them update their Conversation Essentials add-on
They will need to install Conversation Improvements too (for the Conversation search & Likes).

Annoyingly any major change with Elastic Search 6.x basically needs to blow away the index and start again :(
 
Back
Top Bottom