This class is intended to be used in PowerShell and other admin-created C# applications for two purposes: 1. To rebalance crawl stores. 2. To move data out of crawl stores in preparation for delete. Both of these operations are potentially long-running, on the order of hours, depending on the amount of data that needs to be moved. Because of this, these operations are both asynchronous. The general pattern of use for this class is to call one of the 'Begin...' methods which will start the operation and return the Guid that identifies your job. Then, poll the 'Completed' method until it return 'true'. When you are moving data out of crawl stores in preparation to delete them, you should absolutely verify the state of your crawl stores (via the CrawlLog class) to ensure that the crawl stores are indeed empty before deleting them.
The CrawlStorePartitionManager type exposes the following members.
|BeginCrawlStoreRebalancing||Start rebalancing content across crawl stores.|
|BeginMovingDataOutOfCrawlStores||Start moving data out of the crawl stores with the specified IDs into the remaining crawl stores. At the end of this operation, the specified crawl stores will be empty.|
|Completed||Check the state of the crawl store partition change with the supplied ID. This method should be used to check status of rebalancing and data moves that are initiated using the methods above.|
|CrawlStoresAreUnbalanced||Check if the crawled content is evenly distributed across all of the crawl stores for this search service application.|
|Equals||(Inherited from Object.)|
|Finalize||(Inherited from Object.)|
|GetHashCode||(Inherited from Object.)|
|GetHypotheticalPartitionMoves||Get a list of partition moves that would rebalance the data across the crawl stores of this search service application.|
|GetPartitionMoveStates||Get detailed information about partition moves.|
|GetType||(Inherited from Object.)|
|MemberwiseClone||(Inherited from Object.)|
|RefreshSearchServiceApplication||Refresh the reference to the search service application held by this object.|
|TimeToCompletion||Get the estimated time to complete the partition move with the supplied change ID, which must have been obtained by a call to either BeginCrawlStoreRebalancing or BeginMovingDataOutOfCrawlStores.|
|ToString||(Inherited from Object.)|