public abstract class BaseEditorialTransformer extends TransformerWithContext
context| Constructor and Description |
|---|
BaseEditorialTransformer(String name,
String idFieldName,
FieldType ft) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Set<String> |
getIdSet() |
protected String |
getKey(SolrDocument doc) |
String |
getName() |
void |
transform(SolrDocument doc,
int docid)
This is where implementations do the actual work
|
setContexttoStringpublic String getName()
getName in class DocTransformerpublic void transform(SolrDocument doc, int docid)
DocTransformertransform in class DocTransformerdoc - The document to alterdocid - The Lucene internal doc idprotected String getKey(SolrDocument doc)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.