You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2018/10/09 12:02:00 UTC
[jira] [Commented] (SOLR-12843) Use ContentWriter to post multiple
files/payload at once
[ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org