org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][0]: SearchParseException[[geo_ip][0]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][1]: SearchParseException[[geo_ip][1]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][2]: SearchParseException[[geo_ip][2]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][3]: SearchParseException[[geo_ip][3]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][4]: SearchParseException[[geo_ip][4]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }

Stack Overflow | VanThaoNguyen | 8 months 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

    SearchPhaseExecutionException in elasticsearch

    Stack Overflow | 8 months ago | VanThaoNguyen
    org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][0]: SearchParseException[[geo_ip][0]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][1]: SearchParseException[[geo_ip][1]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][2]: SearchParseException[[geo_ip][2]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][3]: SearchParseException[[geo_ip][3]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][4]: SearchParseException[[geo_ip][4]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }
  2. 0

    How to escape a URL for Elasticsearch?

    Stack Overflow | 1 year ago | Fabian Lurz
    org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query], all shards failed; shardFailures {[9_T8APppReyWKppSNZWmXw][crawlbot][0]: SearchParseException[[crawlbot][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"bool":{"must":[{"query_string":{"query":"http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4","default_field":"article.url"}},{"query_string":{"query":"70","default_field":"job.id"}}]}}}]]]; nested: QueryParsingException[[crawlbot] Failed to parse query [http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4]]; nested: ParseException[Cannot parse 'http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4': Lexical error at line 1, column 111. Encountered: <EOF> after : "/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4"]; nested: TokenMgrError[Lexical error at line 1, column 111. Encountered: <EOF> after : "/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4"]; }{[9_T8APppReyWKppSNZWmXw][crawlbot][1]: SearchParseException[[crawlbot][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"bool":{"must":[{"query_string":{"query":"http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4","default_field":"article.url"}},{"query_string":{"query":"70","default_field":"job.id"}}]}}}]]]; nested: QueryParsingException[[crawlbot] Failed to parse query [http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4]]; nested: ParseException[Cannot parse 'http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4': Lexical error at line 1, column 111. Encountered: <EOF> after : "/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4"]; nested: TokenMgrError[Lexical error at line 1, column 111. Encountered: <EOF> after : "/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4"]; }{[9_T8APppReyWKppSNZWmXw][crawlbot][2]: SearchParseException[[crawlbot][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"bool":{"must":[{"query_string":{"query":"http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4","default_field":"article.url"}},{"query_string":{"query":"70","default_field":"job.id"}}]}}}]]]; nested: QueryParsingException[[crawlbot] Failed to parse query [http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4]]; nested: ParseException[Cannot parse 'http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4': Lexical error at line 1, column 111. Encountered: <EOF> after : "/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4"]; nested: TokenMgrError[Lexical error at line 1, column 111. Encountered: <EOF> after : "/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4"]; }{[9_T8APppReyWKppSNZWmXw][crawlbot][3]: SearchParseException[[crawlbot][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"bool":{"must":[{"query_string":{"query":"http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4","default_field":"article.url"}},{"query_string":{"query":"70","default_field":"job.id"}}]}}}]]]; nested: QueryParsingException[[crawlbot] Failed to parse query [http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4]]; nested: ParseException[Cannot parse 'http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4': Lexical error at line 1, column 111. Encountered: <EOF> after : "/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4"]; nested: TokenMgrError[Lexical error at line 1, column 111. Encountered: <EOF> after : "/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4"]; }{[9_T8APppReyWKppSNZWmXw][crawlbot][4]: SearchParseException[[crawlbot][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query":{"bool":{"must":[{"query_string":{"query":"http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4","default_field":"article.url"}},{"query_string":{"query":"70","default_field":"job.id"}}]}}}]]]; nested: QueryParsingException[[crawlbot] Failed to parse query [http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4]]; nested: ParseException[Cannot parse 'http://www.zeit.de/wirtschaft/2015-11/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4': Lexical error at line 1, column 111. Encountered: <EOF> after : "/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4"]; nested: TokenMgrError[Lexical error at line 1, column 111. Encountered: <EOF> after : "/griechenland-reparationszahlung-bayern-rentner-jahresrueckblick-2?page=4"]; }
  3. 0

    Photon hangs randomly

    GitHub | 1 year ago | gerbsen
    org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[ehDnaztrRT-u0ds5TZ6yFw][photon][0]: QueryPhaseExecutionException[[photon][0]: query[filtered(function score (+((collector.default:osl~1 collector.en.ngrams:osl~1)~1) name.en.raw:osl^200.0 collector.en.raw:osl^100.0, functions: [{filter(*:*), function [script[general-score], params [null]]}{filter(*:*), function [script[location-biased-score], params [{lon=11.0797119140625, lat=60.18386720911798}]]}]))->cache(NotFilter(cache(BooleanFilter(_field_names:housenumber)))) QueryWrapperFilter(housenumber:osl) cache(BooleanFilter(_field_names:name.en.raw))],from[0],size[5]: Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[NullPointerException[null]]; }{[ehDnaztrRT-u0ds5TZ6yFw][photon][1]: QueryPhaseExecutionException[[photon][1]: query[filtered(function score (+((collector.default:osl~1 collector.en.ngrams:osl~1)~1) name.en.raw:osl^200.0 collector.en.raw:osl^100.0, functions: [{filter(*:*), function [script[general-score], params [null]]}{filter(*:*), function [script[location-biased-score], params [{lon=11.0797119140625, lat=60.18386720911798}]]}]))->cache(NotFilter(cache(BooleanFilter(_field_names:housenumber)))) QueryWrapperFilter(housenumber:osl) cache(BooleanFilter(_field_names:name.en.raw))],from[0],size[5]: Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[NullPointerException[null]]; }{[ehDnaztrRT-u0ds5TZ6yFw][photon][2]: QueryPhaseExecutionException[[photon][2]: query[filtered(function score (+((collector.default:osl~1 collector.en.ngrams:osl~1)~1) name.en.raw:osl^200.0 collector.en.raw:osl^100.0, functions: [{filter(*:*), function [script[general-score], params [null]]}{filter(*:*), function [script[location-biased-score], params [{lon=11.0797119140625, lat=60.18386720911798}]]}]))->cache(NotFilter(cache(BooleanFilter(_field_names:housenumber)))) QueryWrapperFilter(housenumber:osl) cache(BooleanFilter(_field_names:name.en.raw))],from[0],size[5]: Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[NullPointerException[null]]; }{[ehDnaztrRT-u0ds5TZ6yFw][photon][3]: QueryPhaseExecutionException[[photon][3]: query[filtered(function score (+((collector.default:osl~1 collector.en.ngrams:osl~1)~1) name.en.raw:osl^200.0 collector.en.raw:osl^100.0, functions: [{filter(*:*), function [script[general-score], params [null]]}{filter(*:*), function [script[location-biased-score], params [{lon=11.0797119140625, lat=60.18386720911798}]]}]))->cache(NotFilter(cache(BooleanFilter(_field_names:housenumber)))) QueryWrapperFilter(housenumber:osl) cache(BooleanFilter(_field_names:name.en.raw))],from[0],size[5]: Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[NullPointerException[null]]; }{[ehDnaztrRT-u0ds5TZ6yFw][photon][4]: QueryPhaseExecutionException[[photon][4]: query[filtered(function score (+((collector.default:osl~1 collector.en.ngrams:osl~1)~1) name.en.raw:osl^200.0 collector.en.raw:osl^100.0, functions: [{filter(*:*), function [script[general-score], params [null]]}{filter(*:*), function [script[location-biased-score], params [{lon=11.0797119140625, lat=60.18386720911798}]]}]))->cache(NotFilter(cache(BooleanFilter(_field_names:housenumber)))) QueryWrapperFilter(housenumber:osl) cache(BooleanFilter(_field_names:name.en.raw))],from[0],size[5]: Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[NullPointerException[null]]; }
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GroovyScriptExecutionException NullPointerException for q=sta and lat/lon

    GitHub | 1 year ago | karussell
    org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query_fetch], all shards failed; shardFailures {[yj72RYXES0eHbNYEWLbyXQ][photon][0]: QueryPhaseExecutionException[[photon][0]: query[filtered(function score (+((collector.default:sta~1 collector.de.ngrams:sta~1)~1) name.de.raw:sta^200.0 collector.de.raw:sta^100.0, functions: [{filter(*:*), function [script[1 + doc['importance'].value * 100], params [null]]}{filter(*:*), function [script[dist = doc['coordinate'].distanceInKm(lat, lon); 2 / (1.0 + dist / 40.0)], params [{lon=125.395057, lat=6.786715}]]}]))->cache(NotFilter(cache(BooleanFilter(_field_names:housenumber)))) QueryWrapperFilter(housenumber:sta) cache(BooleanFilter(_field_names:name.de.raw))],from[0],size[6]: Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[NullPointerException[null]]; }{[yj72RYXES0eHbNYEWLbyXQ][photon][1]: QueryPhaseExecutionException[[photon][1]: query[filtered(function score (+((collector.default:sta~1 collector.de.ngrams:sta~1)~1) name.de.raw:sta^200.0 collector.de.raw:sta^100.0, functions: [{filter(*:*), function [script[1 + doc['importance'].value * 100], params [null]]}{filter(*:*), function [script[dist = doc['coordinate'].distanceInKm(lat, lon); 2 / (1.0 + dist / 40.0)], params [{lon=125.395057, lat=6.786715}]]}]))->cache(NotFilter(cache(BooleanFilter(_field_names:housenumber)))) QueryWrapperFilter(housenumber:sta) cache(BooleanFilter(_field_names:name.de.raw))],from[0],size[6]: Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[NullPointerException[null]]; }{[yj72RYXES0eHbNYEWLbyXQ][photon][2]: QueryPhaseExecutionException[[photon][2]: query[filtered(function score (+((collector.default:sta~1 collector.de.ngrams:sta~1)~1) name.de.raw:sta^200.0 collector.de.raw:sta^100.0, functions: [{filter(*:*), function [script[1 + doc['importance'].value * 100], params [null]]}{filter(*:*), function [script[dist = doc['coordinate'].distanceInKm(lat, lon); 2 / (1.0 + dist / 40.0)], params [{lon=125.395057, lat=6.786715}]]}]))->cache(NotFilter(cache(BooleanFilter(_field_names:housenumber)))) QueryWrapperFilter(housenumber:sta) cache(BooleanFilter(_field_names:name.de.raw))],from[0],size[6]: Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[NullPointerException[null]]; }{[yj72RYXES0eHbNYEWLbyXQ][photon][3]: QueryPhaseExecutionException[[photon][3]: query[filtered(function score (+((collector.default:sta~1 collector.de.ngrams:sta~1)~1) name.de.raw:sta^200.0 collector.de.raw:sta^100.0, functions: [{filter(*:*), function [script[1 + doc['importance'].value * 100], params [null]]}{filter(*:*), function [script[dist = doc['coordinate'].distanceInKm(lat, lon); 2 / (1.0 + dist / 40.0)], params [{lon=125.395057, lat=6.786715}]]}]))->cache(NotFilter(cache(BooleanFilter(_field_names:housenumber)))) QueryWrapperFilter(housenumber:sta) cache(BooleanFilter(_field_names:name.de.raw))],from[0],size[6]: Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[NullPointerException[null]]; }{[yj72RYXES0eHbNYEWLbyXQ][photon][4]: QueryPhaseExecutionException[[photon][4]: query[filtered(function score (+((collector.default:sta~1 collector.de.ngrams:sta~1)~1) name.de.raw:sta^200.0 collector.de.raw:sta^100.0, functions: [{filter(*:*), function [script[1 + doc['importance'].value * 100], params [null]]}{filter(*:*), function [script[dist = doc['coordinate'].distanceInKm(lat, lon); 2 / (1.0 + dist / 40.0)], params [{lon=125.395057, lat=6.786715}]]}]))->cache(NotFilter(cache(BooleanFilter(_field_names:housenumber)))) QueryWrapperFilter(housenumber:sta) cache(BooleanFilter(_field_names:name.de.raw))],from[0],size[6]: Query Failed [Failed to execute main query]]; nested: GroovyScriptExecutionException[NullPointerException[null]]; }
  6. 0

    Cannot open the wizard in dataexplorer

    GitHub | 8 months ago | marieke-bijlsma
    org.elasticsearch.action.search.SearchPhaseExecutionException: Failed to execute phase [query], all shards failed; shardFailures {[-U_dwoYCQ0ygrFCHmn06zw][molgenis][0]: SearchParseException[[molgenis][0]: from[0],size[100]: Parse Failure [Failed to parse source [{"from":0,"size":100,"sort":[{"size.raw":{"order":"asc","mode":"min"}}]}]]]; nested: QueryParsingException[[molgenis] [nested] failed to find nested object under path [size]]; }

    9 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.action.search.SearchPhaseExecutionException

      Failed to execute phase [query_fetch], all shards failed; shardFailures {[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][0]: SearchParseException[[geo_ip][0]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][1]: SearchParseException[[geo_ip][1]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][2]: SearchParseException[[geo_ip][2]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][3]: SearchParseException[[geo_ip][3]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }{[uVH-OgzjQfuUV8Bg_nViHQ][geo_ip][4]: SearchParseException[[geo_ip][4]: from[0],size[60]: Parse Failure [Failed to parse source [{"from":0,"size":60,"query":{"country":"Turkey"},"explain":true}]]]; nested: QueryParsingException[[geo_ip] [_na] query malformed, no field after start_object]; }

      at org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult()
    2. ElasticSearch
      SearchServiceTransportAction$23.run
      1. org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction.onFirstPhaseResult(TransportSearchTypeAction.java:237)
      2. org.elasticsearch.action.search.type.TransportSearchTypeAction$BaseAsyncAction$1.onFailure(TransportSearchTypeAction.java:183)
      3. org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:565)
      3 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames