org.elasticsearch.search.SearchParseException: [aleph][4]: from[0],size[-1],sort[<custom:"updated_at": org.elasticsearch.index.fielddata.fieldcomparator.LongValuesComparatorSource@56acf987>!,<custom:"created_at": org.elasticsearch.index.fielddata.fieldcomparator.LongValuesComparatorSource@92f95dd>!,<score>]: Parse Failure [Failed to parse source [{"sort": [{"updated_at": "desc"}, {"created_at": "desc"}, "_score"], "from": 0, "_source": ["collection_id", "title", "file_name", "extension", "languages", "countries", "source_url", "created_at", "updated_at", "type", "summary", "source_collection_id"], "aggregations": {"entities": {"aggs": {"inner": {"filter": {"bool": {"must": [{"terms": {"entities.collection_id": [1, 9]}}]}}, "aggs": {"entities": {"terms": {"field": "entities.id", "size": 50}}}}}, "nested": {"path": "entities"}}, "scoped": {"global": {}, "aggs": {"collections": {"filter": {"query": {"filtered": {"filter": {"bool": {"must": [{"terms": {"collection_id": [1, 9]}}]}}, "query": {"match_all": {}}}}}, "aggs": {"collections": {"terms": {"field": "collection_id", "size": 1000}}}}}}}, "query": {"filtered": {"filter": {"bool": {"must": [{"terms": {"collection_id": [1, 9]}}, {"terms": {"collection_id": ["{{crawler.collection.id}}"]}}]}}, "query": {"match_all": {}}}}, "size": 20}]]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,

You try to parse a String that contains non-numeric characters to an int. The string must contain decimal characters only, optionally beginning with a + or - sign.

,

Java does not handle IPv6 nameservers before 1.8.0_60. Upgrade to the latest JVM.

Solutions on the web

via GitHub by jbothma
, 7 months ago
@92f95dd>!,<score>]: Parse Failure [Failed to parse source [{"sort": [{"updated_at": "desc"}, {"created_at": "desc"}, "_score"], "from": 0, "_source": ["collection_id", "title", "file_name", "extension", "languages", "countries", "source_url", "created_at
via GitHub by jbothma
, 1 year ago
[aleph][3]: from[0],size[-1]: Parse Failure [Failed to parse source [{"sort": ["_score"], "from": 0, "_source": ["collection_id", "title", "fi le_name", "extension", "languages", "countries", "source_url", "created_at", "updated_at", "type
via GitHub by Nurza
, 2 years ago
:"@timestamp": org.elasticsearch.index.fielddata.fieldcomparator.LongValuesComparatorSource@51d592b6>!]: Parse Failure [Failed to parse source [{"query":{"filtered":{"query":{"query_string":{"analyze_wildcard":true,"query":"*"}},"filter":{"bool":{"must
via GitHub by slimm609
, 1 year ago
[packetbeat-2015.06.08][0]: from[-1],size[0]: Parse Failure [Failed to parse source [{"size":0,"aggs":{"2":{"date_histogram":{"field":"timestamp","interval":"0ms","pre_zone":"-04:00","pre_zone_adjust_large_interval":true,"min_doc_count":1
via GitHub by rsmitty
, 1 year ago
[events_2016-04-05][0]: from[-1],size[-1]: Parse Failure [Failed to parse source [{"sort": ["id"], "query": {"range": {"timestamp": {"gte": 1460491813763, "lte": 1460495413763}}}, "from": 0, "aggs": {"field_names": {"terms": {"field": "_field_names
via GitHub by austinhquinn
, 2 years ago
[logstash-2015.02.21][1]: from[-1],size[478]: Parse Failure [Failed to parse source [{"size":478,"sort":{"@timestamp":"desc"},"query":{"filtered":{"query":{"query_string":{"query":"\"Error reaching API server\"","analyze_wildcard":true}},"filter
org.elasticsearch.search.SearchParseException: [aleph][4]: from[0],size[-1],sort[<custom:"updated_at": org.elasticsearch.index.fielddata.fieldcomparator.LongValuesComparatorSource@56acf987>!,<custom:"created_at": org.elasticsearch.index.fielddata.fieldcomparator.LongValuesComparatorSource@92f95dd>!,<score>]: Parse Failure [Failed to parse source [{"sort": [{"updated_at": "desc"}, {"created_at": "desc"}, "_score"], "from": 0, "_source": ["collection_id", "title", "file_name", "extension", "languages", "countries", "source_url", "created_at", "updated_at", "type", "summary", "source_collection_id"], "aggregations": {"entities": {"aggs": {"inner": {"filter": {"bool": {"must": [{"terms": {"entities.collection_id": [1, 9]}}]}}, "aggs": {"entities": {"terms": {"field": "entities.id", "size": 50}}}}}, "nested": {"path": "entities"}}, "scoped": {"global": {}, "aggs": {"collections": {"filter": {"query": {"filtered": {"filter": {"bool": {"must": [{"terms": {"collection_id": [1, 9]}}]}}, "query": {"match_all": {}}}}}, "aggs": {"collections": {"terms": {"field": "collection_id", "size": 1000}}}}}}}, "query": {"filtered": {"filter": {"bool": {"must": [{"terms": {"collection_id": [1, 9]}}, {"terms": {"collection_id": ["{{crawler.collection.id}}"]}}]}}, "query": {"match_all": {}}}}, "size": 20}]]
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:580)
at java.lang.Integer.parseInt(Integer.java:615)
at org.elasticsearch.index.mapper.core.IntegerFieldMapper.parseValue(IntegerFieldMapper.java:180)
at org.elasticsearch.index.mapper.core.IntegerFieldMapper.indexedValueForSearch(IntegerFieldMapper.java:171)
at org.elasticsearch.index.mapper.core.AbstractFieldMapper.termFilter(AbstractFieldMapper.java:469)
at org.elasticsearch.index.mapper.core.NumberFieldMapper.termFilter(NumberFieldMapper.java:286)
at org.elasticsearch.index.mapper.core.AbstractFieldMapper.termsFilter(AbstractFieldMapper.java:482)
at org.elasticsearch.index.query.TermsFilterParser.parse(TermsFilterParser.java:202)
at org.elasticsearch.index.query.QueryParseContext.executeFilterParser(QueryParseContext.java:373)
at org.elasticsearch.index.query.QueryParseContext.parseInnerFilter(QueryParseContext.java:354)
at org.elasticsearch.index.query.BoolFilterParser.parse(BoolFilterParser.java:92)
at org.elasticsearch.index.query.QueryParseContext.executeFilterParser(QueryParseContext.java:373)
at org.elasticsearch.index.query.QueryParseContext.parseInnerFilter(QueryParseContext.java:354)
at org.elasticsearch.index.query.FilteredQueryParser.parse(FilteredQueryParser.java:74)
at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:307)
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)

Users with the same issue

Once, 1 day ago
2 times, 2 weeks ago
Samebug visitor profile picture
Unknown user
Once, 4 weeks ago
2 times, 1 month ago
Once, 1 month ago
266 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.