final class CategoryAppenderNoSubCategories extends java.lang.Object implements DocumentAppender
Modifier and Type | Field and Description |
---|---|
private DocumentValueAppender |
appender |
Constructor and Description |
---|
CategoryAppenderNoSubCategories(DocumentValueAppender appender) |
Modifier and Type | Method and Description |
---|---|
void |
append(org.apache.solr.common.SolrInputDocument doc,
IProduct product)
Takes data from the product and adds it to the document.
|
private final DocumentValueAppender appender
@Inject public CategoryAppenderNoSubCategories(DocumentValueAppender appender)
public void append(org.apache.solr.common.SolrInputDocument doc, IProduct product)
DocumentAppender
append
in interface DocumentAppender
doc
- The document to which the data has to be added.product
- The product from which the data is taken.