change the line in schema,xml from :

<field name="title" type="text" stored="false" indexed="true"
termVectors="true" multiValued="false"/>
to:
<field name="title" type="text" stored="false" indexed="true"
termVectors="true" multiValued="true"/>

it is unusual to have multiple titles in a webpage, can you provide
the url that failed due to this?


On Wed, Feb 22, 2012 at 1:35 AM, kaveh minooie <[email protected]> wrote:
> Hi markus
>        I was searching about this issue and I saw that had the same problem
> before. how did you solve yours?
>
> this is the error that I am getting when I run solrindex:
>
> org.apache.solr.common.SolrException:
> ERROR_httpwww2moderncomsitegiftregistryhtml_multiple_values_encountered_for_non_multiValued_field_title_2Modern_Gift_Registry_giftregistryhtml
>
> ERROR_httpwww2moderncomsitegiftregistryhtml_multiple_values_encountered_for_non_multiValued_field_title_2Modern_Gift_Registry_giftregistryhtml
>
> request: http://solr3:8983/solr/core8/update?wt=javabin&version=1
>        at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:435)
>        at
> org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.request(CommonsHttpSolrServer.java:244)
>        at
> org.apache.solr.client.solrj.request.AbstractUpdateRequest.process(AbstractUpdateRequest.java:105)
>        at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:49)
>        at org.apache.nutch.indexer.solr.SolrWriter.write(SolrWriter.java:81)
>        at
> org.apache.nutch.indexer.IndexerOutputFormat$1.write(IndexerOutputFormat.java:54)
>        at
> org.apache.nutch.indexer.IndexerOutputFormat$1.write(IndexerOutputFormat.java:44)
>        at
> org.apache.hadoop.mapred.ReduceTask$OldTrackingRecordWriter.write(ReduceTask.java:456)
>        at org.apache.hadoop.mapred.ReduceTask$3.collect(ReduceTask.java:496)
>        at
> org.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java:166)
>        at
> org.apache.nutch.indexer.IndexerMapReduce.reduce(IndexerMapReduce.java:51)
>        at
> org.apache.hadoop.mapred.ReduceTask.runOldReducer(ReduceTask.java:518)
>        at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:419)
>        at org.apache.hadoop.mapred.Child$4.run(Child.java:259)
>        at java.security.AccessController.doPrivileged(Native Method)
>        at javax.security.auth.Subject.doAs(Subject.java:415)
>        at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1059)
>        at org.apache.hadoop.mapred.Child.main(Child.java:253)
>
>
> and this is the corresponding line in both of my nutch schema file:
> <field name="title" type="text" stored="false" indexed="true"
> termVectors="true" multiValued="false"/>
>
> thanks,
> --
> Kaveh Minooie
>
> www.plutoz.com

Reply via email to