: Thanks, very helpful.  I think I'm on the right track now, but when I do a
: post now and my UpdateRequestProcessor extension tries to add a field to a
: document, I get:
: 
: RequestHandlerBase org.apache.solr.common.SolrException: ERROR: [doc=1]
: Error adding field 'myField'='2234543'
: 
: The call I'm making is SolrInputDocument.addField(field name, value).  Is
: that trying to add a field to the schema.xml?  The field (myField) is
: already defined in schema.xml.  By calling SolrInputDocument.addField(), my
: goal is to add the field to the document and give it a value.

what is the full stack trace of that error in your logs?

it's not indicating that it's trying to add a *schema* field named 
"myField", it's saying that it's trying to add a *document* field with the 
name 'myField' and the value '2234543' and some soert of problem is 
occurring -- it may be because the schema doesn't have that field, or 
because the FieldType of myField complained that the value wasn't valid 
for tha type, etc...

the stack trace has the answers.


-Hoss
http://www.lucidworks.com/

Reply via email to