Dear Wiki user, You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.
The "DIHCustomTransformer" page has been changed by Maurizio Cucchiara: http://wiki.apache.org/solr/DIHCustomTransformer?action=diff&rev1=11&rev2=12 Comment: Row map doesn't contain any string values // Apply trim on this field String columnName = field.get(DataImporter.COLUMN); // Get this field's value from the current row - String value = row.get(columnName); + Object value = row.get(columnName); // Trim and put the updated value back in the current row if (value != null) - row.put(columnName, value.trim()); + row.put(columnName, value.toString().trim()); } }