FunctionScoreQuery
instead.@Deprecated public interface ExplainableBoostingStrategy extends BoostingStrategy
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Explanation |
explain(org.apache.lucene.index.AtomicReaderContext context,
int doc,
org.apache.lucene.search.Explanation delegate)
Deprecated.
Return an explanation of the boosting.
|
boost, boost, boost
org.apache.lucene.search.Explanation explain(org.apache.lucene.index.AtomicReaderContext context, int doc, org.apache.lucene.search.Explanation delegate) throws IOException
For the explanation instance returned, clients should remember to call Explanation.addDetail(Explanation)
on the 'delegate' explanation.
context
- the atomic reader contextdoc
- the doc id (local to the segment)delegate
- an explanation of the raw score which this strategy will boostIOException
- IOExceptionCopyright © 2003–2020 Atlassian. All rights reserved.