Return-Path: X-Original-To: apmail-manifoldcf-dev-archive@www.apache.org Delivered-To: apmail-manifoldcf-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6724C10207 for ; Fri, 6 Jun 2014 00:24:03 +0000 (UTC) Received: (qmail 77540 invoked by uid 500); 6 Jun 2014 00:24:03 -0000 Delivered-To: apmail-manifoldcf-dev-archive@manifoldcf.apache.org Received: (qmail 77466 invoked by uid 500); 6 Jun 2014 00:24: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 77449 invoked by uid 99); 6 Jun 2014 00:24:02 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jun 2014 00:24:02 +0000 Date: Fri, 6 Jun 2014 00:24:02 +0000 (UTC) From: "Shinichiro Abe (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-956) Field names are URL encoded MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONNECTORS-956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14019450#comment-14019450 ] Shinichiro Abe commented on CONNECTORS-956: ------------------------------------------- I've already configure in Solr like below, so if you change the code, I hope to add a option that select whether preEncode() is used or not for backwards compatibility. {noformat} cm_name_2g cm_created_dt {noformat} > Field names are URL encoded > --------------------------- > > Key: CONNECTORS-956 > URL: https://issues.apache.org/jira/browse/CONNECTORS-956 > Project: ManifoldCF > Issue Type: Improvement > Components: Lucene/SOLR connector > Affects Versions: ManifoldCF 1.6.1 > Reporter: Piergiorgio Lucidi > Original Estimate: 24h > Remaining Estimate: 24h > > The field names provided by some repositories such as Alfresco are based on an URI similar to: > {code} > {http://www.alfresco.org/model/system}store_identifier > {code} > But in Solr we found the following field name: > {code} > http_3a_2f_2fwww_alfresco_org_2fmodel_2fsystem_2f1_0_7dstore_identifier > {code} > The code involved in the Solr connector is the following: > {code} > protected static String preEncode(String fieldName) > { > return URLEncoder.encode(fieldName); > } > {code} > Probably we should try to solve it removing the preEncode invocation. -- This message was sent by Atlassian JIRA (v6.2#6252)