On 14/08/07, Ryan McKinley <[EMAIL PROTECTED]> wrote: > > > 2 - Question about the structure of the injected xml file... does it > > need to exactly match the data in solr? I know it makes sense that > > we're only injecting the fields that solr needs and not excluding fields > > that it needs... but how fussy is solr when it comes to matching the xml > > in injection? > > > > by design it is fussy. > > I think there is some way to make a non-indexed, non-stored dynamic > field that just will ignore unknown fields. >
It's easy to ignore unknown fields in XML input, just uncomment these lines in your schema.xml: <fieldtype name="ignored" stored="false" indexed="false" class=" solr.StrField" /> <dynamicField name="*" type="ignored" /> cheers, Piete