Hi Andrzej! The exception was "java.io.IOException". Of course I "forgot" to make the "dest" field multivalued. Embarrassing:-) I'll update the schema.xml file an try again... Stay tuned!
Cheers, /Peter -----Ursprungligt meddelande----- Från: Andrzej Bialecki [mailto:[email protected]] Skickat: den 3 december 2010 10:42 Till: [email protected] Ämne: Re: Java.io.IOException with multiple <copyField/> directives On 2010-12-03 09:52, Peter Litsegård wrote: > Hi! > > I've run into a strange behaviour while using Nutch (solrindexer) together > with Solr 1.4.1. I'd like to copy the 'title' and 'content' field to another > field, say, 'foo'. In my first attempt I added the <copyField/> directives in > schema.xml and got the java exception so I removed them from schema.xml. In > my second attempt I added the <copyField/> directives to the > 'solrindex-mapping.xml' file and ran into the same exception again! Is this a > known issue or have I stumbled into unknown territory? > > Any workarounds? I suspect that the field type declared in your schema.xml is not multiValued. What was the exception? -- Best regards, Andrzej Bialecki <>< ___. ___ ___ ___ _ _ __________________________________ [__ || __|__/|__||\/| Information Retrieval, Semantic Web ___|||__|| \| || | Embedded Unix, System Integration http://www.sigram.com Contact: info at sigram dot com

