【问题标题】:Some queries don't work with dismax solr某些查询不适用于 dismax solr
【发布时间】:2014-06-09 19:03:09
【问题描述】:

我使用 solr 和 dismax 请求处理程序。

但是当我使用这个处理程序时,一些按字段查询的查询不起作用。

有什么问题?

谢谢

【问题讨论】:

  • 向您的问题添加一个示例查询

标签: solr field dismax


【解决方案1】:

例如,当使用标准 Lucene 查询解析器时,您使用:

http://whatever:8280/solr/fr_00/select?q=cat:7030100&wt=json&indent=true

但是当使用 dismax 时,你必须使用类似的东西:

http://whatever:8280/solr/fr_00/select?q=7030100&qf=cat&wt=json&indent=true&defType=dismax

这也应该有效

&fq=cat:(7030100)

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2016-12-24
    • 2011-11-23
    • 1970-01-01
    • 2020-10-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-04-07
    相关资源
    最近更新 更多