lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xi Shen <davidshe...@gmail.com>
Subject Re: How to get/set customized Solr data source properties?
Date Thu, 02 May 2013 04:59:09 GMT
Hi Hoss,

I reviewed the code from other DataSouce classes as well, that's how I
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
:(


On Saturday, April 27, 2013, Chris Hostetter wrote:

> :
> : 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
>         ...
> :     <dataConfig>
> :       <dataSource type="com.my.company.datasource"
> :         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
>


-- 
Regards´╝î
David Shen

http://about.me/davidshen
https://twitter.com/#!/davidshen84

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message