/** Sole constructor: wrap {@code query} in such a way that the produced * scores will be boosted by {@code boost}. */ public BoostQuery(Query query, float boost) { this.query = Objects.requireNonNull(query); setBoost(boost); }
/** Sole constructor: wrap {@code query} in such a way that the produced * scores will be boosted by {@code boost}. */ public BoostQuery(Query query, float boost) { this.query = Objects.requireNonNull(query); setBoost(boost); }