I don't know if this use-case is too specific to be a feature for a future release, but I would like to see the AttributesToJSON processor support multi-valued fields.
In my use-case, I am storing JSON documents into Solr, and there are two ways to store multi-valued fields: using an array and repeating keys in the JSON document. The result is a JSON array stored in that field in Solr, regardless if you submit repeated keys or not. *Would we like to see this implemented, and how should we go about doing so?* I was thinking that if a FlowFile attribute is a comma-separated list, we could continue to use the Jackson ObjectMapper() and convert it to an array. -- View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/AttributesToJSON-Multi-Valued-Fields-tp10452.html Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.
