[COMPASS-3370] library: refactor field_type and fields vectors into a more efficient data structure Created: 03/Jan/19  Updated: 28/Feb/19  Resolved: 28/Feb/19

Status: Closed
Project: Compass
Component/s: schema.rs
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Irina Shestak (Inactive) Assignee: Irina Shestak (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Epic Link: COMPASS-3418
Story Points: 5
Sprint: Iteration Wasabi, Iteration Xiaolongbao, Iteration Yuca

 Description   

when iterating over the input document we need to be checking whether an existing field already exist, and if it does update its field type. this requires two iterations over the 'fields' and 'field_type' vectors. this should be rewritten to be a more efficient data structure that would not require the double iteration and overwriting of an existing field_type struct.


Generated at Wed Feb 07 22:32:59 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.