SatGuyScott
Active member
Just installed XFES and completed the reindex. However when anyone searches they get the following error.
The search could not be completed. Please try again later.
The Xenforo Error log shows...
XenForo_Exception: Elasticsearch error: SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[w3jtuTz-SE-mRVa40DbVsg][scott][0]: SearchParseException[[scott][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"function_score":{"boost_mode":"replace","query":{"filtered":{"filter":{"and":[{"term":{"node":10}}]},"query":{"query_string":{"query":"Can I add another Satellite dish to my shop and get Dish TV","fields":["title^3","message"],"default_operator":"and"}}}},"script_score":{"params":{"now":1446667024,"halflife":31536000},"lang":"groovy","script":"_score \/ pow(2.0F, min(10.0F * halflife, abs(now - doc['date'].value)) \/ halflife)"}}},"sort":[{"_score":"desc"},{"date":"desc"}],"size":300,"fields":["discussion_id","user","date"]}]]]; nested: QueryParsingException[[scott] script_score the script could not be loaded]; nested: ScriptException[scripts of type [inline], operation [search] and lang [groovy] are disabled]; }{[w3jtuTz-SE-mRVa40DbVsg][scott][1]: SearchParseException[[scott][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"function_score":{"boost_mode":"replace","query":{"filtered":{"filter":{"and":[{"term":{"node":10}}]},"query":{"query_string":{"query":"Can I add another Satellite dish to my shop and get Dish TV","fields":["title^3","message"],"default_operator":"and"}}}},"script_score":{"params":{"now":1446667024,"halflife":31536000},"lang":"groovy","script":"_score \/ pow(2.0F, min(10.0F * halflife, abs(now - doc['date'].value)) \/ halflife)"}}},"sort":[{"_score":"desc"},{"date":"desc"}],"size":300,"fields":["discussion_id","user","date"]}]]]; nested: QueryParsingException[[scott] script_score the script could not be loaded]; nested: ScriptException[scripts of type [inline], operation [search] and lang [groovy] are disabled]; }{[w3jtuTz-SE-mRVa40DbVsg][scott][2]: SearchParseException[[scott][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"function_score":{"boost_mode":"replace","query":{"filtered":{"filter":{"and":[{"term":{"node":10}}]},"query":{"query_string":{"query":"Can I add another Satellite dish to my shop and get Dish TV","fields":["title^3","message"],"default_operator":"and"}}}},"script_score":{"params":{"now":1446667024,"halflife":31536000},"lang":"groovy","script":"_score \/ pow(2.0F, min(10.0F * halflife, abs(now - doc['date'].value)) \/ halflife)"}}},"sort":[{"_score":"desc"},{"date":"desc"}],"size":300,"fields":["discussion_id","user","date"]}]]]; nested: QueryParsingException[[scott] script_score the script could not be loaded]; nested: ScriptException[scripts of type [inline], operation [search] and lang [groovy] are disabled]; }{[w3jtuTz-SE-mRVa40DbVsg][scott][3]: SearchParseException[[scott][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"function_score":{"boost_mode":"replace","query":{"filtered":{"filter":{"and":[{"term":{"node":10}}]},"query":{"query_string":{"query":"Can I add another Satellite dish to my shop and get Dish TV","fields":["title^3","message"],"default_operator":"and"}}}},"script_score":{"params":{"now":1446667024,"halflife":31536000},"lang":"groovy","script":"_score \/ pow(2.0F, min(10.0F * halflife, abs(now - doc['date'].value)) \/ halflife)"}}},"sort":[{"_score":"desc"},{"date":"desc"}],"size":300,"fields":["discussion_id","user","date"]}]]]; nested: QueryParsingException[[scott] script_score the script could not be loaded]; nested: ScriptException[scripts of type [inline], operation [search] and lang [groovy] are disabled]; }{[w3jtuTz-SE-mRVa40DbVsg][scott][4]: SearchParseException[[scott][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"function_score":{"boost_mode":"replace","query":{"filtered":{"filter":{"and":[{"term":{"node":10}}]},"query":{"query_string":{"query":"Can I add another Satellite dish to my shop and get Dish TV","fields":["title^3","message"],"default_operator":"and"}}}},"script_score":{"params":{"now":1446667024,"halflife":31536000},"lang":"groovy","script":"_score \/ pow(2.0F, min(10.0F * halflife, abs(now - doc['date'].value)) \/ halflife)"}}},"sort":[{"_score":"desc"},{"date":"desc"}],"size":300,"fields":["discussion_id","user","date"]}]]]; nested: QueryParsingException[[scott] script_score the script could not be loaded]; nested: ScriptException[scripts of type [inline], operation [search] and lang [groovy] are disabled]; }] -library/XenES/Search/SourceHandler/ElasticSearch.php:845
HELP! Any ideas?
The search could not be completed. Please try again later.
The Xenforo Error log shows...
XenForo_Exception: Elasticsearch error: SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[w3jtuTz-SE-mRVa40DbVsg][scott][0]: SearchParseException[[scott][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"function_score":{"boost_mode":"replace","query":{"filtered":{"filter":{"and":[{"term":{"node":10}}]},"query":{"query_string":{"query":"Can I add another Satellite dish to my shop and get Dish TV","fields":["title^3","message"],"default_operator":"and"}}}},"script_score":{"params":{"now":1446667024,"halflife":31536000},"lang":"groovy","script":"_score \/ pow(2.0F, min(10.0F * halflife, abs(now - doc['date'].value)) \/ halflife)"}}},"sort":[{"_score":"desc"},{"date":"desc"}],"size":300,"fields":["discussion_id","user","date"]}]]]; nested: QueryParsingException[[scott] script_score the script could not be loaded]; nested: ScriptException[scripts of type [inline], operation [search] and lang [groovy] are disabled]; }{[w3jtuTz-SE-mRVa40DbVsg][scott][1]: SearchParseException[[scott][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"function_score":{"boost_mode":"replace","query":{"filtered":{"filter":{"and":[{"term":{"node":10}}]},"query":{"query_string":{"query":"Can I add another Satellite dish to my shop and get Dish TV","fields":["title^3","message"],"default_operator":"and"}}}},"script_score":{"params":{"now":1446667024,"halflife":31536000},"lang":"groovy","script":"_score \/ pow(2.0F, min(10.0F * halflife, abs(now - doc['date'].value)) \/ halflife)"}}},"sort":[{"_score":"desc"},{"date":"desc"}],"size":300,"fields":["discussion_id","user","date"]}]]]; nested: QueryParsingException[[scott] script_score the script could not be loaded]; nested: ScriptException[scripts of type [inline], operation [search] and lang [groovy] are disabled]; }{[w3jtuTz-SE-mRVa40DbVsg][scott][2]: SearchParseException[[scott][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"function_score":{"boost_mode":"replace","query":{"filtered":{"filter":{"and":[{"term":{"node":10}}]},"query":{"query_string":{"query":"Can I add another Satellite dish to my shop and get Dish TV","fields":["title^3","message"],"default_operator":"and"}}}},"script_score":{"params":{"now":1446667024,"halflife":31536000},"lang":"groovy","script":"_score \/ pow(2.0F, min(10.0F * halflife, abs(now - doc['date'].value)) \/ halflife)"}}},"sort":[{"_score":"desc"},{"date":"desc"}],"size":300,"fields":["discussion_id","user","date"]}]]]; nested: QueryParsingException[[scott] script_score the script could not be loaded]; nested: ScriptException[scripts of type [inline], operation [search] and lang [groovy] are disabled]; }{[w3jtuTz-SE-mRVa40DbVsg][scott][3]: SearchParseException[[scott][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"function_score":{"boost_mode":"replace","query":{"filtered":{"filter":{"and":[{"term":{"node":10}}]},"query":{"query_string":{"query":"Can I add another Satellite dish to my shop and get Dish TV","fields":["title^3","message"],"default_operator":"and"}}}},"script_score":{"params":{"now":1446667024,"halflife":31536000},"lang":"groovy","script":"_score \/ pow(2.0F, min(10.0F * halflife, abs(now - doc['date'].value)) \/ halflife)"}}},"sort":[{"_score":"desc"},{"date":"desc"}],"size":300,"fields":["discussion_id","user","date"]}]]]; nested: QueryParsingException[[scott] script_score the script could not be loaded]; nested: ScriptException[scripts of type [inline], operation [search] and lang [groovy] are disabled]; }{[w3jtuTz-SE-mRVa40DbVsg][scott][4]: SearchParseException[[scott][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"function_score":{"boost_mode":"replace","query":{"filtered":{"filter":{"and":[{"term":{"node":10}}]},"query":{"query_string":{"query":"Can I add another Satellite dish to my shop and get Dish TV","fields":["title^3","message"],"default_operator":"and"}}}},"script_score":{"params":{"now":1446667024,"halflife":31536000},"lang":"groovy","script":"_score \/ pow(2.0F, min(10.0F * halflife, abs(now - doc['date'].value)) \/ halflife)"}}},"sort":[{"_score":"desc"},{"date":"desc"}],"size":300,"fields":["discussion_id","user","date"]}]]]; nested: QueryParsingException[[scott] script_score the script could not be loaded]; nested: ScriptException[scripts of type [inline], operation [search] and lang [groovy] are disabled]; }] -library/XenES/Search/SourceHandler/ElasticSearch.php:845
HELP! Any ideas?