Re: DIH and dynamicField

2010-06-23 Thread Robert Zotter


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.


Re: DIH and dynamicField

2010-06-23 Thread Lance Norskog
A side comment about patches and JIRA- the second-to-last comment on
SOLR-742 says ''Committed'. That means one of the committers (Shalin
in this case) committed the fix. It was in 2008 so it's in Solr 1.4.

https://issues.apache.org/jira/browse/SOLR-742?focusedCommentId=12643747page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_12643747

But, yes, Robert is right: post what you can of your config files.

On Wed, Jun 23, 2010 at 3:11 PM, Robert Zotter robertzot...@gmail.com wrote:


 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.




-- 
Lance Norskog
goks...@gmail.com