public class DocTransformers extends DocTransformer
| Constructor and Description |
|---|
DocTransformers() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTransformer(DocTransformer a) |
String |
getName() |
DocTransformer |
getTransformer(int idx) |
void |
setContext(TransformContext context)
This is called before transform and sets
|
int |
size() |
void |
transform(SolrDocument doc,
int docid)
This is where implementations do the actual work
|
toStringpublic String getName()
getName in class DocTransformerpublic void addTransformer(DocTransformer a)
public int size()
public DocTransformer getTransformer(int idx)
public void setContext(TransformContext context)
DocTransformersetContext in class DocTransformercontext - The TransformContext stores information about the current state of things in Solr that may be
useful for doing transformations.public void transform(SolrDocument doc, int docid) throws IOException
DocTransformertransform in class DocTransformerdoc - The document to alterdocid - The Lucene internal doc idIOException - If there is a low-level I/O error.Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.