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]

Solutions on the web117

  • via Google Groups by Unknown author, 6 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, 6 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
  • 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
  • Stack trace

    • 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.<init>(SecureGraphOntologyRepository.java:68) at io.lumify.securegraph.model.ontology.SecureGraphOntologyRepository.class(SecureGraphOntologyRepository.java:40)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    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.