Last active
September 7, 2020 14:06
-
-
Save CoderMChu/bbc86329b101dc20616420ed37834da0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
org.springframework.data.elasticsearch.UncategorizedElasticsearchException: Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]; nested exception is ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]]org.springframework.data.elasticsearch.UncategorizedElasticsearchException: Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]; nested exception is ElasticsearchStatusException[Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed]] at org.springframework.data.elasticsearch.core.ElasticsearchExceptionTranslator.translateExceptionIfPossible(ElasticsearchExceptionTranslator.java:67) at org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.translateException(ElasticsearchRestTemplate.java:402) at org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.execute(ElasticsearchRestTemplate.java:385) at org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.searchScrollStart(ElasticsearchRestTemplate.java:308) at org.springframework.data.elasticsearch.core.AbstractElasticsearchTemplate.searchForStream(AbstractElasticsearchTemplate.java:266) at org.springframework.data.elasticsearch.core.AbstractElasticsearchTemplate.searchForStream(AbstractElasticsearchTemplate.java:253) at org.snomed.snowstorm.core.data.services.QueryService.doSearchForIds(QueryService.java:179) at org.snomed.snowstorm.core.data.services.QueryService.search(QueryService.java:87) at org.snomed.snowstorm.rest.ConceptController.findConcepts(ConceptController.java:148) at org.snomed.snowstorm.rest.ConceptController.search(ConceptController.java:171) at org.snomed.snowstorm.rest.ConceptController$$FastClassBySpringCGLIB$$18d8a45e.invoke(<generated>) at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:687) at org.snomed.snowstorm.rest.ConceptController$$EnhancerBySpringCGLIB$$b1bb429.search(<generated>)Caused by: org.elasticsearch.ElasticsearchStatusException: Elasticsearch exception [type=search_phase_execution_exception, reason=all shards failed] at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:177) at org.elasticsearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:1888) at org.elasticsearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:1865) at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1622) at org.elasticsearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1579) at org.elasticsearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1549) at org.elasticsearch.client.RestHighLevelClient.search(RestHighLevelClient.java:1065) at org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.lambda$searchScrollStart$13(ElasticsearchRestTemplate.java:308) at org.springframework.data.elasticsearch.core.ElasticsearchRestTemplate.execute(ElasticsearchRestTemplate.java:383) ... 123 common frames omitted Suppressed: org.elasticsearch.client.ResponseException: method [POST], host https://search-authoring-domain-dxj5ila6ph27iilbdissgnd7tu.us-east-1.es.amazonaws.com, URI [/uat_concept/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&scroll=60000ms&search_type=dfs_query_then_fetch&batched_reduce_size=512&ccs_minimize_roundtrips=true], status line [HTTP/1.1 400 Bad Request]{"error":{"root_cause":[ | |
{"type":"query_shard_exception","reason":"failed to create query: The number of terms [85443] used in the Terms Query request has exceeded the allowed maximum of [65536]. This maximum can be set by changing the [index.max_terms_count] index level setting.","index_uuid":"3YefgjUiQD6a8lnkllFUuw","index":"uat_concept"} | |
],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"uat_concept","node":"JMnoNJshSRmZLqzqxLrFBA","reason":{"type":"query_shard_exception","reason":"failed to create query: The number of terms [85443] used in the Terms Query request has exceeded the allowed maximum of [65536]. This maximum can be set by changing the [index.max_terms_count] index level setting.","index_uuid":"3YefgjUiQD6a8lnkllFUuw","index":"uat_concept","caused_by": | |
{"type":"illegal_argument_exception","reason":"The number of terms [85443] used in the Terms Query request has exceeded the allowed maximum of [65536]. This maximum can be set by changing the [index.max_terms_count] index level setting."} | |
}}]},"status":400} at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:283) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:261) at org.elasticsearch.client.RestClient.performRequest(RestClient.java:235) at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1609) ... 128 common frames omitted |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment