org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[OjMqxS-hRv6P2mL2qwCJHg][securegraph][0]: SearchParseException[[securegraph][0]: from[0],size[10000]: Parse Failure [Failed to parse source [{"from":0,"size":10000,"query":{"function_score":{"query":{"filtered":{"query":{"bool":{"must":{"has_child":{"query":{"filtered":{"query":{"match_all":{}},"filter":{"and":{"filters":[{"authorizations":["ontology"]},{"term":{" http://lumify.io#conceptType_exactMatch":"concept"}}]}}}},"child_type":"property","score_type":"avg"}}}},"filter":{"and":{"filters":[{"terms":{"__elementType":["vertex"]}},{"authorizations":["ontology"]}]}}}},"functions":[{"script_score":{"script":"_score * sqrt( 1 + (inEdgeMultiplier * doc['__inEdgeCount'].value) + (outEdgeMultiplier * doc['__outEdgeCount'].value) )","lang":"groovy","params":{"outEdgeMultiplier":1.1,"inEdgeMultiplier":1.2}}}]}}}]]]; nested: QueryParsingException[[securegraph] script_score the script could not be loaded]; nested: ScriptException[dynamic scripting for [groovy]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Unknown author, 10 months ago
['__inEdgeCount'].value) + (outEdgeMultiplier * doc['__outEdgeCount'].value) )","lang":"groovy","params":{"outEdgeMultiplier":1.1,"inEdgeMultiplier":1.2}}}]}}}]]]; nested: QueryParsingException[[securegraph] script_score the script could not be loaded]; nested: ScriptException[dynamic scripting for [groovy]
via Google Groups by Apurv Tiwari, 10 months ago
":"property","score_type":"avg"}}}},"filter":{"and":{"filters":[{"terms":{"__elementType":["vertex"]}},{"authorizations":["ontology"]}]}}}},"functions":[{"script_score":{"script":"_score * sqrt( 1 + (inEdgeMultiplier * doc['__inEdgeCount'].value
org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[OjMqxS-hRv6P2mL2qwCJHg][securegraph][0]: SearchParseException[[securegraph][0]: from[0],size[10000]: Parse Failure [Failed to parse source [{"from":0,"size":10000,"query":{"function_score":{"query":{"filtered":{"query":{"bool":{"must":{"has_child":{"query":{"filtered":{"query":{"match_all":{}},"filter":{"and":{"filters":[{"authorizations":["ontology"]},{"term":{" http://lumify.io#conceptType_exactMatch":"concept"}}]}}}},"child_type":"property","score_type":"avg"}}}},"filter":{"and":{"filters":[{"terms":{"__elementType":["vertex"]}},{"authorizations":["ontology"]}]}}}},"functions":[{"script_score":{"script":"_score * sqrt( 1 + (inEdgeMultiplier * doc['__inEdgeCount'].value) + (outEdgeMultiplier * doc['__outEdgeCount'].value) )","lang":"groovy","params":{"outEdgeMultiplier":1.1,"inEdgeMultiplier":1.2}}}]}}}]]]; nested: QueryParsingException[[securegraph] script_score the script could not be loaded]; nested: ScriptException[dynamic scripting for [groovy]
at io.lumify.securegraph.model.ontology.SecureGraphOntologyRepository.(SecureGraphOntologyRepository.java:68)
at io.lumify.securegraph.model.ontology.SecureGraphOntologyRepository.class(SecureGraphOntologyRepository.java:40)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.