org.elasticsearch.index.query.BoostableQueryBuilder Maven / Gradle / Ivy
package org.elasticsearch.index.query;
/**
* Query builder which allow setting some boost
*/
public interface BoostableQueryBuilder> {
/**
* Sets the boost for this query. Documents matching this query will (in addition to the normal
* weightings) have their score multiplied by the boost provided.
*/
public B boost(float boost);
}