public class BoostingQuery
extends org.apache.lucene.search.Query
BoostingStrategy
to
boost scores for documents which match the underlying query.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 terms)
Deprecated.
|
org.apache.lucene.search.Query |
rewrite(org.apache.lucene.index.IndexReader reader)
Deprecated.
|
String |
toString(String field)
Deprecated.
|
public BoostingQuery(org.apache.lucene.search.Query contextQuery, SearchQueryParameters searchQueryParameters, BoostingStrategy boostStrategy)
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 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–2018 Atlassian. All rights reserved.