|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.elasticsearch.index.query.xcontent.BaseQueryBuilder
org.elasticsearch.index.query.xcontent.CustomBoostFactorQueryBuilder
public class CustomBoostFactorQueryBuilder
A query that simply applies the boost factor to another query (multiply it).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent |
|---|
ToXContent.MapParams, ToXContent.Params |
| Field Summary |
|---|
| Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent |
|---|
EMPTY_PARAMS |
| Constructor Summary | |
|---|---|
CustomBoostFactorQueryBuilder(XContentQueryBuilder queryBuilder)
A query that simply applies the boost factor to another query (multiply it). |
|
| Method Summary | |
|---|---|
CustomBoostFactorQueryBuilder |
boostFactor(float boost)
Sets the boost factor for this query. |
protected void |
doXContent(XContentBuilder builder,
ToXContent.Params params)
|
| Methods inherited from class org.elasticsearch.index.query.xcontent.BaseQueryBuilder |
|---|
buildAsBytes, buildAsBytes, buildAsUnsafeBytes, buildAsUnsafeBytes, toXContent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CustomBoostFactorQueryBuilder(XContentQueryBuilder queryBuilder)
queryBuilder - The query to apply the boost factor to.| Method Detail |
|---|
public CustomBoostFactorQueryBuilder boostFactor(float boost)
protected void doXContent(XContentBuilder builder,
ToXContent.Params params)
throws java.io.IOException
doXContent in class BaseQueryBuilderjava.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||