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)
This is where implementations do the actual work.
|
getExtraRequestFields, needsSolrIndexSearcher, setContext, toString, transform
public String getName()
getName
in class DocTransformer
public void transform(SolrDocument doc, int docid)
DocTransformer
DocTransformer.needsSolrIndexSearcher()
method must return truetransform
in class DocTransformer
doc
- The document to alterdocid
- The Lucene internal doc id, or -1 in cases where the doc
did not come from the indexDocTransformer.needsSolrIndexSearcher()
protected String getKey(SolrDocument doc)
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.