lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benjelloun <>
Subject Re: solr boosting any perticular URL
Date Fri, 18 Jul 2014 09:57:00 GMT

before index the URL to a field in Solr, you can use java api(Solrj) and do
a test 
index on  field1
index on field2

then use edismax to boost a specific field:
<requestHandler name="/select" class="solr.SearchHandler">
<lst name="defaults">
       <str name="echoParams">explicit</str>
       <int name="rows">10</int>
<str name="defType">edismax</str>
       <str name="qf">
	   field1^5.0 field2^1.0

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message