Merge "[OneSearch] Add a clear function in the plugin to clear cache and memory." into sc-v2-dev