You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@manifoldcf.apache.org by "Karl Wright (JIRA)" <ji...@apache.org> on 2018/09/21 12:42:00 UTC

[jira] [Commented] (CONNECTORS-1533) Solr Connector is unable to ingest documents

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

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

Hi [~julienFL], the IT tests I ran do indeed index documents via SolrJ successfully, so I am not sure what the disconnect is.

The changes I committed include lines from the HttpSolrClient class method corresponding to the one that was overridden.  The only difference is that HTTP 2.0 support was not included.

If you are seeing a specific exception please include it.


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