FunctionScoreQuery
instead.@Deprecated public class BoostingQuery extends WrappingQuery
BoostingStrategy
to
boost scores for documents which match the underlying query.
This query had been deactivated and moved to confluence-search plugin then was moved back from the plugin and reactivated since 6.15.0.
wrappedQuery
Constructor and Description |
---|
BoostingQuery(org.apache.lucene.search.Query contextQuery,
SearchQueryParameters searchQueryParameters,
BoostingStrategy boostStrategy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.IndexSearcher searcher)
Deprecated.
|
void |
extractTerms(Set<org.apache.lucene.index.Term> terms)
Deprecated.
|
org.apache.lucene.search.Query |
getContextQuery()
Deprecated.
|
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader)
Deprecated.
|
String |
toString(String field)
Deprecated.
|
getWrappedQuery
public BoostingQuery(org.apache.lucene.search.Query contextQuery, SearchQueryParameters searchQueryParameters, BoostingStrategy boostStrategy)
public org.apache.lucene.search.Query getContextQuery()
public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher) throws IOException
createWeight
in class org.apache.lucene.search.Query
IOException
public String toString(String field)
toString
in class org.apache.lucene.search.Query
public void extractTerms(Set<org.apache.lucene.index.Term> terms)
extractTerms
in class org.apache.lucene.search.Query
public org.apache.lucene.search.Query rewrite(org.apache.lucene.index.IndexReader reader) throws IOException
rewrite
in class org.apache.lucene.search.Query
IOException
Copyright © 2003–2020 Atlassian. All rights reserved.