Koji Kawamura created NIFI-4514:
-----------------------------------

             Summary: Import Solr schema to NiFi record schema
                 Key: NIFI-4514
                 URL: https://issues.apache.org/jira/browse/NIFI-4514
             Project: Apache NiFi
          Issue Type: Improvement
          Components: Extensions
            Reporter: Koji Kawamura


As Solr related components start supporting NiFi record data model, it would be 
helpful if NiFi Solr processors can create NiFi record schema from Solr 
document schema automatically.

Principally this is possible, by using the Schema API but can be difficult to 
implement it right. Known requirements and challenges are:

# Solr provides various different field types for different kinds of data. For 
instance, an integer could be derived from an Int, TrieInt (version < 7.0) or 
Pint (version >= 7.0) field. This requires a comprehensive fieldtype-datatype 
mapping.
# Requires parsing of response json, as the response parsing of Schema API is 
not really realized in SolrJ
# Dynamic fields could become a problem



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to