Entity type priority settings

更新时间:
复制 MD 格式

The priority settings control the order in which entity types appear in search results. Entity types with a higher priority level rank above those with a lower priority level. When two entity types share the same priority level, the order field determines which one ranks first — a smaller value means higher precedence.

Example

In the following example, the material entity type is assigned a MIDDLE priority. If another entity type — such as brand — has HIGH priority, brand results appear first. Within the MIDDLE group, an entity type with order: 1 ranks above this one (order: 3).

{
    "tag": "material",
    "priority": "MIDDLE",
    "order": 3,
    "label": "Material"
}

Structure

FieldTypeDescription
tagStringThe internal name of the entity type.
priorityStringThe priority level. Valid values: HIGH, MIDDLE, LOW.
orderIntegerThe ranking position among entity types at the same priority level. Default value: 0. A smaller value indicates a higher priority.
labelStringThe display name of the entity type.