org.elasticsearch.search.SearchParseException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • GitHub comment 139#238012438
    via GitHub by konklone
    ,
    • org.elasticsearch.search.SearchParseException: [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", "summary", "source_collection_id"], "aggregations": {"entities": {"aggs": {"inner": {"filt er": {"bool": {"must": [{"terms": {"entities.collection_id": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]}}]}}, "aggs": {"entities": {"terms": {"field": "entities.id", "size": 50}}}}}, "nest ed": {"path": "entities"}}, "scoped": {"global": {}, "aggs": {"collections": {"filter": {"query": {"filtered": {"filter": {"bool": {"must": [{"terms": {"collection_id": [1, 2, 3, 4, 5, 6, 7 , 8, 9, 10, 11, 12, 13]}}]}}, "query": {"bool": {"minimum_should_match": 1, "should": [{"query_string": {"use_dis_max": true, "query": "(36/2005): Explanatory Memorandum on", "default_opera tor": "AND", "fields": ["title^15", "file_name", "summary^10", "title_latin^12", "summary_latin^8"]}}, {"has_child": {"query": {"bool": {"should": [{"query_string": {"use_dis_max": true, "q uery": "(36/2005): Explanatory Memorandum on", "default_operator": "AND", "fields": ["text^6", "text_latin^2"]}}]}}, "type": "record"}}]}}}}}, "aggs": {"collections": {"terms": {"field": "c ollection_id", "size": 1000}}}}}}}, "query": {"filtered": {"filter": {"bool": {"must": [{"terms": {"collection_id": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13]}}]}}, "query": {"bool": {"min imum_should_match": 1, "should": [{"query_string": {"use_dis_max": true, "query": "(36/2005): Explanatory Memorandum on", "default_operator": "AND", "fields": ["title^15", "file_name", "sum mary^10", "title_latin^12", "summary_latin^8"]}}, {"has_child": {"query": {"bool": {"should": [{"query_string": {"use_dis_max": true, "query": "(36/2005): Explanatory Memorandum on", "defau lt_operator": "AND", "fields": ["text^6", "text_latin^2"]}}]}}, "type": "record"}}]}}}}, "size": 20}]] at org.elasticsearch.search.SearchService.parseSource(SearchService.java:747) at org.elasticsearch.search.SearchService.createContext(SearchService.java:572) at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:544) at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:306) at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231) at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228) at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.elasticsearch.index.query.QueryParsingException: [aleph] Failed to parse query [(36/2005): Explanatory Memorandum on] at org.elasticsearch.index.query.QueryStringQueryParser.parse(QueryStringQueryParser.java:250) at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:307) at org.elasticsearch.index.query.BoolQueryParser.parse(BoolQueryParser.java:107) at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:307) at org.elasticsearch.index.query.FilteredQueryParser.parse(FilteredQueryParser.java:71) at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:307) at org.elasticsearch.index.query.QueryFilterParser.parse(QueryFilterParser.java:47) 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.IndexQueryParserService.parseInnerFilter(IndexQueryParserService.java:295) at org.elasticsearch.search.aggregations.bucket.filter.FilterParser.parse(FilterParser.java:42) at org.elasticsearch.search.aggregations.AggregatorParsers.parseAggregators(AggregatorParsers.java:148) at org.elasticsearch.search.aggregations.AggregatorParsers.parseAggregators(AggregatorParsers.java:138)
    No Bugmate found.