开发者

Some queries don't work with dismax solr

开发者 https://www.devze.com 2023-03-19 15:46 出处:网络
I use solr and dismax reqest han开发者_运维知识库dler. But when I use this handler, some queries as query by field haven\'t worked.

I use solr and dismax reqest han开发者_运维知识库dler.

But when I use this handler, some queries as query by field haven't worked.

What's the problem ?

Thanks


For ex, when using standard Lucene query parser, you use:

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

But when using dismax, you have to use something like:

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

this should also work

&fq=cat:(7030100)
0

精彩评论

暂无评论...
验证码 换一张
取 消