Hi, 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.client.solrj.SolrServerException: org.apache.solr.client.solrj.SolrServerException: 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(EmbeddedSolrServer.java:161) at org.apache.solr.client.solrj.request.UpdateRequest.process(UpdateRequest.java:217) at org.apache.solr.client.solrj.SolrServer.add(SolrServer.java:63) at org.apache.solr.client.solrj.SolrServer.addBean(SolrServer.java:67) My field 'all' is defined as follows: <field name="all" type="text" indexed="true" stored="false" multiValued="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 -- Cheers, Christian López Espínola <penyaskito>