From dev-return-17969-archive-asf-public=cust-asf.ponee.io@manifoldcf.apache.org Mon Apr 23 10:42: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 0DD47180676 for ; Mon, 23 Apr 2018 10:42:04 +0200 (CEST) Received: (qmail 6944 invoked by uid 500); 23 Apr 2018 08:42: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 6596 invoked by uid 99); 23 Apr 2018 08:42:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Apr 2018 08:42:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id CC9D1C6EB4 for ; Mon, 23 Apr 2018 08:42:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-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 (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id U8XDKoglYmrz for ; Mon, 23 Apr 2018 08:42:02 +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 CDE715FB9D for ; Mon, 23 Apr 2018 08:42:01 +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 18C88E0F10 for ; Mon, 23 Apr 2018 08:42: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 704EC241CA for ; Mon, 23 Apr 2018 08:42:00 +0000 (UTC) Date: Mon, 23 Apr 2018 08:42:00 +0000 (UTC) From: "Maxence SAUNIER (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (CONNECTORS-1503) UpdateProcessor SolrCloud and ManifoldCF 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-1503?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D16447764#comment-16447764 ]=20 Maxence SAUNIER edited comment on CONNECTORS-1503 at 4/23/18 8:41 AM: ---------------------------------------------------------------------- Hello Karl, Hello Abe-san, Sorry for the time to respond. I was busy this weekend. So, I have test and I have this result: *1. Test with Manifold and uniqFields:* (attached my config) With ManifodCF, literal.f1_ss =3D ["a", "a"]. So, URP not working. *2. With http request* {code:java} curl "http://myserver:8983/solr/dev1/update?processor=3DuniqFields&commit= =3Dtrue" -H 'Content-type: application/json' -d '[{"literal.f1_ss": ["a", "= a"] , "id":"test"}]' {code} literal.f1_ss =3D ["a"] So, the duplicate value is deleted. URP work. =C2=A0 I miss a configuration on ManifoldCF ? (PS: I have Solr 6.6) was (Author: moltroon): Hello Karl, Hello Abe-san, Sorry for the time to respond. I was busy this weekend. So, I have test and I have this result: *1. Test with Manifold and uniqFields:* (attached my config) With ManifodCF, literal.f1_ss =3D ["a", "a"]. So, URP not working. *2. With http request* {code:java} curl "http://myserver:8983/solr/dev1/update?processor=3DuniqFields&commit= =3Dtrue" -H 'Content-type: application/json' -d '[{"literal.f1_ss": ["a", "= a"] , "id":"test"}]' {code} literal.f1_ss =3D ["a"] So, the duplicate value is deleted. URP work. > UpdateProcessor SolrCloud and ManifoldCF > ---------------------------------------- > > Key: CONNECTORS-1503 > URL: https://issues.apache.org/jira/browse/CONNECTORS-150= 3 > Project: ManifoldCF > Issue Type: Bug > Components: Solr 6.x component > Affects Versions: ManifoldCF 2.9.1 > Environment: SolrCloud 6.6 > ManifoldCF 2.9.1 > Reporter: Maxence SAUNIER > Assignee: Shinichiro Abe > Priority: Major > Attachments: 20170421-1740.png, jira_update_processor.png, manifo= ldcf_arguments_uniqFields.png > > > Hello, > [Link to Apache mail archive|http://mail-archives.apache.org/mod_mbox/man= ifoldcf-user/201804.mbox/%3C079e01d3d7da%24807b8f60%248172ae20%24%40citya.c= om%3E] > When we used Argument option in ManifoldCF for SolrCloud, ManifoldCF add = they arguments on the POST request and not on the url parameters. So, for a= dd a (pre)processor or a post-processor with the url, it's not possible. > [SolrConfig updateRequestProcessorChain|https://lucene.apache.org/solr/gu= ide/6_6/config-api.html#ConfigAPI-Whatabout_updateRequestProcessorChain_] > [call UpdateRequestProcessors|https://lucene.apache.org/solr/guide/6_6/up= date-request-processors.html#UpdateRequestProcessors-Processor_Post-Process= orRequestParameters] > [Conf image|https://image.ibb.co/cZC8bn/jira_update_processor.png] > Solr response: > org.apache.solr.common.SolrException: ERROR: [doc=3Dfile://///srvics01/wa= ys_holding/gestion_ged/gerance/3573/201102081135_ENVOIDEVISPP.doc] unknown = field 'processor' -- This message was sent by Atlassian JIRA (v7.6.3#76005)