Closed jvillafanez closed 1 year ago
Kudos, SonarCloud Quality Gate passed!
We cannot see your link from community: https://github.com/owncloud/enterprise/issues/5547
We cannot see your link from community: https://github.com/owncloud/enterprise/issues/5547
I don't think there is a public ticket related to the issue...
Anyway, the reason is to improve the performance since elasticsearch was sending the content of the matched files (not sure if all the content or a part of it). This means that the response could be of several MBs. With this change, elasticsearch will send only the info we need, so instead of several MBs, it should send a few KBs.
The data we have is from ~3MB to ~100KB. It will depend on the number of matches and the size of the file.
Note that there is no change in the behavior coming from this PR
I see, thanks for your quick response.
Retrieve only the mtime field from elasticsearch because it's the only field being used at the moment.
Related https://github.com/owncloud/enterprise/issues/5547