How can you tell if Enhanced Search is working?

wardsweb

Member
Elasticsearch and Enhanced Search are installed and enabled. How can I tell if it is actually working and not just the regular search running?
 
I ran the search rebuild and it processed around 8 million post in just over an hour. When it was done, it the screen changed to this error: No response returned from Elasticsearch. Is it running?

I can run a search and it seems to be working.

Error log below

Code:
XenForo_Exception: Elasticsearch server returned no response. Is it running? Elasticsearch indexing failed - library/XenES/Search/SourceHandler/ElasticSearch.php:877
Generated By: Wardsweb, 1 minute ago

Stack Trace

#0 /chroot/home/ak/audiokarma.org/html/forums/library/XenES/Search/SourceHandler/ElasticSearch.php(992): XenES_Search_SourceHandler_ElasticSearch->_logSearchResponseError(false, true, 'Elasticsearch i...')
#1 /chroot/home/ak/audiokarma.org/html/forums/library/XenES/Search/SourceHandler/ElasticSearch.php(76): XenES_Search_SourceHandler_ElasticSearch->_triggerFailedIndexError(false, Array)
#2 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/Search/Indexer.php(125): XenES_Search_SourceHandler_ElasticSearch->finalizeRebuildSet()
#3 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/Deferred/SearchIndex.php(76): XenForo_Search_Indexer->finalizeRebuildSet()
#4 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/Model/Deferred.php(295): XenForo_Deferred_SearchIndex->execute(Array, Array, 7.9999978542328, '')
#5 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/Model/Deferred.php(429): XenForo_Model_Deferred->runDeferred(Array, 7.9999978542328, '', false)
#6 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/Model/Deferred.php(374): XenForo_Model_Deferred->_runInternal(Array, NULL, '', false)
#7 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/ControllerAdmin/Tools.php(159): XenForo_Model_Deferred->run(true, NULL, '', false)
#8 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/FrontController.php(351): XenForo_ControllerAdmin_Tools->actionRunDeferred()
#9 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#10 /chroot/home/ak/audiokarma.org/html/forums/admin.php(13): XenForo_FrontController->run()
#11 {main}

Request State

array(3) {
  ["url"] => string(57) "http://audiokarma.org/forums/admin.php?tools/run-deferred"
  ["_GET"] => array(1) {
    ["tools/run-deferred"] => string(0) ""
  }
  ["_POST"] => array(5) {
    ["execute"] => string(1) "1"
    ["_xfRequestUri"] => string(36) "/forums/admin.php?tools/run-deferred"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfToken"] => string(8) "********"
    ["_xfResponseType"] => string(4) "json"
  }
}


Delete... Close
 
One of the site admins went into the control panel today and it showed a rebuild process had been interrupted, click to continue. They started the rebuild and let it complete. There are 8l errors in the server log that read:

Code:
XenForo_Exception: Elasticsearch error: {"root_cause":[{"type":"query_parsing_exception","reason":"No query registered for [numeric_range]","index":"ak_audiokarma","line":1,"col":131}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"ak_audiokarma","node":"NUZDtjtVTCuEkWo66xgMxw","reason":{"type":"query_parsing_exception","reason":"No query registered for [numeric_range]","index":"ak_audiokarma","line":1,"col":131}}]} - library/XenES/Search/SourceHandler/ElasticSearch.php:871
Generated By: luvvinvinyl, Today at 10:58 AM

Stack Trace

#0 /chroot/home/ak/audiokarma.org/html/forums/library/XenES/Search/SourceHandler/ElasticSearch.php(556): XenES_Search_SourceHandler_ElasticSearch->_logSearchResponseError(Object(stdClass), true)
#1 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/Search/Searcher.php(136): XenES_Search_SourceHandler_ElasticSearch->executeSearchByUserId(135101, 1444744610, '200')
#2 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/ControllerPublic/Search.php(360): XenForo_Search_Searcher->searchUser(135101, 1444744610)
#3 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_Search->actionMember()
#4 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /chroot/home/ak/audiokarma.org/html/forums/index.php(13): XenForo_FrontController->run()
#6 {main}

Request State

array(3) {
  ["url"] => string(85) "http://audiokarma.org/forums/index.php?search/member&user_id=135101&before=1444744610"
  ["_GET"] => array(3) {
    ["search/member"] => string(0) ""
    ["user_id"] => string(6) "135101"
    ["before"] => string(10) "1444744610"
  }
  ["_POST"] => array(0) {
  }
}


Delete... Close
 
We continue to get server errors

Code:
Error Info

XenForo_Exception: Elasticsearch error: {"root_cause":[{"type":"query_parsing_exception","reason":"No query registered for [numeric_range]","index":"ak_audiokarma","line":1,"col":129}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"ak_audiokarma","node":"NUZDtjtVTCuEkWo66xgMxw","reason":{"type":"query_parsing_exception","reason":"No query registered for [numeric_range]","index":"ak_audiokarma","line":1,"col":129}}]} - library/XenES/Search/SourceHandler/ElasticSearch.php:871
Generated By: Unknown Account, 31 minutes ago

Stack Trace

#0 /chroot/home/ak/audiokarma.org/html/forums/library/XenES/Search/SourceHandler/ElasticSearch.php(556): XenES_Search_SourceHandler_ElasticSearch->_logSearchResponseError(Object(stdClass), true)
#1 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/Search/Searcher.php(136): XenES_Search_SourceHandler_ElasticSearch->executeSearchByUserId(4941, 1296053498, '200')
#2 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/ControllerPublic/Search.php(360): XenForo_Search_Searcher->searchUser(4941, 1296053498)
#3 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/FrontController.php(351): XenForo_ControllerPublic_Search->actionMember()
#4 /chroot/home/ak/audiokarma.org/html/forums/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#5 /chroot/home/ak/audiokarma.org/html/forums/index.php(13): XenForo_FrontController->run()
#6 {main}

Request State

array(3) {
  ["url"] => string(83) "http://audiokarma.org/forums/index.php?search/member&user_id=4941&before=1296053498"
  ["_GET"] => array(3) {
    ["search/member"] => string(0) ""
    ["user_id"] => string(4) "4941"
    ["before"] => string(10) "1296053498"
  }
  ["_POST"] => array(0) {
  }
}


Delete...
 
Top Bottom