: I didn't know that trick.

erik is refering to this in the example schema.xml...

   <!-- uncomment the following to ignore any fields that don't already match 
an existing 
        field name or dynamic field, rather than reporting them as an error. 
        alternately, change the type="ignored" to some other type e.g. "text" 
if you want 
        unknown fields indexed and/or stored by default --> 
   <!--dynamicField name="*" type="ignored" /-->

...but it sounds like you are having some other problem ... you said that 
when you POST your documents with "extra" fields you get a 200 
response but the documents aren't getting indexed at all correct?

that is not suppose to happen, Solr should be generating an error.  can 
you give us more info on your setup: what does your schema.xml look like, 
what does your update code look like (you said you were using SolrJ i 
believe?) what does Solr log when these updates happen, etc...



-Hoss

Reply via email to