Return-Path: Delivered-To: apmail-lucene-solr-dev-archive@minotaur.apache.org Received: (qmail 32443 invoked from network); 14 Dec 2009 07:49:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Dec 2009 07:49:41 -0000 Received: (qmail 18922 invoked by uid 500); 14 Dec 2009 07:49:40 -0000 Delivered-To: apmail-lucene-solr-dev-archive@lucene.apache.org Received: (qmail 18832 invoked by uid 500); 14 Dec 2009 07:49:40 -0000 Mailing-List: contact solr-dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-dev@lucene.apache.org Delivered-To: mailing list solr-dev@lucene.apache.org Received: (qmail 18822 invoked by uid 99); 14 Dec 2009 07:49:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 07:49:40 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2009 07:49:38 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 30AB929A0012 for ; Sun, 13 Dec 2009 23:49:18 -0800 (PST) Message-ID: <89617001.1260776958197.JavaMail.jira@brutus> Date: Mon, 14 Dec 2009 07:49:18 +0000 (UTC) From: "Shalin Shekhar Mangar (JIRA)" To: solr-dev@lucene.apache.org Subject: [jira] Commented: (SOLR-1653) add PatternReplaceCharFilter In-Reply-To: <1528043392.1260723198152.JavaMail.jira@brutus> 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/SOLR-1653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12790026#action_12790026 ] Shalin Shekhar Mangar commented on SOLR-1653: --------------------------------------------- Koji, even after reading through the test, I do not understand how to use it. Are the characters in curly braces, written down for non-groups only? What if I want to remove one particular group? It is always good to write a use-case and an example in the issue description itself. > add PatternReplaceCharFilter > ---------------------------- > > Key: SOLR-1653 > URL: https://issues.apache.org/jira/browse/SOLR-1653 > Project: Solr > Issue Type: New Feature > Components: Schema and Analysis > Affects Versions: 1.4 > Reporter: Koji Sekiguchi > Assignee: Koji Sekiguchi > Priority: Minor > Fix For: 1.5 > > Attachments: SOLR-1653.patch > > > Add a new CharFilter that uses a regular expression for the target of replace string in char stream. > Usage: > {code:title=schema.xml} > > > groupedPattern="([nN][oO]\.)\s*(\d+)" > replaceGroups="1,2" blockDelimiters=":;"/> > > > > > {code} -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.