FunctionScoreQuery instead.@Deprecated public class BoostQueryFactoryImpl extends Object implements BoostingQueryFactory
| Constructor and Description |
|---|
BoostQueryFactoryImpl(com.atlassian.confluence.search.v2.lucene.boosting.PluggableBoostingStrategy strategy)
Deprecated.
|
BoostQueryFactoryImpl(com.atlassian.confluence.search.v2.lucene.boosting.PluggableBoostingStrategyProvider provider)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
org.apache.lucene.search.Query |
createLuceneBoostingQuery(org.apache.lucene.search.Query query,
BoostingStrategy boostingStrategy)
Deprecated.
Create a boosting query using the provided boosting strategy.
|
org.apache.lucene.search.Query |
createLuceneBoostingQuery(org.apache.lucene.search.Query query,
SearchQueryParameters searchQueryParameters,
BoostingStrategy boostingStrategy)
Deprecated.
Create a boosting query using the provided boosting strategy that is aware of the searchQueryParameters
used to generate the query to wrap
|
org.apache.lucene.search.Query |
createLuceneBoostingQueryWithPluggableStrategy(org.apache.lucene.search.Query query)
Deprecated.
Create a boosting query using the pluggable boosting strategy
|
org.apache.lucene.search.Query |
createLuceneBoostingQueryWithPluggableStrategy(org.apache.lucene.search.Query query,
SearchQueryParameters searchQueryParameters)
Deprecated.
Create a boosting query using the pluggable boosting strategy that is aware of the searchQueryParameters
used to generate the query to wrap
|
BoostingStrategy |
getPluggableBoostingStrategy()
Deprecated.
|
public BoostQueryFactoryImpl(com.atlassian.confluence.search.v2.lucene.boosting.PluggableBoostingStrategyProvider provider)
public BoostQueryFactoryImpl(com.atlassian.confluence.search.v2.lucene.boosting.PluggableBoostingStrategy strategy)
public org.apache.lucene.search.Query createLuceneBoostingQueryWithPluggableStrategy(org.apache.lucene.search.Query query)
BoostingQueryFactorycreateLuceneBoostingQueryWithPluggableStrategy in interface BoostingQueryFactoryquery - the query to wrap with a boosting querypublic org.apache.lucene.search.Query createLuceneBoostingQueryWithPluggableStrategy(org.apache.lucene.search.Query query,
SearchQueryParameters searchQueryParameters)
BoostingQueryFactorycreateLuceneBoostingQueryWithPluggableStrategy in interface BoostingQueryFactoryquery - the query to wrap with a boosting querypublic org.apache.lucene.search.Query createLuceneBoostingQuery(org.apache.lucene.search.Query query,
BoostingStrategy boostingStrategy)
BoostingQueryFactorycreateLuceneBoostingQuery in interface BoostingQueryFactoryquery - the query to wrap with a boosting queryboostingStrategy - the boosting strategy to apply to the wrapped querypublic org.apache.lucene.search.Query createLuceneBoostingQuery(org.apache.lucene.search.Query query,
SearchQueryParameters searchQueryParameters,
BoostingStrategy boostingStrategy)
BoostingQueryFactorycreateLuceneBoostingQuery in interface BoostingQueryFactoryquery - the query to wrap with a boosting queryboostingStrategy - the boosting strategy to apply to the wrapped querypublic BoostingStrategy getPluggableBoostingStrategy()
getPluggableBoostingStrategy in interface BoostingQueryFactoryCopyright © 2003–2021 Atlassian. All rights reserved.