Class BooleanQuery.Builder
- java.lang.Object
-
- com.atlassian.confluence.search.v2.BooleanQueryBuilder<SearchQuery>
-
- com.atlassian.confluence.search.v2.query.BooleanQuery.Builder
-
- Enclosing class:
- BooleanQuery
public static class BooleanQuery.Builder extends BooleanQueryBuilder<SearchQuery>
-
-
Field Summary
-
Fields inherited from class com.atlassian.confluence.search.v2.BooleanQueryBuilder
boost, DEFAULT_BOOST_FACTOR, must, mustNot, should
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanQueryBuilder<SearchQuery>
addFilter(SearchQuery filter)
BooleanQueryBuilder<SearchQuery>
addFilters(Set<SearchQuery> filters)
SearchQuery
build()
BooleanQueryBuilder<SearchQuery>
disableCoord(boolean disableCoord)
Specifies whether similarity-coord is disabledboolean
isEmpty()
-
Methods inherited from class com.atlassian.confluence.search.v2.BooleanQueryBuilder
addMust, addMust, addMust, addMustNot, addMustNot, addMustNot, addShould, addShould, addShould, boost
-
-
-
-
Method Detail
-
addFilter
public BooleanQueryBuilder<SearchQuery> addFilter(SearchQuery filter)
-
addFilters
public BooleanQueryBuilder<SearchQuery> addFilters(Set<SearchQuery> filters)
-
disableCoord
public BooleanQueryBuilder<SearchQuery> disableCoord(boolean disableCoord)
Specifies whether similarity-coord is disabled- Parameters:
disableCoord
-- Returns:
- this builder
- Since:
- 8.7
-
build
public SearchQuery build()
- Specified by:
build
in classBooleanQueryBuilder<SearchQuery>
-
isEmpty
public boolean isEmpty()
-
-