public class ScoreAugmenter extends DocTransformer
context| Constructor and Description |
|---|
ScoreAugmenter(String display) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
void |
transform(SolrDocument doc,
int docid,
float score)
This is where implementations do the actual work
|
getExtraRequestFields, setContext, toStringpublic ScoreAugmenter(String display)
public String getName()
getName in class DocTransformerpublic void transform(SolrDocument doc, int docid, float score)
DocTransformertransform in class DocTransformerdoc - The document to alterdocid - The Lucene internal doc idscore - the score for this documentCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.