Hello Chip,

>We've found that the solrindex process chokes on the custom metadata fields I 
>added to my Nutch using the urlmeta plugin. A sample of the lengthy error 
>>messages: 
>
>java.lang.Exception: 
>org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error 
>from server at http://localhost:8983/solr/phfaws: ERROR: 
>>[doc=http://academics.wellesley.edu/lts/archives/3/3L_Astronomy.html] unknown 
>field 'icosreposurl'
>     at 
> org.apache.hadoop.mapred.LocalJobRunner$Job.runTasks(LocalJobRunner.java:462)
>
>As mentioned in my previous message, I've copied my Nutch schema.xml into my 
>Solr's conf folder, but since my Solr instance hadn't already had a 
>>schema.xml file I'm not convinced it's being read.. How do I set up my Solr 
>to take these new fields?

Does that schema.xml file contains a definition for a field named 
"icosreposurl"?
If not, then you have to add it. The example schema.xml does not handle all 
cases possible with nutch.

André


Reply via email to