solrsortfiled itemtype在hybris中的sortpos属性的意义是什么
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
结束“ 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