Ryan,

It turned out that another multivalue field was causing my problem. This field 
was no longer configured in my schema.
My dynamic "catch-all" field of type ignored was not multivalued, adding 
multivalue to this field solved my problem.

Regards, Rene
 
-----Original Message-----
From: Ryan McKinley [mailto:ryan...@gmail.com] 
Sent: maandag 15 december 2008 17:28
To: solr-user@lucene.apache.org
Subject: Re: Solrj: Multivalued fields give Bad Request

What do you see in the admin schema browser?
/admin/schema.jsp

When you select the field "names", do you see the property  
"Multivalued"?

ryan


On Dec 15, 2008, at 10:55 AM, Schilperoort, René wrote:

> Sorry,
>
> Forgot the most important detail.
> The document I am adding contains multiple "names" fields:
> sInputDocument.addField("names", value);
> sInputDocument.addField("names", value);
> sInputDocument.addField("names", value);
>
> There is no problem when a document only contains one value in the  
> names field.
>
>
> -----Original Message-----
> From: Schilperoort, René [mailto:rene.schilpero...@getronics.com]
> Sent: maandag 15 december 2008 16:52
> To: solr-user@lucene.apache.org
> Subject: Solrj: Multivalued fields give Bad Request
>
> Hi all,
>
> When adding documents to Solr using solr I receive the following  
> Exception.
> org.apache.solr.common.SolrException: Bad Request
>
> The field is "configured" as followed:
> <field name="names" type="string" indexed="true" stored="true"  
> multiValued="true"/>
>
> Any suggestions?
>
> Regards, Rene

Reply via email to