开发者

get all results with Dismax, like q=*:*?

开发者 https://www.devze.com 2023-01-15 21:32 出处:网络
I开发者_开发百科s not possible to do this like q=*:* with DisMax ?first thanks for you answers.

I开发者_开发百科s not possible to do this like q=*:* with DisMax ?


first thanks for you answers. Actually i found the solution that fit my need and it's :

 < str name="q.alt">*:*< /str>

now i can list all the results .

;)


It is not possible to get all results with dismax using the *:* query.

To get the count of documents with this query, you have to use the standard query handler. You can switch to it by adding qt=standard in your query. Note that 'standard' is the default name, so check in your solrconfig.xml if it is the name you are really using.

0

精彩评论

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