Migrate search analytics to another collection
Background
This article shows how analytics can be moved from one collection to another by copying across the search and click history and rebuilding the analytics database on the target collection.
This is sometimes necessary if the collection name changes and existing analytics data needs to be imported into the new collection, or if a standalone collection is replaced with a meta collection and analytics history needs to be transferred to the new collection.