use Index API to update the record
Indexer uses Update API (UpdateRequest) to update the record with partial update, which means that fields that are not included in the request won't be updated/deleted, but is expected to use full replacement, where field that are not included are deleted, since storage works this way with PUT endpoint. Because of this it is not possible to delete tags and some data fields. To fix this it is possible to use Index API (IndexRequest) for both insert and update. Docs: https://www.elastic.co/guide/en/elasticsearch/reference/7.17/docs-update.html https://www.elastic.co/guide/en/elasticsearch/reference/7.17/docs-index_.html
Merge request reports
Activity
added Common Code label
requested review from @ylesnikau, @nthakur, and @ajoshi19
assigned to @msavchuk
added 7 commits
-
7dc9530a...67f4055f - 6 commits from branch
master
- 266fce8b - use IndexRequest to update the record
-
7dc9530a...67f4055f - 6 commits from branch
assigned to @chad
@chad Please help with this MR. Thank you.
changed milestone to %M17 - Release 0.20
added 55 commits
-
266fce8b...05e6e0e2 - 54 commits from branch
master
- 09804fed - use IndexRequest to update the record
-
266fce8b...05e6e0e2 - 54 commits from branch
- Resolved by Rustam Lotsmanenko (EPAM)
@Rustam_Lotsmanenko can you please help with IT pipeline. IT are failing with unrelated
503
errors.
added MRBugfix label
@fhoueto.amz @BdasIBM - could you also help review this ?
mentioned in commit b07d3e05