public class ScoreAugmenter extends TransformerWithContext
context
Constructor and Description |
---|
ScoreAugmenter(String display) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
void |
transform(SolrDocument doc,
int docid)
This is where implementations do the actual work
|
setContext
toString
public ScoreAugmenter(String display)
public String getName()
getName
in class DocTransformer
public void transform(SolrDocument doc, int docid)
DocTransformer
transform
in class DocTransformer
doc
- The document to alterdocid
- The Lucene internal doc idCopyright © 2000-2014 Apache Software Foundation. All Rights Reserved.