如何在SolrIndexedProperty中将自定义项目类型列插入solr,以及如何从solr中检索数据

问题描述

在我的情况下,我有一个表,其中只有一列保存集合List数据,我列出了我将PRODUCT作为属性传递给如何将此列插入solr以及如何从solr中检索它的方法

<collectiontypes>
        <collectiontype code="topsellingproductscodes" elementtype="Product" autocreate="true" type="list"/>
    </collectiontypes>

<itemtype code="TopSoldProducts">
            <deployment table="TopSoldProducts" typecode="23677"/>
            <attributes>
                <attribute qualifier="products" type="topsellingproductscodes">
                    <persistence type="property" />
                </attribute>
            </attributes>
        </itemtype>
  1. 将此数据插入solr
  2. 如何从solr获取自定义表数据(请指定步骤)。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)