mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
Merge pull request #11815 from javanna/enhancement/boostable_query_builder_pkg
Java api: make BoostableQueryBuilder package private
This commit is contained in:
commit
a01bb991a2
@ -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);
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user