IMPORTANT: No additional bug fixes or documentation updates
will be released for this version. For the latest information, see the
current release documentation.
Custom Boost Factor Queryedit
QueryBuilders.customBoostFactorQuery(QueryBuilders.matchAllQuery()) // Your query .boostFactor(3.1f);