Java api: make BoostableQueryBuilder package private

This commit is contained in:
javanna 2015-06-23 09:32:24 +02:00 committed by Luca Cavanna
parent 90a7b4868e
commit 99dee81d76
1 changed files with 2 additions and 2 deletions

View File

@ -22,12 +22,12 @@ package org.elasticsearch.index.query;
/**
* Query builder which allow setting some boost
*/
public interface BoostableQueryBuilder<B extends BoostableQueryBuilder<B>> {
interface BoostableQueryBuilder<B extends BoostableQueryBuilder<B>> {
/**
* 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);
B boost(float boost);
}