Vohn
Member
- Affected version
- 2.2.13
I have been trying to replace elasticsearch 8.x with OpenSearch 2.8.x but currently facing a bug?.
Currently getting the following when initiating initially Xenforo Enhanced Search fresh install :
System :
Currently getting the following when initiating initially Xenforo Enhanced Search fresh install :
XFES\Elasticsearch\RequestException: Root mapping definition has unsupported parameters: [xfmg_comment : {_source={enabled=false}, _all={enabled=false}, properties={date={store=true, type=long}, hidden={type=boolean}, content_type={type=string}, content_id={type=long}, discussion_id={store=true, type=long}, tag={type=long}, title={type=string}, message={type=string}, user={store=true, type=long}}}] [xfmg_album : {_source={enabled=false}, _all={enabled=false}, properties={date={store=true, type=long}, hidden={type=boolean}, albumcat={type=long}, discussion_id={store=true, type=long}, tag={type=long}, title={type=string}, message={type=string}, user={store=true, type=long}}}] [xfmg_media : {_source={enabled=false}, _all={enabled=false}, properties={date={store=true, type=long}, mediaalbum={type=long}, hidden={type=boolean}, discussion_id={store=true, type=long}, tag={type=long}, title={type=string}, message={type=string}, user={store=true, type=long}, mediacat={type=long}}}] [post : {_source={enabled=false}, _all={enabled=false}, properties={date={store=true, type=long}, node={type=long}, hidden={type=boolean}, prefix={type=long}, discussion_id={store=true, type=long}, tag={type=long}, thread={type=long}, title={type=string}, message={type=string}, user={store=true, type=long}}}] [resource : {_source={enabled=false}, _all={enabled=false}, properties={date={store=true, type=long}, resprefix={type=long}, hidden={type=boolean}, resource={type=long}, discussion_id={store=true, type=long}, tag={type=long}, rescat={type=long}, title={type=string}, message={type=string}, user={store=true, type=long}}}] [profile_post : {_source={enabled=false}, _all={enabled=false}, properties={date={store=true, type=long}, profile_user={type=long}, hidden={type=boolean}, discussion_id={store=true, type=long}, tag={type=long}, title={type=string}, message={type=string}, user={store=true, type=long}}}] [resource_update : {_source={enabled=false}, _all={enabled=false}, properties={date={store=true, type=long}, resprefix={type=long}, hidden={type=boolean}, resource={type=long}, discussion_id={store=true, type=long}, tag={type=long}, rescat={type=long}, title={type=string}, message={type=string}, user={store=true, type=long}}}] [page : {_source={enabled=false}, _all={enabled=false}, properties={date={store=true, type=long}, node={type=long}, hidden={type=boolean}, discussion_id={store=true, type=long}, tag={type=long}, title={type=string}, message={type=string}, user={store=true, type=long}}}] [thread : {_source={enabled=false}, _all={enabled=false}, properties={date={store=true, type=long}, node={type=long}, hidden={type=boolean}, prefix={type=long}, thread_type={index=not_analyzed, type=string}, discussion_id={store=true, type=long}, tag={type=long}, thread={type=long}, title={type=string}, message={type=string}, user={store=true, type=long}}}] [profile_post_comment : {_source={enabled=false}, _all={enabled=false}, properties={date={store=true, type=long}, profile_user={type=long}, hidden={type=boolean}, discussion_id={store=true, type=long}, tag={type=long}, title={type=string}, message={type=string}, user={store=true, type=long}}}] src/addons/XFES/Elasticsearch/Api.php:424
#0 src/addons/XFES/Elasticsearch/Api.php(308): XFES\Elasticsearch\Api->request('put', 'siliwangi', '{
"settings...')
#1 src/addons/XFES/Service/Optimizer.php(85): XFES\Elasticsearch\Api->createIndex(Array)
#2 src/addons/XFES/Service/Configurer.php(69): XFES\Service\Optimizer->optimize(Array)
#3 src/addons/XFES/Admin/Controller/EnhancedSearch.php(144): XFES\Service\Configurer->initializeIndex(Array)
#4 src/XF/Mvc/Dispatcher.php(352): XFES\Admin\Controller\EnhancedSearch->actionSetup(Object(XF\Mvc\ParameterBag))
#5 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XFES:EnhancedSe...', 'Setup', Object(XF\Mvc\RouteMatch), Object(XFES\Admin\Controller\EnhancedSearch), NULL)
#6 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFES\Admin\Controller\EnhancedSearch), NULL)
#7 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#8 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#9 src/XF.php(524): XF\App->run()
#10 admin.php(13): XF::runApp('XF\\Admin\\App')
#11 {main}
array(4) {
["url"] => string(32) "/admin.php?enhanced-search/setup"
["referrer"] => string(53) "https://forum.test.tld/admin.php?enhanced-search/"
["_GET"] => array(1) {
["enhanced-search/setup"] => string(0) ""
}
["_POST"] => array(4) {
["_xfToken"] => string(8) "********"
["enable"] => string(1) "1"
["index"] => array(2) {
["stop"] => string(4) "none"
["stemming"] => string(4) "none"
}
["config"] => string(94) "{"host":"localhost","port":9200,"username":"","password":"","https":false,"index":"site"}"
}
}
System :
Code:
RockyLinux 8
PHP 8.0
MariaDB 11.x
OpenSearch 2.8.0
Last edited: