Hi Eric, Thanks for all the inputs you have given. They are really helpful. I am able to achieve the field boosting * wildcard with dismax. For this, I had to make code changes in DisjunctionMaxQueryParser sub class in SolrPluginUtils class.
Thanks, Amit Garg Erik Hatcher wrote: > > Amit, > > If you use the lucene query parser, you only get a q parameter. All > the other parameters, such as qf and bq, are specific to the dismax > query parser. If you want to use the lucene query parser for wildcard > capability, you have to manually build the query across multiple > fields and boosts. > > If you use the dismax parser, there is no wildcard query capability. > > These are the limitations of what the query parsers currently built > into Solr. > > As for the URL throwing a null pointer exception - please send the > relevant details (what URL was it? What was the complete stack > trace? What version of Solr?) > > Erik > > On Mar 3, 2009, at 5:21 AM, dabboo wrote: > >> >> Hi, >> >> I tried this url but it threw nullpointer exception. Also, I am having >> underscores in the field name like ProductUrl_s etc. >> I also debug the query which gets formed with q.alt, it doesnt >> calculate the >> scores of the documents and hence doesnt support field boosting. >> >> Please suggest me as how I can achieve the field boosting with this >> q.alt >> parameter. >> >> Thanks, >> Amit Garg >> >> >> >> dabboo wrote: >>> >>> Hi, >>> >>> Is there any way, we can implement field boosting with q.alt >>> parameter >>> query. I would appreciate if somebody can suggest if there is any >>> workaround for the same. >>> >>> Thanks, >>> Amit Garg >>> >> >> -- >> View this message in context: >> http://www.nabble.com/Field-Boosting-with-q.alt-parameter-Query-tp22304491p22305790.html >> Sent from the Solr - User mailing list archive at Nabble.com. > > > -- View this message in context: http://www.nabble.com/Field-Boosting-with-q.alt-parameter-Query-tp22304491p22324761.html Sent from the Solr - User mailing list archive at Nabble.com.