[jira] [Commented] (SOLR-12843) Use ContentWriter to post multiple files/payload at once

2018-10-09 Thread Steve Rowe (JIRA)


[ 
https://issues.apache.org/jira/browse/SOLR-12843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16644229#comment-16644229
 ] 

Steve Rowe commented on SOLR-12843:
---

Noble fixed MultiContentWriterRequest.java in commits {{2aed752f}} (branch_7x) 
and {{a52d47a1}} (master).

I fixed SolrExampleTests.java in commits {{da27e603}} (branch_7x) and 
{{8d205ecd}} (master).

> 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 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-12843) Use ContentWriter to post multiple files/payload at once

2018-10-09 Thread JIRA


[ 
https://issues.apache.org/jira/browse/SOLR-12843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16643273#comment-16643273
 ] 

Jan Høydahl commented on SOLR-12843:


Also this:
{noformat}
[ecj-lint] 1. ERROR in 
/Users/janhoy/git/lucene-solr/solr/solrj/src/test/org/apache/solr/client/solrj/SolrExampleTests.java
 (at line 72)
 [ecj-lint] import org.apache.solr.common.util.Utils;
 [ecj-lint]       ^
 [ecj-lint] The import org.apache.solr.common.util.Utils is never used
 {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 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-12843) Use ContentWriter to post multiple files/payload at once

2018-10-09 Thread JIRA


[ 
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#(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 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org