开发者

Solr query parser that allows specifying multiple default fields

I would like to use the Dismax query parser because it allows me to specify multiple default search fields (using the 'qf' parameter) as well as other nice features such as field boosting.

However, I want a query parser/scoring algorithm that takes the sum of all field scores, rather than just the max.

Is there a way to configure DisMax to take a sum of scores rather than the max?

Can I specify mul开发者_运维知识库tiple default search fields using the standard query parser?

Is there a different query parser alltogether that would achieve this?

Do I need to write my own query parser?

Any help is greatly appreciated.

Thanks!


Isn't that qt=fieldA fieldB what you are looking for?

if fieldA is more important do qt=fieldA^2 fieldB

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜