Skip to content

Instantly share code, notes, and snippets.

@lonvia
Created May 17, 2014 13:21
Show Gist options
  • Save lonvia/7ba38c6e1d707f6e29eb to your computer and use it in GitHub Desktop.
Save lonvia/7ba38c6e1d707f6e29eb to your computer and use it in GitHub Desktop.
File "/usr/local/lib/python2.7/dist-packages/elasticsearch/connection/base.py", line 83, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
RequestError: TransportError(400, u'SearchPhaseExecutionException[Failed to execute phase [query], all shards failed; shardFailures {[JuVagMu2SGycZc07ccKBQA][photon][1]: SearchParseException[[photon][1]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query": {"filtered": {"filter": {"or": {"filters": [{"missing": {"field": "housenumber"}}, {"query": {"match": {"housenumber": {"query": "base", "analyzer": "standard"}}}}, {"exists": {"field": "name.default"}}]}}, "query": {"function_score": {"query": {"dis_max": {"queries": [{"match": {"collector.en": {"operator": "and", "query": "base", "fuzziness": 2, "analyzer": "raw_stringanalyser"}}}, {"match": {"collector.en.raw": {"operator": "and", "query": "base", "boost": 1.6, "analyzer": "raw_stringanalyser", "fuzziness": 2}}}]}}, "score_mode": "multiply", "functions": [{"exp": {"coordinate": {"origin": "52.387900, 13.058200", "scale": "2km"}}}]}}}}, "size": 5}]]]; nested: QueryParsingException[[photon] [match] analyzer [raw_stringanalyser] not found]; }{[JuVagMu2SGycZc07ccKBQA][photon][0]: SearchParseException[[photon][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query": {"filtered": {"filter": {"or": {"filters": [{"missing": {"field": "housenumber"}}, {"query": {"match": {"housenumber": {"query": "base", "analyzer": "standard"}}}}, {"exists": {"field": "name.default"}}]}}, "query": {"function_score": {"query": {"dis_max": {"queries": [{"match": {"collector.en": {"operator": "and", "query": "base", "fuzziness": 2, "analyzer": "raw_stringanalyser"}}}, {"match": {"collector.en.raw": {"operator": "and", "query": "base", "boost": 1.6, "analyzer": "raw_stringanalyser", "fuzziness": 2}}}]}}, "score_mode": "multiply", "functions": [{"exp": {"coordinate": {"origin": "52.387900, 13.058200", "scale": "2km"}}}]}}}}, "size": 5}]]]; nested: QueryParsingException[[photon] [match] analyzer [raw_stringanalyser] not found]; }{[JuVagMu2SGycZc07ccKBQA][photon][3]: SearchParseException[[photon][3]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query": {"filtered": {"filter": {"or": {"filters": [{"missing": {"field": "housenumber"}}, {"query": {"match": {"housenumber": {"query": "base", "analyzer": "standard"}}}}, {"exists": {"field": "name.default"}}]}}, "query": {"function_score": {"query": {"dis_max": {"queries": [{"match": {"collector.en": {"operator": "and", "query": "base", "fuzziness": 2, "analyzer": "raw_stringanalyser"}}}, {"match": {"collector.en.raw": {"operator": "and", "query": "base", "boost": 1.6, "analyzer": "raw_stringanalyser", "fuzziness": 2}}}]}}, "score_mode": "multiply", "functions": [{"exp": {"coordinate": {"origin": "52.387900, 13.058200", "scale": "2km"}}}]}}}}, "size": 5}]]]; nested: QueryParsingException[[photon] [match] analyzer [raw_stringanalyser] not found]; }{[JuVagMu2SGycZc07ccKBQA][photon][2]: SearchParseException[[photon][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query": {"filtered": {"filter": {"or": {"filters": [{"missing": {"field": "housenumber"}}, {"query": {"match": {"housenumber": {"query": "base", "analyzer": "standard"}}}}, {"exists": {"field": "name.default"}}]}}, "query": {"function_score": {"query": {"dis_max": {"queries": [{"match": {"collector.en": {"operator": "and", "query": "base", "fuzziness": 2, "analyzer": "raw_stringanalyser"}}}, {"match": {"collector.en.raw": {"operator": "and", "query": "base", "boost": 1.6, "analyzer": "raw_stringanalyser", "fuzziness": 2}}}]}}, "score_mode": "multiply", "functions": [{"exp": {"coordinate": {"origin": "52.387900, 13.058200", "scale": "2km"}}}]}}}}, "size": 5}]]]; nested: QueryParsingException[[photon] [match] analyzer [raw_stringanalyser] not found]; }{[JuVagMu2SGycZc07ccKBQA][photon][4]: SearchParseException[[photon][4]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"query": {"filtered": {"filter": {"or": {"filters": [{"missing": {"field": "housenumber"}}, {"query": {"match": {"housenumber": {"query": "base", "analyzer": "standard"}}}}, {"exists": {"field": "name.default"}}]}}, "query": {"function_score": {"query": {"dis_max": {"queries": [{"match": {"collector.en": {"operator": "and", "query": "base", "fuzziness": 2, "analyzer": "raw_stringanalyser"}}}, {"match": {"collector.en.raw": {"operator": "and", "query": "base", "boost": 1.6, "analyzer": "raw_stringanalyser", "fuzziness": 2}}}]}}, "score_mode": "multiply", "functions": [{"exp": {"coordinate": {"origin": "52.387900, 13.058200", "scale": "2km"}}}]}}}}, "size": 5}]]]; nested: QueryParsingException[[photon] [match] analyzer [raw_stringanalyser] not found]; }]')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment