Not a bug XenForo Enhanced Search 2.2.2 unknown query [type] src/addons/XFES/Elasticsearch/Api.php:424

TAIFUN

Active member
Affected version
2.2.9
Hi.

XenForo: 2.2.9
XenForo Enhanced Search: 2.2.2

I can`t Rebuild search index
Code:
    XFES\Elasticsearch\RequestException: Elasticsearch error: unknown query [type] src/addons/XFES/Elasticsearch/Api.php:424

    Generated by: Unknown account Jun 15, 2022 at 7:14 PM

Stack trace

#0 src/addons/XFES/Elasticsearch/Api.php(338): XFES\Elasticsearch\Api->request('get', 'test-index/...', '{
    "sort": [...')
#1 src/addons/XFES/Elasticsearch/Api.php(236): XFES\Elasticsearch\Api->requestFromIndex('get', '_search', Array)
#2 src/addons/XFES/Search/Source/Elasticsearch.php(750): XFES\Elasticsearch\Api->search(Array)
#3 src/addons/XFES/Search/Source/Elasticsearch.php(229): XFES\Search\Source\Elasticsearch->executeSearch(Object(XFES\Search\Query\MoreLikeThisQuery), Array, 100)
#4 src/addons/XFES/XF/Search/Search.php(36): XFES\Search\Source\Elasticsearch->moreLikeThis(Object(XFES\Search\Query\MoreLikeThisQuery), 100)
#5 src/XF/Search/Search.php(214): XFES\XF\Search\Search->XFES\XF\Search\{closure}(Object(XFES\Search\Query\MoreLikeThisQuery), 100)
#6 src/addons/XFES/XF/Search/Search.php(32): XF\Search\Search->executeSearch(Object(XFES\Search\Query\MoreLikeThisQuery), 100, Object(Closure), false)
#7 src/addons/XFES/XF/Repository/Thread.php(89): XFES\XF\Search\Search->moreLikeThis(Object(XFES\Search\Query\MoreLikeThisQuery), 100, false)
#8 src/addons/XFES/XF/Repository/Thread.php(54): XFES\XF\Repository\Thread->getSimilarThreadIds(Object(TickTackk\ChangeContentOwner\XF\Entity\Thread), 100, false)
#9 src/addons/XFES/Widget/SimilarThreads.php(155): XFES\XF\Repository\Thread->rebuildSimilarThreadsCache(Object(TickTackk\ChangeContentOwner\XF\Entity\Thread))
#10 src/addons/XFES/Widget/SimilarThreads.php(61): XFES\Widget\SimilarThreads->getSimilarThreadsCache(Object(TickTackk\ChangeContentOwner\XF\Entity\Thread))
#11 internal_data/code_cache/widgets/_19_xfes_thread_view_below_quick_reply_similar_threads.php(5): XFES\Widget\SimilarThreads->render()
#12 src/XF/Template/Templater.php(7545): XF\SubContainer\Widget->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, Array)
#13 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#14 src/XF/Template/Templater.php(1928): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#15 internal_data/code_cache/templates/l2/s2/public/thread_view.php(986): XF\Template\Templater->widgetPosition('thread_view_bel...', Array)
#16 src/XF/Template/Templater.php(1651): XF\Template\Templater->{closure}(Object(ThemeHouse\UIX\XF\Template\Templater), Array, Object(XF\Template\ExtensionSet))
#17 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('thread_view', Array)
#18 src/XF/Mvc/Renderer/Html.php(50): XF\Template\Template->render()
#19 src/XF/Mvc/Dispatcher.php(460): XF\Mvc\Renderer\Html->renderView('XF:Thread\\View', 'public:thread_v...', Array)
#20 src/XF/Mvc/Dispatcher.php(442): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#21 src/XF/Mvc/Dispatcher.php(402): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#23 src/XF/App.php(2352): XF\Mvc\Dispatcher->run()
#24 src/XF.php(524): XF\App->run()
#25 index.php(20): XF::runApp('XF\\Pub\\App')
#26 {main}

Request state

array(4) {
  ["url"] => string(22) "/forum/threads/226671/"
  ["referrer"] => string(22) "https://www.google.ru/"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
Top