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

PropertyDescriptionValuesMandatory
keyUnique key of the asset. Used for referencing in the same package or other packages using packageKey#assetKey.stringYes
searchIndexKeyKey of the search index that the search area uses.stringYes
iconKeyKey of the icon used to visually represent the asset. Use predefined icons from Settings > Configuration > Icons, or define custom ones in the icons asset.stringYes
orderNumberOrder of the search area displayed in search.integerNo
searchQueryKeysKey of search queries that are used to look up objects in this search area.arrayNo
replaceSynonymsDetermines 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_ofbooleanNo
templateConfiguration of the visual (UI) presentation of the search form and its facets.objectYes
stateCurrent 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).stringNo