public class LuceneLinearDecayFunction extends Object implements LuceneScoreFunction
Constructor and Description |
---|
LuceneLinearDecayFunction(LuceneScoreFunction source,
DecayParameters params) |
Modifier and Type | Method and Description |
---|---|
double |
apply(org.apache.lucene.index.AtomicReader reader,
int docId) |
public LuceneLinearDecayFunction(LuceneScoreFunction source, DecayParameters params)
public double apply(org.apache.lucene.index.AtomicReader reader, int docId) throws IOException
apply
in interface LuceneScoreFunction
IOException
Copyright © 2003–2021 Atlassian. All rights reserved.
View cookie preferences