-
Notifications
You must be signed in to change notification settings - Fork 24.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thrift: Response might get corrupted with extra data #452
Comments
Thrift: Response might get corrupted with extra data, closed by 2460ee8. |
medcl
pushed a commit
to medcl/elasticsearch
that referenced
this issue
Jul 1, 2011
mute
pushed a commit
to mute/elasticsearch
that referenced
this issue
Jul 29, 2015
jev001
pushed a commit
to jev001/elasticsearch
that referenced
this issue
Dec 28, 2022
This issue was closed.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
when doing a search query use thrift transport(http client is fine),it sounds like that some unnecessary json block was appended after right result,that made the result on invalid state(when parsing the result),and it was happed with that: i have some random query,and each the result maybe different,for example,it was supposed to return the following result:
{
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 0,
"max_score": null,
"hits": []
}
}
but actually what i got is:
{"_shards":{"total":5,"successful":5,"failed":0},"hits":{"total":0,"max_score":null,"hits":[]}}s":[{"_index":"index","_type":"default","_id":"a4d3805b-be55-495e-b13a-0af9b49c94a8","_score":1.411927, "_source" : {"ID": "52441", "ValidateID": "mao", "User_ULID": "44", "UserName": "05505013", "UserType": "0", "Islock": "0", "ExcelId": "NULL", "CreateTime": "2007-01-19 14:34:56.130"}},{"_index":"index","_type":"default","_id":"d13db255-6bf2-4bbc-b0f3-c8fbd88043c5","_score":1.411927, "_source" : {"ID": "52444", "ValidateID": "111111", "User_ULID": "44", "UserName": "06721214", "UserType": "0", "Islock": "0", "ExcelId": "NULL", "CreateTime": "2007-01-19 14:51:24.600"}},{"_index":"index","_type":"default","_id":"98cf1ec5-1640-4bf1-b8e0-4b8ae2454b20","_score":1.411927, "_source" : {"ID": "52445", "ValidateID": "redapple", "User_ULID": "44", "UserName": "06523126", "UserType": "0", "Islock": "0", "ExcelId": "NULL", "CreateTime": "2007-01-19 14:53:52.257"}},{"_index":"index","_type":"default","_id":"3d0a1f80-86f5-4203-8834-54f58da041f7","_score":1.411927, "_source" : {"ID": "52452", "ValidateID": "198711251919", "User_ULID": "44", "UserName": "05715028", "UserType": "0", "Islock": "0", "ExcelId": "NULL", "CreateTime": "2007-01-19 15:22:01.630"}},{"_index":"index","_type":"default","_id":"76eb76d2-9029-4c3a-ba58-fca37de44fe3","_score":1.411927, "_source" : {"ID": "52456", "ValidateID": "23281227", "User_ULID": "44", "UserName": "06721175", "UserType": "0", "Islock": "0", "ExcelId": "NULL", "CreateTime": "2007-01-19 15:57:05.037"}},{"_index":"index","_type":"default","_id":"b90841e0-2936-45a1-a276-43f4c6a9fd75","_score":1.411927, "_source" : {"ID": "52464", "ValidateID": "10631008", "User_ULID": "41", "UserName": "10631008", "UserType": "0", "Islock": "0", "ExcelId": "NULL", "CreateTime": "2007-01-19 18:56:18.930"}},{"_index":"index","_type":"default","_id":"c68f5f39-3ced-4ec7-9c01-8608a51d1040","_score":1.411927, "_source" : {"ID": "52486", "ValidateID": "819122", "User_ULID": "44", "UserName": "05525028", "UserType": "0", "Islock": "0", "ExcelId": "NULL", "CreateTime": "2007-01-20 14:21:09.787"}},{"_index":"index","_type":"default","_id":"b8646c8f-013b-4db0-be9b-e1af0d44a7cb","_score":1.411927, "_source" : {"ID": "52487", "ValidateID": "04514166", "User_ULID": "44", "UserName": "04514166", "UserType": "0", "Islock": "0", "ExcelId": "NULL", "CreateTime": "2007-01-20 14:23:03.913"}},{"_index":"index","_type":"default","_id":"a88af3c2-f2af-4fc2-90c3-af08c40ab43f","_score":1.411927, "_source" : {"ID": "52490", "ValidateID": "vv127127", "User_ULID": "44", "UserName": "06721187", "UserType": "0", "Islock": "0", "ExcelId": "NULL", "CreateTime": "2007-01-20 15:14:30.507"}},{"_index":"index","_type":"default","_id":"dba12596-bebb-4af9-9d2e-2c31d8eb8c3e","_score":1.411927, "_source" : {"ID": "52491", "ValidateID": "7758521", "User_ULID": "44", "UserName": "05713129", "UserType": "0", "Islock": "0", "ExcelId": "NULL", "CreateTime": "2007-01-20 15:22:21.083"}}]}}
The text was updated successfully, but these errors were encountered: