All Downloads are FREE. Search and download functionalities are using the official Maven repository.

querqy.model.BoostQuery Maven / Gradle / Ivy

There is a newer version: 3.18.1
Show newest version
/**
 * 
 */
package querqy.model;

/**
 * @author René Kriegler, @renekrie
 *
 */
public class BoostQuery {

   final QuerqyQuery query;
   final float boost;

   public BoostQuery(QuerqyQuery query, float boost) {

      this.boost = boost;
      this.query = query;

   }

   @Override
   public String toString() {
      return "BoostQuery [query=" + query + ", boost=" + boost + "]";
   }

   public float getBoost() {
      return boost;
   }

   public QuerqyQuery getQuery() {
      return query;
   }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy