public class MtasScoreProvider
extends org.apache.lucene.queries.CustomScoreProvider
Constructor and Description |
---|
MtasScoreProvider(org.apache.lucene.index.LeafReaderContext context)
Instantiates a new mtas score provider.
|
Modifier and Type | Method and Description |
---|---|
float |
customScore(int doc,
float subQueryScore,
float valSrcScore) |
float |
customScore(int doc,
float subQueryScore,
float[] valSrcScores) |
public MtasScoreProvider(org.apache.lucene.index.LeafReaderContext context)
context
- the contextpublic float customScore(int doc, float subQueryScore, float valSrcScore)
customScore
in class org.apache.lucene.queries.CustomScoreProvider
public float customScore(int doc, float subQueryScore, float[] valSrcScores) throws IOException
customScore
in class org.apache.lucene.queries.CustomScoreProvider
IOException
Copyright © 2018 Meertens Institute. All rights reserved.