solrsortfiled itemtype在hybris中的sortpos属性的意义是什么

发布于 2025-02-04 14:31:31 字数 279 浏览 4 评论 0原文

sortpos solrsortfiled itemType的可用性是什么?

empex示例:

INSERT_UPDATE SolrSortField; sort(indexedType(identifier), code)[unique = true]; fieldName[unique = true]; ascending[unique = true]; sortPOS[default = 0]

What is the usability of sortPOS attribute of SolrSortFiled itemtype.

Example Impex:

INSERT_UPDATE SolrSortField; sort(indexedType(identifier), code)[unique = true]; fieldName[unique = true]; ascending[unique = true]; sortPOS[default = 0]

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

梦情居士 2025-02-11 14:31:31

结束“ pos”的属性通常是与关系相关的数字订购字段。主要关系属性通常具有相同的名称,但没有“ pos”。这些“ pos”字段仅适用于关系的结尾

在这种情况下以“排序”标记为“订购”,而关系为 solrsort2solsortfieldrel ,源为cormive subired As formifier =“ sort sort” sort'type'type'solrsort =“ solrsort” cardinatity =“”一个”,目标配置为限定器=“ fields” type =“ solrsortfield” cardinatie =“许多“ collectionType =“ list” ordered =“ true”。在这种一对一的配置中,该关系被建模为

从iPex视点上的许多侧面“排序” +订单字段'sortpos'上的属性:您只需要以越来越多的顺序指定整数值与您希望在该索尔索特(Solrsort)出现的字段出现的顺序相关联

Attributes ending 'POS' are usually a numeric ordering field associated with a relationship. The main relationship attribute typically has the same name but without 'POS'. These 'POS' fields only apply where that end of the relationship is flagged as 'ordered'

In this case the relationship is SolrSort2SolrSortFieldRel with source configured as qualifier="sort" type="SolrSort" cardinality="one", and the target configured as qualifier="fields" type="SolrSortField" cardinality="many" collectiontype="list" ordered="true". In this one-to-many configuration, the relationship is modelled as an attribute on the many side 'sort' + the ordering field 'sortPOS'

From an impex point-of-view: you just need to specify integer values in increasing order that correlate to the order in which you want the fields to appear for that SolrSort

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文