solr dismax,
http://wiki.apache.org/solr/SolrQuerySyntax
Please note that many characters in the Solr Query Syntax (most notable the plus sign: "+ ") are special characters in URLs, so when constructing request URLs manually, you must properly URL-Encode these characters.
q= +popularity:[10 TO *] +section:0
http://localhost:8983/solr/select?q=%2Bpopularity:[10%20TO%20*]%20%2Bsection:0
DisMaxQParserPlugin
http://localhost:8983/solr/select/?q=video&qt=defType=dismax&qf=features^20.0+text^0.3
http://localhost:8983/solr/select/?q=video&defType=dismax&qf=features^20.0+text^0.3&bq=cat:electronics^5.0
本站文章为和通数据库网友分享或者投稿,欢迎任何形式的转载,但请务必注明出处.
同时文章内容如有侵犯了您的权益,请联系QQ:970679559,我们会在尽快处理。