Skip to content

Attribute search in Elasticsearch database

If you use external data source for personalization data, it's not possible to display external content in the Universal Discovery Widget as it's deprecated. Attribute search is used in scenario preview and editorials models instead. Attribute search works like an autocomplete feature, but values are dynamically taken from the Elasticsearch database.

Add the following configuration under the ibexa.system.<scope>.personalization configuration key:

1
2
3
4
5
6
7
ibexa:
    system:
       <scope>:
            personalization:
                output_type_attributes:
                    <item_type_id>:
                        title: <item_name>

See the example:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
ibexa:
    system:
        default:
            personalization:
                output_type_attributes:
                    1:
                        title: name
                        description: short_description
                    2:
                        title: category_name
                    3:
                        title: product_name
                    4:
                        title: short_name
                        description: body
                        image: image

Attributes search