[
https://issues.apache.org/jira/browse/SOLR-12843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16643221#comment-16643221
]
Jan Høydahl commented on SOLR-12843:
------------------------------------
[~noble.paul] your latest commit b4d9b25f4430d1c6491986d6f1805210bf1cfd39 does
not pass precommit.
{noformat}
[forbidden-apis] Scanning classes for violations...
[forbidden-apis] Forbidden method invocation:
java.io.InputStreamReader#<init>(java.io.InputStream) [Uses default charset]
[forbidden-apis] in
org.apache.solr.client.solrj.request.MultiContentWriterRequest
(MultiContentWriterRequest.java:95){noformat}
> Use ContentWriter to post multiple files/payload at once
> ---------------------------------------------------------
>
> Key: SOLR-12843
> URL: https://issues.apache.org/jira/browse/SOLR-12843
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Noble Paul
> Assignee: Noble Paul
> Priority: Major
> Fix For: 7.6
>
> Attachments: SOLR-12843.patch
>
>
> As we have deprecated the {{Collection<ContentStream> getContentStreams()}}
> in {{SolrRequest}} multipart post is not possible. The new recommended method
> is {{getContentWriter()}} . This only supports a single file in one request.
> it should be possible to post multiple payloads at once.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]