开发者

Solr query parser that allows specifying multiple default fields

开发者 https://www.devze.com 2023-01-21 10:13 出处:网络
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.

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

精彩评论

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