org.elasticsearch.search.SearchParseException: [securegraph][1]: 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}}}]}}}]]

Google Groups | Apurv Tiwari | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Elastic securegraph issue with shards

    Stack Overflow | 2 years ago | Tanny
    org.elasticsearch.search.SearchParseException: [securegraph][1]: 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}}}]}}}]]
  2. 0

    All shards failed ? Elasticsearch Error.

    Google Groups | 2 years ago | Apurv Tiwari
    org.elasticsearch.search.SearchParseException: [securegraph][2]: 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}}}]}}}]]
  3. 0

    slash / is escaped with two slashes instead of one, parse failure

    GitHub | 3 years ago | maxgalbu
    org.elasticsearch.search.SearchParseException: [fai][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"query_string":{"query":"gioved\u00ec 3\\\\/7 a","default_operator":"OR"}},"filter":{"or":[{"term":{"tipo":"pagina"}},{"term":{"tipo":"evento"}}]},"highlight":{"pre_tags":["<b>"],"post_tags":["</b>"],"fields":{"nome":{"fragment_size":300,"number_of_fragments":1},"nome_ita":{"fragment_size":300,"number_of_fragments":1},"nome_eng":{"fragment_size":300,"number_of_fragments":1},"testo_ita":{"fragment_size":300,"number_of_fragments":1},"testo_eng":{"fragment_size":300,"number_of_fragments":1}}}}]]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Incremental crawl error

    GitHub | 2 years ago | oneshot-nc
    org.elasticsearch.search.SearchParseException: [webcrawler_index][0]: query[url:http://www.[...].nc/discover/69/],from[0],size[1]: Parse Failure [Failed to parse source [{"from":0,"size":1,"query":{"term":{"url":"http://www.[...].nc//discover/69/"}},"sort":[{"lastModified":{"order":"desc"}}]}]]
  6. 0

    [ES 1.3.2] NullPointerException while parsing hasParent query/filter

    GitHub | 3 years ago | scoro
    org.elasticsearch.search.SearchParseException: [test][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{ "filter": { "has_parent": { "type": "parents", "query": { "query_string": { "query": "*" } } } } } ]]

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.elasticsearch.index.query.QueryParsingException

      [securegraph] No filter registered for [authorizations]

      at org.elasticsearch.index.query.QueryParseContext.parseInnerFilter()
    2. ElasticSearch
      SearchServiceTransportAction$23.run
      1. org.elasticsearch.index.query.QueryParseContext.parseInnerFilter(QueryParseContext.java:347)
      2. org.elasticsearch.index.query.AndFilterParser.parse(AndFilterParser.java:78)
      3. org.elasticsearch.index.query.QueryParseContext.executeFilterParser(QueryParseContext.java:368)
      4. org.elasticsearch.index.query.QueryParseContext.parseInnerFilter(QueryParseContext.java:349)
      5. org.elasticsearch.index.query.FilteredQueryParser.parse(FilteredQueryParser.java:74)
      6. org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:302)
      7. org.elasticsearch.index.query.support.XContentStructure.asQuery(XContentStructure.java:93)
      8. org.elasticsearch.index.query.support.XContentStructure$InnerQuery.asQuery(XContentStructure.java:155)
      9. org.elasticsearch.index.query.HasChildQueryParser.parse(HasChildQueryParser.java:133)
      10. org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:302)
      11. org.elasticsearch.index.query.BoolQueryParser.parse(BoolQueryParser.java:73)
      12. org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:302)
      13. org.elasticsearch.index.query.FilteredQueryParser.parse(FilteredQueryParser.java:71)
      14. org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:302)
      15. org.elasticsearch.index.query.functionscore.FunctionScoreQueryParser.parse(FunctionScoreQueryParser.java:104)
      16. org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:302)
      17. org.elasticsearch.index.query.IndexQueryParserService.innerParse(IndexQueryParserService.java:382)
      18. org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:281)
      19. org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:276)
      20. org.elasticsearch.search.query.QueryParseElement.parse(QueryParseElement.java:33)
      21. org.elasticsearch.search.SearchService.parseSource(SearchService.java:705)
      22. org.elasticsearch.search.SearchService.createContext(SearchService.java:557)
      23. org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:529)
      24. org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:291)
      25. org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)
      26. org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)
      27. org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)
      27 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames