[
https://issues.apache.org/jira/browse/CONNECTORS-1533?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16623781#comment-16623781
]
Karl Wright commented on CONNECTORS-1533:
-----------------------------------------
I posted to [email protected] describing the problem, and committed a fix
that allowed the integration test to pass. Basically, if the URL required is
more than 4000 characters, it will use multipart post. Otherwise it will do
whatever SolrJ wants.
I am still very concerned that there are a number of fixes we needed to add to
SolrJ to make it work with our setup. One case I know that will not work is
the multipart form's name field, which cannot be transmitted to Solr Cell
through a standard URL. Thus my hack is going to break this functionality. I
expect it will impact folks like [~shinichiro abe], because they have relied on
this in the past. Unfortunately I know of no other workaround at this time, so
the release will be postponed further until we find one.
> Solr Connector is unable to ingest documents
> --------------------------------------------
>
> Key: CONNECTORS-1533
> URL: https://issues.apache.org/jira/browse/CONNECTORS-1533
> Project: ManifoldCF
> Issue Type: Bug
> Components: Lucene/SOLR connector
> Affects Versions: ManifoldCF 2.11
> Reporter: Julien Massiera
> Assignee: Karl Wright
> Priority: Major
> Fix For: ManifoldCF 2.11
>
>
> The "r69acbd9 - Fix solr connector content deletion bug" has introduced
> another bug :
> It is now impossible to ingest documents into Solr 7.4.0, we obtain the
> following error : Error from server at http://localhost:8983/solr/FileShare:
> missing content stream
> The fact is, the requestWriter.getContentWriter(request) object is equal to
> null only on commit requests. So the new lines of code introduced by the fix,
> which are based on the test of this object, result in a null
> Collection<ContentStream> streams object and so the update request is failing.
> Concerned class :
> org.apache.manifoldcf.agents.output.solr.ModifiedHttpSolrClient
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)