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