iamsanjay commented on PR #1224:
URL: https://github.com/apache/solr/pull/1224#issuecomment-1343769347

   Hello @gerlowskija,
   
   Response from the V2 API is squashed into the Solr Response without header 
using the method.
   
   `V2ApiUtils.squashIntoSolrResponseWithoutHeader(it.rsp, response);`
   
   But it's not quite working as expected or may be I am using it wrong. 
Basically the merge from the V2 API is not getting merged into the main 
response. 
   
   **Expected Response**
   
   > {
   >   "responseHeader":{
   >     "status":0,
   >     "QTime":1176},
   >   "success":{
   >     "localhost:8983_solr":{
   >       "responseHeader":{
   >         "status":0,
   >         "QTime":84},
   >       "response":{
   >         "startTime":"2022-11-15T19:19:02.771459Z",
   >         "indexFileCount":1,
   >         "uploadedIndexFileCount":1,
   >         "indexSizeMB":0.0,
   >         "uploadedIndexFileMB":0.0,
   >         "shard":"shard1",
   >         "endTime":"2022-11-15T19:19:02.842364Z",
   >         "shardBackupId":"md_shard1_0"}}},
   >   "response":{
   >     "collection":"gettingstarted",
   >     "numShards":1,
   >     "backupId":0,
   >     "indexVersion":"9.0.0",
   >     "startTime":"2022-11-15T19:19:02.102877Z",
   >     "indexFileCount":1,
   >     "uploadedIndexFileCount":1,
   >     "indexSizeMB":0.0,
   >     "uploadedIndexFileMB":0.0,
   >     "shardBackupIds":["md_shard1_0"],
   >     "endTime":"2022-11-15T19:19:03.143048Z"}} 
   
   **Actual Response**
   
   > {
   >   "responseHeader":{
   >     "status":0,
   >     "QTime":296},
   >   "success":{
   >     "localhost:8984_solr":{
   >       "responseHeader":{
   >         "status":0,
   >         "QTime":37}}},
   >   "response":{
   >     "collection":"gettingstarted",
   >     "numShards":1,
   >     "backupId":0,
   >     "indexVersion":"9.4.0",
   >     "startTime":"2022-11-15T19:54:44.928803Z",
   >     "endTime":"2022-11-15T19:54:45.120657Z"}}


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to