Skip to content

Commit

Permalink
Update solrconfig.xml
Browse files Browse the repository at this point in the history
Add boost function ("bf") param to boost non-child documents, making child documents score lower by default.

Addresses: geobtaa/geoportal#235
  • Loading branch information
ewlarson committed Jun 28, 2019
1 parent cde4b0a commit aa4d3e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conf/solrconfig.xml
Expand Up @@ -115,6 +115,7 @@
<str name="fl">*,score</str>
<str name="sort">score desc, dc_title_sort asc</str>
<str name="q.alt">*:*</str>
<str name="bf">if(exists(b1g_child_record_b),0,100)^0.5</str>
<str name="qf">
text^1
dc_description_ti^2
Expand Down

0 comments on commit aa4d3e5

Please sign in to comment.