Skip to Content
Former Member
Feb 27, 2019 at 01:22 PM

How to Get productData inside solr value provider ?


Here my requirement getting ProductData insted of Product model. Exaple: public Collection getFieldValues(final IndexConfig indexConfig, final IndexedProperty indexedProperty, final Object model) throws FieldValueProviderException { if (model instanceof ProductData) { final ProductData product = (ProductData) model;

But this Code is not working , cal you please suggest how to get ProductData inside the Solr value provider. ?