On 6/23/2015 4:42 AM, Karl Kildén wrote: > Hello! Can I boost fields at index time with the solrj client? If not what > do you recommend? Feels like it would be expensive to always do it at query > time?
Yes. On the SolrInputDocument class, there are addField and setField variants that include a float parameter for boost: http://lucene.apache.org/solr/5_2_0/solr-solrj/org/apache/solr/common/SolrInputDocument.html Thanks, Shawn