manifoldcf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karl Wright (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CONNECTORS-1533) Solr Connector is unable to ingest documents
Date Fri, 21 Sep 2018 13:40:00 GMT

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

Karl Wright commented on CONNECTORS-1533:
-----------------------------------------

The issue is that they changed the flow through this method to do something different if it's
a PUT or a POST.  In that case, the metadata is converted to URL parameters, and the stream
is sent via the contentWriter.

I overlooked this code before.  I've added it in.  But now I'm concerned that this is how
all requests ManifoldCF makes to Solr will be made, and multipart forms will not be used.
 That's fatal because it has a length limitation.

r 1841587 (trunk)
r 1841588 (release branch)


> 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
>
> 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)

Mime
View raw message