Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CrawlStorePartitionManager members

SharePoint 2013

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.

  Name Description
Public method BeginCrawlStoreRebalancing Start rebalancing content across crawl stores.
Public method 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.
Public method 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.
Public method CrawlStoresAreUnbalanced Check if the crawled content is evenly distributed across all of the crawl stores for this search service application.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetHypotheticalPartitionMoves Get a list of partition moves that would rebalance the data across the crawl stores of this search service application.
Public method GetPartitionMoveStates Get detailed information about partition moves.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RefreshSearchServiceApplication Refresh the reference to the search service application held by this object.
Public method 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.
Public method ToString (Inherited from Object.)
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.