LPS-47045 Adding support to nested fields - modifying updateDocument to return the indexed document's id, this id is used in junit test cases.