开发者

Some queries don't work with dismax solr

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜