Skip to content

Instantly share code, notes, and snippets.

@nicomen
Created November 21, 2012 10:50
Show Gist options
  • Save nicomen/4124262 to your computer and use it in GitHub Desktop.
Save nicomen/4124262 to your computer and use it in GitHub Desktop.
[ERROR] ** ElasticSearch::Error::Request at /usr/local/share/perl/5.14.2/ElasticSearch/Transport/HTTPLite.pm line 69 :
11:41 < nicomen> SearchPhaseExecutionException[Failed to execute phase [query], total failure; shardFailures {[qP7iDYE4TwK1rrZvcNPOKA][bazaar][2]: SearchParseException[[bazaar][2]: from[0],size[-1],sort[<custom:"registered":
org.elasticsearch.index.field.data.longs.LongFieldDataType$1@5f896b8d>!]: Parse Failure [Failed to parse source [{"sort":[{"registered":"desc"}],"filter":{"term":{"main_location.name":"Dhaka
City"}},"from":0,"facets":{"main_location_facet":{"terms":{"size":1500,"field":"main_location.name"}},"categories_facet":{"terms":{"size":1500,"field":"category_path"}},"sub_location_facet":{"terms":{"size":1500,"field":"sub_location.name"}},"negotiable_facet":{"filter":{"and":[{"term":{"price_low":0}},{"term":{"price":0}}]}},"price_facet":{"range":{"ranges":[{"to":200000},{"to":500000,"from":200000},{"to":1000000,"from":500000},{"to":1500000,"from":1000000},{"from":1500000}],"field":"price"}}},"size":25}]]]; nested: FacetPhaseExecutionException[Facet [price_facet]: No mapping found for key_field [price]]; }{[qP7iDYE4TwK1rrZvcNPOKA][bazaar][4]: SearchParseException[[bazaar][4]:
from[0],size[-1],sort[<custom:"registered": org.elasticsearch.index.field.data.longs.LongFieldDataType$1@41da8bfe>!]: Parse Failure [Failed to parse source
[{"sort":[{"registered":"desc"}],"filter":{"term":{"main_location.name":"Dhaka
City"}},"from":0,"facets":{"main_location_facet":{"terms":{"size":1500,"field":"main_location.name"}},"categories_facet":{"terms":{"size":1500,"field":"category_path"}},"sub_location_facet":{"terms":{"size":1500,"field":"sub_location.name"}},"negotiable_facet":{"filter":{"and":[{"term":{"price_low":0}},{"term":{"price":0}}]}},"price_facet":{"range":{"ranges":[{"to":200000},{"to":500000,"from":200000},{"to":1000000,"from":500000},{"to":1500000,"from":1000000},{"from":1500000}],"field":"price"}}},"size":25}]]]; nested: FacetPhaseExecutionException[Facet [price_facet]: No mapping found for key_field [price]]; }]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment