handsome-football-66174
10/08/2021, 1:52 PMSuppressed: org.elasticsearch.client.ResponseException: method [POST], host [<hostname>:443], URI [/demo_datahub_usage_event/_search?typed_keys=true&max_concurrent_shard_requests=5&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=query_then_fetch&batched_reduce_size=512&ccs_minimize_roundtrips=true], status line [HTTP/1.1 400 Bad Request]
Copy code{ "error": { "root_cause": [ { "type": "illegal_argument_exception", "reason": "Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [browserId] in order to load field data by uninverting the inverted index. Note that this can use significant memory." } ], "type": "search_phase_execution_exception", "reason": "all shards failed", "phase": "query", "grouped": true, "failed_shards": [ { "shard": 0, "index": "demo_datahub_usage_event", "node": "abc", "reason": { "type": "illegal_argument_exception", "reason": "Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [browserId] in order to load field data by uninverting the inverted index. Note that this can use significant memory." } } ], "caused_by": { "type": "illegal_argument_exception", "reason": "Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [browserId] in order to load field data by uninverting the inverted index. Note that this can use significant memory.", "caused_by": { "type": "illegal_argument_exception", "reason": "Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [browserId] in order to load field data by uninverting the inverted index. Note that this can use significant memory." } } }, "status": 400 }
at org.elasticsearch.client.RestClient.convertResponse(RestClient.java:302)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:272)
at org.elasticsearch.client.RestClient.performRequest(RestClient.java:246)
at org.elasticsearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1613)
... 21 common frames omitted
Caused by: org.elasticsearch.ElasticsearchException: Elasticsearch exception [type=illegal_argument_exception, reason=Text fields are not optimised for operations that require per-document field data like aggregations and sorting, so these operations are disabled by default. Please use a keyword field instead. Alternatively, set fielddata=true on [browserId] in order to load field data by uninverting the inverted index. Note that this can use significant memory.]
at org.elasticsearch.ElasticsearchException.innerFromXContent(ElasticsearchException.java:496)
at org.elasticsearch.ElasticsearchException.fromXContent(ElasticsearchException.java:407)
at org.elasticsearch.ElasticsearchException.innerFromXContent(ElasticsearchException.java:437)
at org.elasticsearch.ElasticsearchException.failureFromXContent(ElasticsearchException.java:603)
at org.elasticsearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:179)
... 24 common frames omitted
early-lamp-41924
10/08/2021, 4:45 PMhandsome-football-66174
10/08/2021, 6:53 PMelasticsearchSetupJob:
enabled: true
image:
repository: imagename
tag: "v0.8.14"
extraEnvs:
- name: USE_AWS_ELASTICSEARCH
value: "true"
And under globals
elasticsearch:
host: "<vpchostname>"
port: "443"
indexPrefix: demo
useSSL: "true"
early-lamp-41924
10/08/2021, 6:56 PMhandsome-football-66174
10/08/2021, 8:38 PMhandsome-football-66174
10/08/2021, 8:45 PMearly-lamp-41924
10/08/2021, 8:48 PMearly-lamp-41924
10/08/2021, 8:48 PMearly-lamp-41924
10/08/2021, 8:48 PMearly-lamp-41924
10/08/2021, 8:49 PMearly-lamp-41924
10/08/2021, 8:49 PMhandsome-football-66174
10/08/2021, 8:51 PMearly-lamp-41924
10/08/2021, 8:51 PMhandsome-football-66174
10/08/2021, 8:51 PMearly-lamp-41924
10/08/2021, 8:51 PMhandsome-football-66174
10/08/2021, 8:52 PMearly-lamp-41924
10/08/2021, 8:52 PMearly-lamp-41924
10/08/2021, 8:52 PMearly-lamp-41924
10/08/2021, 8:52 PMearly-lamp-41924
10/08/2021, 8:53 PMhandsome-football-66174
10/08/2021, 8:54 PMelasticsearch:
host: "<hostname>"
port: "443"
#indexPrefix: demo
useSSL: "true"
Yes commented out.early-lamp-41924
10/08/2021, 8:54 PMhandsome-football-66174
10/08/2021, 9:17 PMearly-lamp-41924
10/08/2021, 9:40 PM