SearchConfigurationPortability members
This class contains methods that can be used to export or import search configuration settings. These settings include query rules, result sources, managed properties, crawled properties, and ranking models.
You can also export customized search configuration settings from a Search service application (SSA) and import the settings to site collections and sites; however, you cannot import customized search configuration settings to a Search service application.
The SearchConfigurationPortability type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
SearchConfigurationPortability() | Creates an instance of this class. |
![]() |
SearchConfigurationPortability(SPSite) | Creates an instance of this class with the specified SPSite. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
ImportWarnings | Specifies the warning messages that were generated when the search configuration settings were imported. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | (Inherited from Object.) |
![]() |
ExportSearchConfiguration | Exports search configuration settings at the site server level, as specified by owningScope, in XML format. |
![]() |
Finalize | (Inherited from Object.) |
![]() |
GetHashCode | (Inherited from Object.) |
![]() |
GetType | (Inherited from Object.) |
![]() |
ImportSearchConfiguration(SearchObjectOwner, String) | Imports the search configuration settings contained in searchConfiguration at the site server level, as specified by owningScope. |
![]() |
ImportSearchConfiguration(SearchObjectOwner, String, Dictionary<String, String>) | Imports the search configuration settings contained in searchConfiguration at the site server level, as specified by owningScope. This method allows for certain fields in the search configuration settings like ItemTemplateId() and GroupTemplateId() in the CreateResultBlockActions object and DisplayTemplateUrl in the ResultItemType object to contain tokens, which will be replaced by the specified token value. |
![]() |
MemberwiseClone | (Inherited from Object.) |
![]() |
ToString | (Inherited from Object.) |
Top
.gif)
.gif)
.gif)