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)
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)
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)
Create a boosting query using the pluggable boosting strategy
|
org.apache.lucene.search.Query |
createLuceneBoostingQueryWithPluggableStrategy(org.apache.lucene.search.Query query,
SearchQueryParameters searchQueryParameters)
Create a boosting query using the pluggable boosting strategy that is aware of the searchQueryParameters
used to generate the query to wrap
|
BoostingStrategy |
getPluggableBoostingStrategy() |
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–2017 Atlassian. All rights reserved.