Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Plain View
Solr, mail # user - How can I boost bq in FieldQParserPlugin?


Copy link to this message
-
How can I boost bq in FieldQParserPlugin?
Wangsheng Mei 2010-01-19, 05:26
Hi, ALL.

My original query is:
http://myhost:8080/solr/select?q=ipod&*bq=userId:12345^0.5*
&fq=&start=0&rows=10&fl=*%2Cscore&qt=dismax&wt=standard&debugQuery=on&explainOther=&hl.fl
It works this way.
But I would like to place bq phrase in the default solrconfig.xml
configuration to make the query string more brief, so I did the following?
http://myhost:8080/solr/select?q=ipod&*bq={!field f=userId v=$qq}&qq=12345*
&fq=&start=0&rows=10&fl=*%2Cscore&qt=dismax&wt=standard&debugQuery=on&explainOther=&hl.fl
However, filedQueryParser doesn't accespt a boost parameter, then what shall
I do?

Thanks in advance.
--
梅旺生
+
Chris Hostetter 2010-01-26, 23:57
+
Wangsheng Mei 2010-01-28, 22:35
+
Wangsheng Mei 2010-01-28, 22:47
+
Yonik Seeley 2010-01-28, 22:57
+
Wangsheng Mei 2010-01-28, 23:05
+
Wangsheng Mei 2010-01-29, 01:12
+
Chris Hostetter 2010-01-30, 01:08