如何在solr配置中添加edismax来给我的标题添加boosting,然后描述,然后方面,等等……
我的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" />发布于 2014-10-15 18:33:56
只有几件事需要检查...
文本^50标题^1000内容描述^180产品名称^140组名称^13主要内容^113内容类型^120 published_date^115视图计数^114文件10^101文件名^10内容^10
”)
https://stackoverflow.com/questions/26360355
复制相似问题