0

请参考我之前的问题

关于我的问题的这个答案,我可以用一个文件来做。

我无法处理多个字段。

http://$solr_host:8983/solr/magazines/select&q=sport+education&df=title&q.op=OR - 这适用于一个领域。我怎样才能为多个领域做到这一点。

什么是实现我的目标的正确方法。先感谢您。

4

1 回答 1

1

将 Dismax/eDismax 与qf(查询字段)参数一起使用。

例子:

http://$solr_host:8983/solr/magazines/select&q=sport+education&defType=edismax&qf=title name&q.op=OR

在这里检查

于 2016-12-23T06:54:29.203 回答