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