Github user bbende commented on the pull request:

    https://github.com/apache/incubator-nifi/pull/43#issuecomment-94590366
  
    Thanks for reviewing Mike. 
    
    With regards to the ContentStreamUpdateRequest... I actually hadn't thought 
about using it for deletes, but I just did a test and it worked. So it should 
work for almost any add/update/delete example in the Solr documentation. It 
would just require an upstream processor that was producing the right commands, 
where as for the case of adding new documents it seems more likely that you 
already have some data (json, csv, etc) that you can just fork into Solr.
    
    I was thinking there eventually might be a use case for another type of 
"PutSolr" processor that reads in data in a standard format (maybe avro) and 
converted to a SolrInputDocument, but seemed like the ContentStream approach 
gave the most flexibility initially.  
    



---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to