You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@nutch.apache.org by Geek Gamer <ge...@gmail.com> on 2012/02/22 07:50:21 UTC
Re: attn:Markus :) multiple_values_encountered_for_non_multiValued_field_title
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 <ka...@plutoz.com> 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
Re: attn:Markus :) multiple_values_encountered_for_non_multiValued_field_title
Posted by ka...@plutoz.com.
Hi I know changing the schema would kinda solve the problem, but that is not a real solution. the problem is with index-more I have already sent an email to the dev list. and this is the url that triggered the error for me:
http://www.2modern.com/site/gift-registry.html
-----Original Message-----
From: "Geek Gamer" <ge...@gmail.com>
Sent: Tuesday, February 21, 2012 10:50pm
To: user@nutch.apache.org
Subject: Re: attn:Markus :) multiple_values_encountered_for_non_multiValued_field_title
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 <ka...@plutoz.com> 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