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 4EB6DF558 for ; Tue, 14 May 2013 01:17:10 +0000 (UTC) Received: (qmail 71431 invoked by uid 500); 14 May 2013 01:17:06 -0000 Delivered-To: apmail-lucene-solr-user-archive@lucene.apache.org Received: (qmail 71376 invoked by uid 500); 14 May 2013 01:17:06 -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 71364 invoked by uid 99); 14 May 2013 01:17:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 01:17:06 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of arafalov@gmail.com designates 209.85.192.174 as permitted sender) Received: from [209.85.192.174] (HELO mail-pd0-f174.google.com) (209.85.192.174) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 May 2013 01:17:01 +0000 Received: by mail-pd0-f174.google.com with SMTP id u10so4843065pdi.33 for ; Mon, 13 May 2013 18:16:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=xuA6xYHtyAkhtlgOFLr9OODtbpW/EffzhBhzR3VnbXw=; b=noUPrgMPcO3HsqrXirtpgDVYWk3YAn6HTlsrPGgXOu3y5l5I+8RNuVxP06w4eu7VnT pEN1AlpvHDIln0sama3W5BHfqjBzz7bTjLZ+IY9CoxJ5iZ/1AMAGRtiEvpHGnzj1698J dPAxppZlhmYVlBCrc0zy4iEzvdDKM7+ploJajQnralyzXjS07JVCbsZRTbmRn6wMwPSa OAWJOhRdzPf0asW0z2mxnVU0Y5vTQQRrTKHLKn1+8qV+VTe96HE362N4y/KK/JAXR04+ DBU52pet0WLrEk4nwm+oW/wPVxNepowYhqOOBEeINWCFZjwESTnKvtjMsDZiYvRNaJE2 OPjg== X-Received: by 10.68.92.196 with SMTP id co4mr31815185pbb.121.1368494200010; Mon, 13 May 2013 18:16:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.66.149.137 with HTTP; Mon, 13 May 2013 18:15:59 -0700 (PDT) In-Reply-To: References: From: Alexandre Rafalovitch Date: Mon, 13 May 2013 21:15:59 -0400 Message-ID: Subject: Re: How to get/set customized Solr data source properties? To: solr-user@lucene.apache.org Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org If the property has a full stop, it is probably going through the scoped resolver which may be causing issues. I would start with very basic property name format and see what happens. Otherwise, it is probably a breakpoint and debug time. Regards, Alex. Personal blog: http://blog.outerthoughts.com/ LinkedIn: http://www.linkedin.com/in/alexandrerafalovitch - Time is the quality of nature that keeps events from happening all at once. Lately, it doesn't seem to be working. (Anonymous - via GTD book) On Mon, May 13, 2013 at 6:08 PM, Chris Hostetter wrote: > > : learned it should work. And this is my actual code. I create this > : DataSource for testing my ideas. I am blocked at the very beginning...sucks > : :( > > but you only showed us one line of code w/o any context. nothing in your > email was reproducible for other people to try to compile/run themselves > to see if htey can figure out why your code isn't working. > > : > : I am working on a DataSource implementation. I want to get some > : > customized > : > : properties when the *DataSource.init* method is called. I tried to add > : > the > : > ... > : > : > : > : : > : my="value" /> > : > > : > My understanding from looking at other DataSources is that should work. > : > > : > : But initProps.getProperty("my") == null. > : > > : > can you show us some actual that fails with that dataConfig you mentioned? > > > -Hoss