Return-Path: Delivered-To: apmail-lucene-solr-user-archive@minotaur.apache.org Received: (qmail 64252 invoked from network); 5 May 2010 15:42:33 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 5 May 2010 15:42:33 -0000 Received: (qmail 94070 invoked by uid 500); 5 May 2010 15:42:30 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 94035 invoked by uid 500); 5 May 2010 15:42:30 -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 94027 invoked by uid 99); 5 May 2010 15:42:30 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 15:42:30 +0000 X-ASF-Spam-Status: No, hits=2.3 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_SOFTFAIL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: softfail (nike.apache.org: transitioning domain of zmanods@hotmail.com does not designate 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 15:42:24 +0000 Received: from ben.nabble.com ([192.168.236.152]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1O9gjb-0005YW-FZ for solr-user@lucene.apache.org; Wed, 05 May 2010 08:42:03 -0700 Date: Wed, 5 May 2010 08:42:03 -0700 (PDT) From: Blargy To: solr-user@lucene.apache.org Message-ID: <1273074123476-779278.post@n3.nabble.com> In-Reply-To: References: <1273019716494-777696.post@n3.nabble.com> Subject: Re: Custom DIH variables MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Thanks Paul, that will certainly work. I was just hoping there was a way I could write my own class that would inject this value as needed instead of precomputing this value and then passing it along in the params. My specific use case is instead of using dataimporter.last_index_time I want to use something like dataimporter.updated_time_of_last_document. Our DIH is set up to use a bunch of slave databases and there have been problems with some documents getting lost due to replication lag. I would prefer to compute this value using a custom variable at runtime instead of passing it along via the params. Is that even possible? If not Ill have to go with your previous suggestion. Thanks -- View this message in context: http://lucene.472066.n3.nabble.com/Custom-DIH-variables-tp777696p779278.html Sent from the Solr - User mailing list archive at Nabble.com.