[
https://issues.apache.org/jira/browse/CONNECTORS-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13562704#comment-13562704
]
Karl Wright commented on CONNECTORS-623:
----------------------------------------
Unfortunately, I can't find a good way to make SolrJ use a multipart form,
other than to provide a SECOND dummy content stream. Here's the code:
{code}
boolean isMultipart = ( streams != null && streams.size() > 1 );
{code}
So this is what I think is necessary. (1) Please commit your change to trunk,
and I will pull it up to the release branch. (2) I will also commit a change
which sets the stream's content name properly, and pull that up to the release
branch also. (3) I will open another ticket in Solr to deal with the fact that
SolrJ may lose key information when it does not multi-part post.
> stream_size and stream_name can't be sent
> -----------------------------------------
>
> Key: CONNECTORS-623
> URL: https://issues.apache.org/jira/browse/CONNECTORS-623
> Project: ManifoldCF
> Issue Type: Bug
> Components: Lucene/SOLR connector
> Affects Versions: ManifoldCF 1.1
> Reporter: Shinichiro Abe
> Priority: Minor
> Fix For: ManifoldCF 1.1
>
> Attachments: CONNECTORS-623.patch
>
>
> These metadata can be sent to Solr in MCF 1.0.1 but can not be sent in MCF
> 1.1.
> I think it is because of SolrJ.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira