Server Error for elastic search

surfsup

Well-known member
Code:
XenForo_Exception: Elasticsearch error: SearchPhaseExecutionException[Failed to execute phase [query], total failure; shardFailures {[OavWGAsjToCpG9Www0U_kw][truckmountelastic][2]: SearchParseException[[truckmountelastic][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"filtered":{"filter":{"and":[{"range":{"date":{"gt":1386651600}}},{"type":{"value":"resource_update"}}]},"query":{"query_string":{"query":"*","fields":["title","message"],"default_operator":"and"}}}},"sort":[{"date":"desc"}],"size":1000,"fields":["discussion_id","user","date"]}]]]; nested: }{[OavWGAsjToCpG9Www0U_kw][truckmountelastic][3]: SearchParseException[[truckmountelastic][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"filtered":{"filter":{"and":[{"range":{"date":{"gt":1386651600}}},{"type":{"value":"resource_update"}}]},"query":{"query_string":{"query":"*","fields":["title","message"],"default_operator":"and"}}}},"sort":[{"date":"desc"}],"size":1000,"fields":["discussion_id","user","date"]}]]]; nested: }{[OavWGAsjToCpG9Www0U_kw][truckmountelastic][1]: SearchParseException[[truckmountelastic][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"filtered":{"filter":{"and":[{"range":{"date":{"gt":1386651600}}},{"type":{"value":"resource_update"}}]},"query":{"query_string":{"query":"*","fields":["title","message"],"default_operator":"and"}}}},"sort":[{"date":"desc"}],"size":1000,"fields":["discussion_id","user","date"]}]]]; nested: }{[OavWGAsjToCpG9Www0U_kw][truckmountelastic][4]: SearchParseException[[truckmountelastic][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"filtered":{"filter":{"and":[{"range":{"date":{"gt":1386651600}}},{"type":{"value":"resource_update"}}]},"query":{"query_string":{"query":"*","fields":["title","message"],"default_operator":"and"}}}},"sort":[{"date":"desc"}],"size":1000,"fields":["discussion_id","user","date"]}]]]; nested: }{[OavWGAsjToCpG9Www0U_kw][truckmountelastic][0]: SearchParseException[[truckmountelastic][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"filtered":{"filter":{"and":[{"range":{"date":{"gt":1386651600}}},{"type":{"value":"resource_update"}}]},"query":{"query_string":{"query":"*","fields":["title","message"],"default_operator":"and"}}}},"sort":[{"date":"desc"}],"size":1000,"fields":["discussion_id","user","date"]}]]]; nested: }] - library/XenES/Search/SourceHandler/ElasticSearch.php:740
Generated By: longkenn, Yesterday at 8:46 PM
Stack Trace

#0 /var/www/vhosts/truckmountforums.com/httpdocs/library/XenES/Search/SourceHandler/ElasticSearch.php(227): XenES_Search_SourceHandler_ElasticSearch->_logSearchResponseError(Object(stdClass), true)
#1 /var/www/vhosts/truckmountforums.com/httpdocs/library/XenForo/Search/SourceHandler/Abstract.php(152): XenES_Search_SourceHandler_ElasticSearch->executeSearch('*', false, Array, Array, '', '1000', Object(XenResource_Search_DataHandler_Update))
#2 /var/www/vhosts/truckmountforums.com/httpdocs/library/XenForo/Search/Searcher.php(111): XenForo_Search_SourceHandler_Abstract->searchType(Object(XenResource_Search_DataHandler_Update), '*', Array, 'date', 0, '1000')
#3 /var/www/vhosts/truckmountforums.com/httpdocs/library/XenForo/ControllerPublic/Search.php(228): XenForo_Search_Searcher->searchType(Object(XenResource_Search_DataHandler_Update), '*', Array, 'date', 0)
#4 /var/www/vhosts/truckmountforums.com/httpdocs/library/Tinhte/XenTag/XenForo/ControllerPublic/Search.php(33): XenForo_ControllerPublic_Search->actionSearch()
#5 /var/www/vhosts/truckmountforums.com/httpdocs/library/XenForo/FrontController.php(337): Tinhte_XenTag_XenForo_ControllerPublic_Search->actionSearch()
#6 /var/www/vhosts/truckmountforums.com/httpdocs/library/XenForo/FrontController.php(134): XenForo_FrontController->dispatch(Object(XenForo_RouteMatch))
#7 /var/www/vhosts/truckmountforums.com/httpdocs/index.php(13): XenForo_FrontController->run()
#8 {main}

Request State

array(3) {
  ["url"] => string(41) "http://truckmountforums.com/search/search"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(11) {
    ["keywords"] => string(1) "*"
    ["users"] => string(0) ""
    ["date"] => string(10) "2013-12-10"
    ["child_categories"] => string(1) "1"
    ["categories"] => array(1) {
      [0] => string(0) ""
    }
    ["order"] => string(4) "date"
    ["type"] => string(15) "resource_update"
    ["_xfToken"] => string(8) "********"
    ["_xfRequestUri"] => string(29) "/search/?type=resource_update"
    ["_xfNoRedirect"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
Looks like shard corruption.

Delete then rebuild the index.
not sure I follow what you mean, I've had it installed for months and this is my first encounter of a error for this resource.

Do you mean delete the resource, re-install and then rebuild the index? or...?
 
Back
Top Bottom