lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Zotter <robertzot...@gmail.com>
Subject Re: DIH and dynamicField
Date Wed, 23 Jun 2010 22:11:36 GMT


Boyd Hemphill-2 wrote:
> 
> I am  having a problem where importing with DIH and attempting to use
> dynamicField produces no result.  I get no error, nor do I get a message
> in
> the log.

It would help if you posted the relevant parts of your data-config.xml and
schema.xml. If you are doing a straight column to name mapping my first
guess would be you could have those backwards or there is some
misconfiguration in your schema.xml. For example if you have a database
column "foo" and you want to add it to the "foo_dynamic" field you should be
using something like this:

solrconfig.xml
<dynamicField name="*_dynamic" .../>

data-config.xml
<field column="foo" name="foo_dynamic"/>

Hope this helps. 

- Robert Zotter
-- 
View this message in context: http://lucene.472066.n3.nabble.com/DIH-and-dynamicField-tp917823p918189.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message