I'm trying to implement SOLR-85 using SOLR-104 content streams... but it raises a simple behavior question.
If you have a form: <form> <textarea name="stream.body"> </textarea> <input type="file" name="file"/> </form> If you upload a file, the update plugin is sent two content streams: one with the contents of the file, the other with contents " ". As written the XmlUpdateHandler parses each stream and breaks when it hits the empty string. Options: 1. this should be implemented with two forms - every field sent should be used 2. if stream.body.trim().length() == 0, don't make a stream I vote for #2, thoughts?