-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from lemoncloud-io/feat/claire-elastic-test
Feat/claire elastic test
- Loading branch information
Showing
19 changed files
with
3,620 additions
and
713 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"!": "es6.2 client info", | ||
"body": { | ||
"name": "N--UCaC", | ||
"cluster_name": "085403634746:lemon-es6", | ||
"cluster_uuid": "phA_p_YjTnW8m_k7ZMvssA", | ||
"version": { | ||
"number": "6.2.3", | ||
"build_hash": "Unknown", | ||
"build_date": "2022-11-01T15:04:25.404730Z", | ||
"build_snapshot": false, | ||
"lucene_version": "7.2.1", | ||
"minimum_wire_compatibility_version": "5.6.0", | ||
"minimum_index_compatibility_version": "5.0.0" | ||
}, | ||
"tagline": "You Know, for Search" | ||
}, | ||
"statusCode": 200, | ||
"headers": { | ||
"date": "Fri, 09 Aug 2024 05:48:15 GMT", | ||
"content-type": "application/json; charset=UTF-8", | ||
"content-length": "444", | ||
"connection": "keep-alive", | ||
"access-control-allow-origin": "*" | ||
}, | ||
"meta": { | ||
"context": null, | ||
"request": { | ||
"params": { | ||
"method": "GET", | ||
"path": "/", | ||
"body": null, | ||
"querystring": "", | ||
"headers": { | ||
"user-agent": "elasticsearch-js/7.12.0 (darwin 23.5.0-arm64; Node.js v18.19.1)", | ||
"x-elastic-client-meta": "es=7.12.0,js=18.19.1,t=7.12.0,hc=18.19.1" | ||
}, | ||
"timeout": 30000 | ||
}, | ||
"options": {}, | ||
"id": 2 | ||
}, | ||
"name": "elasticsearch-js", | ||
"connection": { | ||
"url": "https://localhost:8443/", | ||
"id": "https://localhost:8443/", | ||
"headers": {}, | ||
"deadCount": 0, | ||
"resurrectTimeout": 0, | ||
"_openRequests": 1, | ||
"status": "alive", | ||
"roles": { | ||
"master": true, | ||
"data": true, | ||
"ingest": true, | ||
"ml": false | ||
} | ||
}, | ||
"attempts": 0, | ||
"aborted": false | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"!": "searchAll시 발생하는 429 Too Many Requests 에러 케이스", | ||
"name": "ResponseError", | ||
"meta": { | ||
"body": "429 Too Many Requests /test-v6.2/_doc/_search", | ||
"statusCode": 429, | ||
"headers": { | ||
"date": "Tue, 06 Aug 2024 08:37:36 GMT", | ||
"content-type": "text/plain;charset=ISO-8859-1", | ||
"content-length": "45", | ||
"connection": "keep-alive" | ||
}, | ||
"meta": { | ||
"context": null, | ||
"request": { | ||
"params": { | ||
"method": "POST", | ||
"path": "/test-v6.2/_doc/_search", | ||
"body": "{\"size\":5,\"query\":{\"bool\":{\"filter\":{\"term\":{\"name\":\"data\"}}}},\"aggs\":{\"indexing\":{\"terms\":{\"field\":\"count\"}}},\"sort\":[{\"count\":{\"order\":\"asc\",\"missing\":\"_last\"}}],\"search_after\":[510]}", | ||
"querystring": "", | ||
"headers": { | ||
"user-agent": "elasticsearch-js/7.12.0 (darwin 23.5.0-arm64; Node.js v18.19.1)", | ||
"x-elastic-client-meta": "es=7.12.0,js=18.19.1,t=7.12.0,hc=18.19.1", | ||
"content-type": "application/json", | ||
"content-length": "185" | ||
}, | ||
"timeout": 30000 | ||
}, | ||
"options": {}, | ||
"id": 234 | ||
}, | ||
"name": "elasticsearch-js", | ||
"connection": { | ||
"url": "https://localhost:8443/", | ||
"id": "https://localhost:8443/", | ||
"headers": {}, | ||
"deadCount": 0, | ||
"resurrectTimeout": 0, | ||
"_openRequests": 0, | ||
"status": "alive", | ||
"roles": { | ||
"master": true, | ||
"data": true, | ||
"ingest": true, | ||
"ml": false | ||
} | ||
}, | ||
"attempts": 0, | ||
"aborted": false | ||
} | ||
} | ||
} | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"!": "stinrg_field를 미스매치 타입으로 업데이트 시 발생하는 에러 케이스", | ||
"stack": "ResponseError: mapper_parsing_exception\n at onBody (lemon-core/node_modules/@elastic/elasticsearch/lib/Transport.js:337:23)\n at IncomingMessage.onEnd (/lemon-core/node_modules/@elastic/elasticsearch/lib/Transport.js:264:11)\n at IncomingMessage.emit (node:events:529:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1400:12)\n at processTicksAndRejections (node:internal/process/task_queues:82:21)", | ||
"message": "mapper_parsing_exception", | ||
"name": "ResponseError", | ||
"meta": { | ||
"body": { | ||
"error": { | ||
"root_cause": [ | ||
{ | ||
"type": "mapper_parsing_exception", | ||
"reason": "failed to parse [string_field]" | ||
} | ||
], | ||
"type": "mapper_parsing_exception", | ||
"reason": "failed to parse [string_field]", | ||
"caused_by": { | ||
"type": "illegal_state_exception", | ||
"reason": "Can't get text on a START_OBJECT at 1:17" | ||
} | ||
}, | ||
"status": 400 | ||
}, | ||
"statusCode": 400, | ||
"headers": { | ||
"date": "Mon, 05 Aug 2024 05:56:38 GMT", | ||
"content-type": "application/json; charset=UTF-8", | ||
"content-length": "292", | ||
"connection": "keep-alive", | ||
"access-control-allow-origin": "*" | ||
}, | ||
"meta": { | ||
"context": null, | ||
"request": { | ||
"params": { | ||
"method": "POST", | ||
"path": "/test-v6.2/_doc/A0/_update", | ||
"body": "{\"doc\":{\"string_field\":{}}}", | ||
"querystring": "", | ||
"headers": { | ||
"user-agent": "elasticsearch-js/7.12.0 (darwin 23.5.0-arm64; Node.js v18.19.1)", | ||
"x-elastic-client-meta": "es=7.12.0,js=18.19.1,t=7.12.0,hc=18.19.1", | ||
"content-type": "application/json", | ||
"content-length": "27" | ||
}, | ||
"timeout": 30000 | ||
}, | ||
"options": {}, | ||
"id": 100 | ||
}, | ||
"name": "elasticsearch-js", | ||
"connection": { | ||
"url": "https://localhost:8443/", | ||
"id": "https://localhost:8443/", | ||
"headers": {}, | ||
"deadCount": 0, | ||
"resurrectTimeout": 0, | ||
"_openRequests": 0, | ||
"status": "alive", | ||
"roles": { | ||
"master": true, | ||
"data": true, | ||
"ingest": true, | ||
"ml": false | ||
} | ||
}, | ||
"attempts": 0, | ||
"aborted": false | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"!": "es7.1 client info", | ||
"body": { | ||
"name": "c085d7603717413a00ef9abce4f598f9", | ||
"cluster_name": "085403634746:test-es71", | ||
"cluster_uuid": "BO9-Dij9Tcu7y5sVOmxfgQ", | ||
"version": { | ||
"number": "7.1.1", | ||
"build_flavor": "oss", | ||
"build_type": "tar", | ||
"build_hash": "Unknown", | ||
"build_date": "2024-05-05T12:41:41.878384Z", | ||
"build_snapshot": false, | ||
"lucene_version": "8.0.0", | ||
"minimum_wire_compatibility_version": "6.8.0", | ||
"minimum_index_compatibility_version": "6.0.0-beta1" | ||
}, | ||
"tagline": "You Know, for Search" | ||
}, | ||
"statusCode": 200, | ||
"headers": { | ||
"date": "Fri, 09 Aug 2024 05:48:22 GMT", | ||
"content-type": "application/json; charset=UTF-8", | ||
"content-length": "529", | ||
"connection": "keep-alive", | ||
"access-control-allow-origin": "*" | ||
}, | ||
"meta": { | ||
"context": null, | ||
"request": { | ||
"params": { | ||
"method": "GET", | ||
"path": "/", | ||
"body": null, | ||
"querystring": "", | ||
"headers": { | ||
"user-agent": "elasticsearch-js/7.12.0 (darwin 23.5.0-arm64; Node.js v18.19.1)", | ||
"x-elastic-client-meta": "es=7.12.0,js=18.19.1,t=7.12.0,hc=18.19.1" | ||
}, | ||
"timeout": 30000 | ||
}, | ||
"options": {}, | ||
"id": 2 | ||
}, | ||
"name": "elasticsearch-js", | ||
"connection": { | ||
"url": "https://localhost:9071/", | ||
"id": "https://localhost:9071/", | ||
"headers": {}, | ||
"deadCount": 0, | ||
"resurrectTimeout": 0, | ||
"_openRequests": 1, | ||
"status": "alive", | ||
"roles": { | ||
"master": true, | ||
"data": true, | ||
"ingest": true, | ||
"ml": false | ||
} | ||
}, | ||
"attempts": 0, | ||
"aborted": false | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"!": "stinrg_field를 미스매치 타입으로 업데이트 시 발생하는 에러 케이스", | ||
"stack": "ResponseError: mapper_parsing_exception\n at onBody (lemon-core/node_modules/@elastic/elasticsearch/lib/Transport.js:337:23)\n at IncomingMessage.onEnd (lemon-core/node_modules/@elastic/elasticsearch/lib/Transport.js:264:11)\n at IncomingMessage.emit (node:events:529:35)\n at IncomingMessage.emit (node:domain:489:12)\n at endReadableNT (node:internal/streams/readable:1400:12)\n at processTicksAndRejections (node:internal/process/task_queues:82:21)", | ||
"message": "mapper_parsing_exception", | ||
"name": "ResponseError", | ||
"meta": { | ||
"body": { | ||
"error": { | ||
"root_cause": [ | ||
{ | ||
"type": "mapper_parsing_exception", | ||
"reason": "failed to parse field [string_field] of type [text] in document with id 'A0'" | ||
} | ||
], | ||
"type": "mapper_parsing_exception", | ||
"reason": "failed to parse field [string_field] of type [text] in document with id 'A0'", | ||
"caused_by": { | ||
"type": "illegal_state_exception", | ||
"reason": "Can't get text on a START_OBJECT at 1:17" | ||
} | ||
}, | ||
"status": 400 | ||
}, | ||
"statusCode": 400, | ||
"headers": { | ||
"date": "Mon, 05 Aug 2024 05:58:55 GMT", | ||
"content-type": "application/json; charset=UTF-8", | ||
"content-length": "384", | ||
"connection": "keep-alive", | ||
"access-control-allow-origin": "*" | ||
}, | ||
"meta": { | ||
"context": null, | ||
"request": { | ||
"params": { | ||
"method": "POST", | ||
"path": "/test-v7.1/_update/A0", | ||
"body": "{\"doc\":{\"string_field\":{}}}", | ||
"querystring": "", | ||
"headers": { | ||
"user-agent": "elasticsearch-js/7.12.0 (darwin 23.5.0-arm64; Node.js v18.19.1)", | ||
"x-elastic-client-meta": "es=7.12.0,js=18.19.1,t=7.12.0,hc=18.19.1", | ||
"content-type": "application/json", | ||
"content-length": "27" | ||
}, | ||
"timeout": 30000 | ||
}, | ||
"options": {}, | ||
"id": 100 | ||
}, | ||
"name": "elasticsearch-js", | ||
"connection": { | ||
"url": "https://localhost:9071/", | ||
"id": "https://localhost:9071/", | ||
"headers": {}, | ||
"deadCount": 0, | ||
"resurrectTimeout": 0, | ||
"_openRequests": 0, | ||
"status": "alive", | ||
"roles": { | ||
"master": true, | ||
"data": true, | ||
"ingest": true, | ||
"ml": false | ||
} | ||
}, | ||
"attempts": 0, | ||
"aborted": false | ||
} | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
{ | ||
"!": "es7.10 client info", | ||
"body": { | ||
"name": "6a2e79c7875cb8d2509d1a8c3f8297c4", | ||
"cluster_name": "085403634746:test-es710", | ||
"cluster_uuid": "P_hJ6SH4S-qWAQljG0WkQg", | ||
"version": { | ||
"number": "7.10.2", | ||
"build_flavor": "oss", | ||
"build_type": "tar", | ||
"build_hash": "unknown", | ||
"build_date": "2024-04-25T14:12:01.330812Z", | ||
"build_snapshot": false, | ||
"lucene_version": "8.7.0", | ||
"minimum_wire_compatibility_version": "6.8.0", | ||
"minimum_index_compatibility_version": "6.0.0-beta1" | ||
}, | ||
"tagline": "You Know, for Search" | ||
}, | ||
"statusCode": 200, | ||
"headers": { | ||
"date": "Fri, 09 Aug 2024 05:48:33 GMT", | ||
"content-type": "application/json; charset=UTF-8", | ||
"content-length": "531", | ||
"connection": "keep-alive", | ||
"access-control-allow-origin": "*" | ||
}, | ||
"meta": { | ||
"context": null, | ||
"request": { | ||
"params": { | ||
"method": "GET", | ||
"path": "/", | ||
"body": null, | ||
"querystring": "", | ||
"headers": { | ||
"user-agent": "elasticsearch-js/7.12.0 (darwin 23.5.0-arm64; Node.js v18.19.1)", | ||
"x-elastic-client-meta": "es=7.12.0,js=18.19.1,t=7.12.0,hc=18.19.1" | ||
}, | ||
"timeout": 30000 | ||
}, | ||
"options": {}, | ||
"id": 2 | ||
}, | ||
"name": "elasticsearch-js", | ||
"connection": { | ||
"url": "https://localhost:9710/", | ||
"id": "https://localhost:9710/", | ||
"headers": {}, | ||
"deadCount": 0, | ||
"resurrectTimeout": 0, | ||
"_openRequests": 1, | ||
"status": "alive", | ||
"roles": { | ||
"master": true, | ||
"data": true, | ||
"ingest": true, | ||
"ml": false | ||
} | ||
}, | ||
"attempts": 0, | ||
"aborted": false | ||
} | ||
} |
Oops, something went wrong.