Property description

The search property in the settings section of a package configures the global search settings for the entire package.

Minimal JSON

{ "isSearchable": true }

Nested properties

PropertyDescriptionValuesMandatory
isSearchableDetermines whether objects and attributes in this package are included in search results.booleanYes
applicationKeyKey of the application the search settings apply to.stringNo
attributeTypeKeyKey of the attribute the search settings apply to.stringNo
boostAn advanced feature that specifies the boost score used for ordering.doubleNo
descriptionDescription of the property.stringNo
functionKeyKey of the import function, which defines what is imported into the search and in what way. Supported values are: mr_object_import_func, mr_object_file_import_func, mr_space_import_func, model_changes_import_func, codelist_import_func, sample_data_import_funcstringNo
indexKeyKey of the ElasticSearch index to which the application will be imported. See supported indexKey values.stringNo
objectTypeKeyKey of the object type the search settings apply to.stringNo
searchAttachmentsDetermines whether attachments are searchable.booleanNo
spacePathSpace path including subspaces. For example, the current space is S2 and its parent space is S1, then spacePath will be S1/S2.stringNo
tagKeySearch import mode. See supported tagKey values.stringNo

Supported indexKey values

ValueDescription
#all_object_search_indexIndexes all objects. Used when adding relations, creating links, or embedding text into another object.
#codelist_search_indexIndexes code list keys and values for search.
#codelist_search_index_desc_csIndexes Czech-language descriptions of code list entries for search.
#codelist_search_index_desc_enIndexes English-language descriptions of code list entries for search.
#codelist_search_index_desc_frIndexes French-language descriptions of code list entries for search.
#file_script_search_indexIndexes the content of uploaded files and scripts to make them searchable.
#model_changes_search_indexIndexes changes to models (conceptual, logical, semantic) to support search and change tracking.
#object_search_indexIndexes objects for default object search (by name) and for full-text search (in object content).
#sample_data_search_indexIndexes sample datasets linked to objects, attributes, or reports for search.
Tip

Make sure to use the hash symbol (#) for the package to look for the key globally and not only in the same package.

Supported tagKey values

ValueDescription
import_fileObject attachments are imported.
import_model_changesDataDictionary ModelChanges are imported.
import_no_attributesObjects are imported without their attributes.
import_objectObjects are imported based on the ImportFunction.
import_spaceImports space details to be able find it in search.
no_importObjects are not imported. Scoped to the functionKey set in the same row.

Model changes and search indexes

The data dictionary model changes are routed by the import_model_changes tag. A model’s changes propagate to every search index bound to its space.

boost doesn’t select the index, it serves as:

  • Tie-breaker within an index: When rules tie on specificity, boost decides the order. Specificity ranks space+application first, then space only, then application only, then the wildcard rule (neither set).
  • Ranking signal: When stored on the indexed document,boost influences the document’s position in search results.

To keep model changes out of one index, add a no_import rule for that index with functionKey set to model_changes_import_func:

{
  "isSearchable": true,
  "functionKey": "model_changes_import_func",
  "tagKey": "no_import",
  "indexKey": "#model_changes_search_index"
}
Warning

A row that sets tagKey to no_import without a functionKey falls back to mr_object_import_func and has no effect on model changes.

An index that is not active receives nothing, and it does not suppress the import for the other indexes.