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 BE19B11BE1 for ; Wed, 6 Aug 2014 23:56:05 +0000 (UTC) Received: (qmail 42063 invoked by uid 500); 6 Aug 2014 23:56:00 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 41992 invoked by uid 500); 6 Aug 2014 23:56:00 -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 41976 invoked by uid 99); 6 Aug 2014 23:56:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Aug 2014 23:56:00 +0000 X-ASF-Spam-Status: No, hits=2.3 required=5.0 tests=SPF_SOFTFAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of ajdabholkar@hotmail.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; Wed, 06 Aug 2014 23:55:55 +0000 Received: from ben.nabble.com ([192.168.236.152]) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1XFB3O-0000DM-Nb for solr-user@lucene.apache.org; Wed, 06 Aug 2014 16:55:34 -0700 Date: Wed, 6 Aug 2014 16:55:34 -0700 (PDT) From: abhayd To: solr-user@lucene.apache.org Message-ID: <1407369334698-4151568.post@n3.nabble.com> Subject: how to change field value during index time? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hi I am indexing a csv file using csv handler. I have two fields f1 and f2. Based on value of f1 i want to set the value of f2. Like if(f1=='T') then f2=True; Is this something i can do during index time? I was reading about javascript transformers but that only seem to work with DIH Any help? -- View this message in context: http://lucene.472066.n3.nabble.com/how-to-change-field-value-during-index-time-tp4151568.html Sent from the Solr - User mailing list archive at Nabble.com.