Here is my steps, I will show all the content in detail as soon as possible.
2. Update metadata value using server object model in sharepoint 2013 and Save the log.
3. The base operation about Metadata Service in sharepoint 2013
4. Base Operation About Xml file
I had a require about migrating the metadata from sharepoint 2010 to sharepoint 2013, but there were something wrong with the metadata, because the metadata value of the item is relation with it ID of the Term in Metadata Service, after migrating, the item won't find the ID of the metadata in new Metadata Service of sharepoint 2013 site. then I had to retrive the metada value in new Metadata Service and re-assignment the metadata value of the item.
Here is my solution:
1. To to update the metadata of the item in all document list, I save the docuement list info that need to update into xml file.
2. Because of the large number of the items in docuement list(in my site, the number of the document is more than ten thousand), I had to save the document info into xml file. then the performance will be fast.
3. To improve the performance and update all the couments list synchronous, I import the multithreading, then the performance will more fast, that's good idea.
4. To to record the result of the updating and save the error log, I also create the error log, then we will know the result in detail.
5. And I create the winform project, then we can use the tool easy. beside, I had test the tool and the result was fine, the tool update a item in less 1 second. becase of using the xml to save the metadata get from site 2010, it didn't need to call the client api every time, just get the metadat in xml file, so the performance is very good
Above that, it is just the base steps and I will show you the code in detail, if you want to the solution project, please email me.