Search Boost changes in 11

I'm trying to override the boost function using the example in https://community.telligent.com/community/8/f/ask-the-community/1145622/posted-date-influence-in-solr-search

However, it is not working.  In version 11, sum(contentscore,+1) is passed to the query rather than the {!boost+b%3Dsum(contentscore,1)+defType%3Dedismax} that was in place in the previous version.

private void SolrEvents_BeforeSearch(BeforeSolrSearchEventArgs e)
{
if (e.SolrOptions.Url.Contains("boost"))
{
e.SolrOptions.Url = e.SolrOptions.Url.Replace("boost=sum(contentscore,+1)", "boost=recip(ms(NOW,date),3.16e-11,20,1)");//replace boost here; 
}

}