Class CategoryQueryContext.Builder
org.elasticsearch.search.suggest.completion.context.CategoryQueryContext.Builder
- Enclosing class:
- CategoryQueryContext
public static class CategoryQueryContext.Builder
extends
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.
, , , , , , , , , ,
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setCategory
public category)Sets the category of the category. This is a required field -
setPrefix
Sets if the context should be treated as a prefix or not. Defaults to false -
setBoost
Sets the query-time boost of the context. Defaults to 1. -
build
-