From dev-return-18587-archive-asf-public=cust-asf.ponee.io@manifoldcf.apache.org Tue Sep 25 13:54:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A4D73180675 for ; Tue, 25 Sep 2018 13:54:04 +0200 (CEST) Received: (qmail 79410 invoked by uid 500); 25 Sep 2018 11:54:03 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 79399 invoked by uid 99); 25 Sep 2018 11:54:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Sep 2018 11:54:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 0DAC9184DBE for ; Tue, 25 Sep 2018 11:54:09 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id TWihZ4rMFn6z for ; Tue, 25 Sep 2018 11:54:08 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 51FE95F11F for ; Tue, 25 Sep 2018 11:54:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 5F996E2637 for ; Tue, 25 Sep 2018 11:54:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8ED5123FAC for ; Tue, 25 Sep 2018 11:54:00 +0000 (UTC) Date: Tue, 25 Sep 2018 11:54:00 +0000 (UTC) From: "Karl Wright (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1533) Solr Connector is unable to ingest documents MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONNECTORS-1533?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D16627214#comment-16627214 ]=20 Karl Wright commented on CONNECTORS-1533: ----------------------------------------- The better fix is not actually better so I had to revisit it. The fix now does take into account the situation where URLs get too long fo= r normal PUT-style operations, and the code attempts to use multipart in th= at situation. I will need [~julienFL] to check out trunk and try it, thoug= h, and check to be sure his document with lots of metadata gets properly in= dexed. I'm not worried about deletes now because they all go through the d= efault pathway, and I've confirmed that extracting update handler requests = all do the right thing and use multipart. Standard update requests use PUT= except when the URL is too long. r1841918 r1841919 (release branch) > Solr Connector is unable to ingest documents > -------------------------------------------- > > Key: CONNECTORS-1533 > URL: https://issues.apache.org/jira/browse/CONNECTORS-153= 3 > 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 > > Attachments: 2018-09-23-012800.png, CONNECTORS-1533.patch > > > The "r69acbd9 - Fix solr connector content deletion bug" has introduced a= nother bug :=20 > It is now impossible to ingest documents into Solr 7.4.0, we obtain the f= ollowing error : Error from server at http://localhost:8983/solr/FileShare:= missing content stream > The fact is, the=C2=A0requestWriter.getContentWriter(request) object is e= qual to null only on commit requests. So the new lines of code introduced b= y the fix, which are based on the test of this object, result in a null=C2= =A0Collection streams object and so the update request is fa= iling. > Concerned class :=C2=A0org.apache.manifoldcf.agents.output.solr.ModifiedH= ttpSolrClient -- This message was sent by Atlassian JIRA (v7.6.3#76005)