FunctionScoreQuery
instead.@Deprecated public interface BoostingQueryFactory
This service exists as a replacement for constructing lucene BoostingQueries directly.
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 queryParameters,
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.
|
org.apache.lucene.search.Query createLuceneBoostingQueryWithPluggableStrategy(org.apache.lucene.search.Query query)
query
- the query to wrap with a boosting queryorg.apache.lucene.search.Query createLuceneBoostingQueryWithPluggableStrategy(org.apache.lucene.search.Query query, SearchQueryParameters searchQueryParameters)
query
- the query to wrap with a boosting queryorg.apache.lucene.search.Query createLuceneBoostingQuery(org.apache.lucene.search.Query query, BoostingStrategy boostingStrategy)
query
- the query to wrap with a boosting queryboostingStrategy
- the boosting strategy to apply to the wrapped queryorg.apache.lucene.search.Query createLuceneBoostingQuery(org.apache.lucene.search.Query query, SearchQueryParameters queryParameters, BoostingStrategy boostingStrategy)
query
- the query to wrap with a boosting queryboostingStrategy
- the boosting strategy to apply to the wrapped queryBoostingStrategy getPluggableBoostingStrategy()
Copyright © 2003–2020 Atlassian. All rights reserved.