It looks to me like we wrap `distance_feature` queries in boost at the query builder layer and Lucene also wraps them lower down. Check out https://github.com/elastic/elasticsearch/pull/63638.