Search Object Import/Export

Search uses several schemas:

Comparison of search.xsd and search2.xsd

The search2.xsd file doesn't support deprecated text relevance attributes and sorting attributes.

Feature search.xsd search2.xsd
Text relevance attributes

The text-relevance-attributes element is deprecated and no longer supported.

It's ignored during import and export and replaced with searchable attributes.

Text relevance boosts are imported using the searchable-attributes element. Text relevance attributes are a deprecated feature.

The text-relevance-attributes element isn't included in the schema.

Searchable attributes Not included. The searchable-attributes element is supported.
Sorting attributes The sorting-attributes element is deprecated, but still supported. The sorting-attributes element isn't present in the schema.
Localization In the search.xsd file you must specify a locale for each object, such as a stop word. In the search2.xsd file you can specify a locale for a group of metadata objects, such as stopwords.
Settings The settings element is still supported. The settings element configures the index stemmer and indexing mode. The settings element isn't included in the schema.
Incremental indexing and scheduled rebuild settings

Not exported in the search.xml file from Site Import/Export.

Not exported from Search > Export.

Exported from Site Import/Export and Search > Export.
All other search features

Not exported in the search.xml file from Site Import/Export. The elements exported in search.xsd only include those not supported in search2.xsd.

Not exported from Search > Export.

Exported from Site Import/Export and Search > Export.