Return-Path: X-Original-To: apmail-lucene-solr-user-archive@minotaur.apache.org Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 32E6E1798C for ; Fri, 31 Oct 2014 15:50:22 +0000 (UTC) Received: (qmail 22077 invoked by uid 500); 31 Oct 2014 15:50:18 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 22009 invoked by uid 500); 31 Oct 2014 15:50:18 -0000 Mailing-List: contact solr-user-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: solr-user@lucene.apache.org Delivered-To: mailing list solr-user@lucene.apache.org Received: (qmail 21998 invoked by uid 99); 31 Oct 2014 15:50:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2014 15:50:17 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of mouseywings@live.com does not designate 216.139.236.26 as permitted sender) Received: from [216.139.236.26] (HELO sam.nabble.com) (216.139.236.26) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 Oct 2014 15:50:13 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XkESW-0004Xh-Au for solr-user@lucene.apache.org; Fri, 31 Oct 2014 08:49:52 -0700 Date: Fri, 31 Oct 2014 08:49:52 -0700 (PDT) From: hschillig To: solr-user@lucene.apache.org Message-ID: <1414770592328-4166857.post@n3.nabble.com> Subject: Only copy string up to certain character symbol? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org So I have a title field that is common to look like this: Personal legal forms simplified : the ultimate guide to personal legal forms / Daniel Sitarz. I made a copyField that is of type "title_only". I want to ONLY copy the text "Personal legal forms simplified : the ultimate guide to personal legal forms".. so everything before the "/" symbol. I have it like this in my schema.xml: My regex seems to be off though as the field still holds the entire value when I reindex and restart SolR. Thanks for any help! -- View this message in context: http://lucene.472066.n3.nabble.com/Only-copy-string-up-to-certain-character-symbol-tp4166857.html Sent from the Solr - User mailing list archive at Nabble.com.