Re: Boosting fields in SOLR using Solrj

2012-04-27 Thread Joe
I finally figured this out. The answer is here (see my comment to the answer): http://stackoverflow.com/questions/10324969/boosting-fields-in-solr-using-solrj -- View this message in context: http://lucene.472066.n3.nabble.com/Boosting-fields-in-SOLR-using-Solrj-tp3939789p3945626.html Sent from

Re: Boosting fields in SOLR using Solrj

2012-04-27 Thread Joe
Thanks Ryan. I created a second requestHandler, which works fine in the browser. In solrj, how do I tell the SolrQuery which request handler to use? It always seems to default to another requestHandler. -- View this message in context: http://lucene.472066.n3.nabble.com/Boosting-fields-in-SOLR

Re: Boosting fields in SOLR using Solrj

2012-04-27 Thread Joe
add a second result handler for search, it seems to get overridden by the existing one. -- View this message in context: http://lucene.472066.n3.nabble.com/Boosting-fields-in-SOLR-using-Solrj-tp3939789p3945486.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Boosting fields in SOLR using Solrj

2012-04-26 Thread Michael Kuhlmann
Am 26.04.2012 00:57, schrieb Joe: Hi, I'm using the solrj API to query my SOLR 3.6 index. I have multiple text fields, which I would like to weight differently. From what I've read, I should be able to do this using the dismax or edismax query types. I've tried the following: SolrQuery query =

Re: Boosting fields in SOLR using Solrj

2012-04-26 Thread Ryan McKinley
ot;type","dismax"); > > I'd like to retain the full Lucene query syntax, so I prefer ExtendedDisMax > to DisMax. Boosting individual terms in the query (as shown below) does > work, but is not a valid solution, since the queries are automatically > generated and ca

Boosting fields in SOLR using Solrj

2012-04-25 Thread Joe
tle:apples^10.0 oranges^10.0 content:apples oranges"); Any help would be much appreciated. -- View this message in context: http://lucene.472066.n3.nabble.com/Boosting-fields-in-SOLR-using-Solrj-tp3939789p3939789.html Sent from the Solr - User mailing list archive at Nabble.com.