如何在 solr 配置中添加 edismax 以提升我的标题,然后是描述,然后是方面等等......
我的 solr 配置看起来像这样
<str name="defType">edismax</str>
<str name="qf">text^50 and title^1000 and contentdescription^180 and productname^140 and groupname^13 and maincontent^113 and contenttype^120 and published_date^115 and viewcount^114 and fileid^101 and filename^10 and content^10</str>
<str name="pf">text^50 and title^1000 and contentdescription^180 and productname^140 and groupname^13 and maincontent^113 and contenttype^120 and published_date^115 and viewcount^114 and fileid^101 and filename^10 and content^10</str>
和
架构为
<copyField source="id" dest="text"/>
<copyField source="productid" dest="text"/>
<copyField source="groupid" dest="text"/>
<copyField source="maincontent" dest="text"/>
<copyField source="title" dest="text" />
<copyField source="contentdescription" dest="text"/>
<copyField source="groupname" dest="text"/>
<copyField source="productname" dest="text"/>
<copyField source="videourl" dest="text"/>
<copyField source="contenttype" dest="text" />
<copyField source="title" dest="autocomplete-field" />