org.elasticsearch.search.SearchParseException

[securegraph][4]: 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}}}]}}}]]

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11

  • via Stack Overflow by Tanny
    ,
  • via Unknown by Apurv Tiwari,
  • via GitHub by ppf2
    ,
  • Stack trace

    • org.elasticsearch.search.SearchParseException: [securegraph][4]: 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}}}]}}}]] at org.elasticsearch.search.SearchService.parseSource(SearchService.java:721) at org.elasticsearch.search.SearchService.createContext(SearchService.java:557) at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:529) at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:291) at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231) at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228) at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: org.elasticsearch.index.query.QueryParsingException: [securegraph] No filter registered for [authorizations] at org.elasticsearch.index.query.QueryParseContext.parseInnerFilter(QueryParseContext.java:347) at org.elasticsearch.index.query.AndFilterParser.parse(AndFilterParser.java:78) at org.elasticsearch.index.query.QueryParseContext.executeFilterParser(QueryParseContext.java:368) at org.elasticsearch.index.query.QueryParseContext.parseInnerFilter(QueryParseContext.java:349) at org.elasticsearch.index.query.FilteredQueryParser.parse(FilteredQueryParser.java:74) at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:302) at org.elasticsearch.index.query.support.XContentStructure.asQuery(XContentStructure.java:93) at org.elasticsearch.index.query.support.XContentStructure$InnerQuery.asQuery(XContentStructure.java:155) at org.elasticsearch.index.query.HasChildQueryParser.parse(HasChildQueryParser.java:133) at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:302) at org.elasticsearch.index.query.BoolQueryParser.parse(BoolQueryParser.java:73) at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:302) at org.elasticsearch.index.query.FilteredQueryParser.parse(FilteredQueryParser.java:71) at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:302) at org.elasticsearch.index.query.functionscore.FunctionScoreQueryParser.parse(FunctionScoreQueryParser.java:104) at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:302) at org.elasticsearch.index.query.IndexQueryParserService.innerParse(IndexQueryParserService.java:382) at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:281) at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:276) at org.elasticsearch.search.query.QueryParseElement.parse(QueryParseElement.java:33) at org.elasticsearch.search.SearchService.parseSource(SearchService.java:705) ... 9 more

    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

    We couldn't find other users who have seen this exception.