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 t
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-u
Thanks Kuli. I tried this, but then it only returns hits for the query in the
title field. I managed to get this work, by making edismax the default query
type in the request handler in solrconfig.xml. This is still a bit of a
hack, since I can't select different query types from solrj. If I add a
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 =
I would suggest debugging with browser requests -- then switching to
Solrj after you are at 1st base.
In particular, try adding the &debugQuery=true parameter to the
request and see what solr thinks is happening.
The value that will "work" for the 'qt' parameter depends on what is
configured in s