Property description
The searchForms property configures a search area used in Dawiso’s search feature. A search area can have its own search indexes and search queries for a personalized experience.
Minimal JSON
{
"key": "",
"searchIndexKey": "",
"iconKey": "",
"template": {}
}{
"key": "form",
"iconKey": "core_default_search",
"searchIndexKey": "recipe_tutorial_index",
"searchQueryKeys": [
"#_all_object_search_empty",
"#_all_object_search_basic",
"#_all_object_search_advanced"
],
"orderNumber": 1003,
"template": {
"formId": "form",
"title": "title.recipe.tutorial.search",
"defaultFacets": [
{
"type": "faceted-element",
"title": "",
"enumKeyType": "attribute",
"enumKey": "core#description",
"elementType": "none",
"orderBucketsType": "value",
"primaryResultText": true,
"valueType": "isText"
}
]
}
}Example taken from Search Area Configuration.
Nested properties
| Property | Description | Values | Mandatory |
|---|---|---|---|
key | Unique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey. | string | Yes |
searchIndexKey | Key of the search index that the search area uses. | string | Yes |
iconKey | Key of the icon used to visually represent the asset. Use predefined icons from Settings > Configuration > Icons, or define custom ones in the icons asset. | string | Yes |
orderNumber | Order of the search area displayed in search. | integer | No |
searchQueryKeys | Key of search queries that are used to look up objects in this search area. | array | No |
replaceSynonyms | Determines whether looking up synonyms or acronyms in this search area returns the original object. To enable this, make sure the following relations have these features: Relation type: Feature; has_synonym: is_relation_type_synonym_of; has_acronym: is_relation_type_acronym_of | boolean | No |
template | Configuration of the visual (UI) presentation of the search form and its facets. | object | Yes |
state | Current status of the asset. Supported options are: active (asset is active and visible in the environment), inactive (asset is inactive and hidden, serves as a soft delete), hidden (asset is active but hidden in the environment). | string | No |