public abstract class BaseEditorialTransformer extends DocTransformer
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,
float score)
This is where implementations do the actual work
|
getExtraRequestFields, setContext, toStringpublic String getName()
getName in class DocTransformerpublic void transform(SolrDocument doc, int docid, float score)
DocTransformertransform in class DocTransformerdoc - The document to alterdocid - The Lucene internal doc idscore - the score for this documentprotected String getKey(SolrDocument doc)
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.