public class RenameFieldTransformer extends DocTransformer
Constructor and Description |
---|
RenameFieldTransformer(String from,
String to,
boolean copy) |
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 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.