lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian López Espínola <>
Subject ERROR: multiple values encountered for non multiValued copy field
Date Fri, 06 Nov 2009 06:26:33 GMT

I'm using solr with solrj and when I specify a field to copy in my
schema it stops working with the exception:

org.apache.solr.common.SolrException: ERROR: multiple values
encountered for non multiValued copy field all: xxxx
	at org.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(
	at org.apache.solr.client.solrj.request.UpdateRequest.process(
	at org.apache.solr.client.solrj.SolrServer.add(
	at org.apache.solr.client.solrj.SolrServer.addBean(

My field 'all' is defined as follows:

   <field name="all" type="text" indexed="true" stored="false"

	<copyField source="summary" dest="all"/>	
	<copyField source="name" dest="all"/>	
	<copyField source="description" dest="all"/>	
	<copyField source="content" dest="all"/>	
	<copyField source="title" dest="all"/>

Those fields are:

	<field name="title" type="string" indexed="true" stored="true"
required="true" />
	<field name="summary" type="string" indexed="true" stored="true" />
	<field name="content" type="string" indexed="true" stored="false" />
	<field name="name" type="string" indexed="true" stored="true"  />
	<field name="description" type="string" indexed="true" stored="false" />

If I remove the
	<copyField source="summary" dest="all"/>	
everything works fine.

Any hint? TIA


Christian López Espínola <penyaskito>

View raw message