public static class CategoryQueryContext.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CategoryQueryContext |
build() |
CategoryQueryContext.Builder |
setBoost(int boost)
Sets the query-time boost of the context.
|
CategoryQueryContext.Builder |
setCategory(java.lang.String category)
Sets the category of the category.
|
CategoryQueryContext.Builder |
setPrefix(boolean prefix)
Sets if the context should be treated as a prefix or not.
|
public CategoryQueryContext.Builder setCategory(java.lang.String category)
public CategoryQueryContext.Builder setPrefix(boolean prefix)
public CategoryQueryContext.Builder setBoost(int boost)
public CategoryQueryContext build()