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
|
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 idprotected String getKey(SolrDocument doc)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.