public class LuceneAverageScoreFunction extends Object implements LuceneScoreFunction
Constructor and Description |
---|
LuceneAverageScoreFunction(List<? extends LuceneScoreFunction> functions,
List<Double> weights) |
Modifier and Type | Method and Description |
---|---|
double |
apply(org.apache.lucene.index.AtomicReader reader,
int docId) |
public LuceneAverageScoreFunction(List<? extends LuceneScoreFunction> functions, List<Double> weights)
public double apply(org.apache.lucene.index.AtomicReader reader, int docId) throws IOException
apply
in interface LuceneScoreFunction
IOException
Copyright © 2003–2020 Atlassian. All rights reserved.