public class LuceneLongFieldValueSource extends Object implements LuceneScoreFunction
Constructor and Description |
---|
LuceneLongFieldValueSource(String fieldName) |
Modifier and Type | Method and Description |
---|---|
double |
apply(org.apache.lucene.index.AtomicReader reader,
int docId) |
public LuceneLongFieldValueSource(String fieldName)
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.