FunctionScoreQuery
instead.@Deprecated public class BoostQueryFactoryImpl extends Object implements BoostingQueryFactory
Constructor and Description |
---|
BoostQueryFactoryImpl(com.atlassian.confluence.search.v2.lucene.boosting.PluggableBoostingStrategy pluggableBoostingStrategy)
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.
|
@Autowired public BoostQueryFactoryImpl(com.atlassian.confluence.search.v2.lucene.boosting.PluggableBoostingStrategy pluggableBoostingStrategy)
public org.apache.lucene.search.Query createLuceneBoostingQueryWithPluggableStrategy(org.apache.lucene.search.Query query)
BoostingQueryFactory
createLuceneBoostingQueryWithPluggableStrategy
in interface BoostingQueryFactory
query
- the query to wrap with a boosting querypublic org.apache.lucene.search.Query createLuceneBoostingQueryWithPluggableStrategy(org.apache.lucene.search.Query query, SearchQueryParameters searchQueryParameters)
BoostingQueryFactory
createLuceneBoostingQueryWithPluggableStrategy
in interface BoostingQueryFactory
query
- the query to wrap with a boosting querypublic org.apache.lucene.search.Query createLuceneBoostingQuery(org.apache.lucene.search.Query query, BoostingStrategy boostingStrategy)
BoostingQueryFactory
createLuceneBoostingQuery
in interface BoostingQueryFactory
query
- 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)
BoostingQueryFactory
createLuceneBoostingQuery
in interface BoostingQueryFactory
query
- the query to wrap with a boosting queryboostingStrategy
- the boosting strategy to apply to the wrapped querypublic BoostingStrategy getPluggableBoostingStrategy()
getPluggableBoostingStrategy
in interface BoostingQueryFactory
Copyright © 2003–2020 Atlassian. All rights reserved.