code: public void injectParamsAndBoost(JsonObject input) {
          if (boost != null) {
              input.put("boost", boost);
          }
          injectParams(input);
      }
docs: Injects the query's parameters (including the common boost and query-specific parameters)
  into a prepared {@link JsonObject}.
  
  @param input the prepared JsonObject to receive the parameters.
  @see SearchQuery#export() for a usage of this method.