[
https://issues.apache.org/jira/browse/CONNECTORS-623?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13577527#comment-13577527
]
Karl Wright commented on CONNECTORS-623:
----------------------------------------
I think the null is coming from the Solr side. When SolrJ does not use
multipart forms, there is no name and no content length for the content being
sent to Solr, so Solr uses "null" instead. So your patch was just a workaround
for that SolrJ bug. Unfortunately, it's not a very good workaround.
The only ways to really fix this are:
(1) Solr accepts our SolrJ patch, which they have shown no sign of, OR
(2) If we modify the SolrJ jar with our own patches just for MCF.
I am thinking we should start thinking about doing (2).
> 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
> Assignee: Karl Wright
> 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