Re: Solr trying to auto-update schema.xml

2016-01-20 Thread Bob Lawson
Thanks, I was using an invalid field type. All is good now. Thanks Hoss and Eric. You guys are the best! On Tue, Jan 19, 2016 at 6:47 PM, Chris Hostetter wrote: > > : Thanks, very helpful. I think I'm on the right track now, but when I do > a > : post now and my UpdateRequestProcessor extens

Re: Solr trying to auto-update schema.xml

2016-01-19 Thread Chris Hostetter
: 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' : : Th

Re: Solr trying to auto-update schema.xml

2016-01-19 Thread Bob Lawson
PS: I followed the advice given here to update my solrconfig.xml file to get rod of add-unknown-fields-to-the-schema On Tue, Jan 19, 2016 at 1:45 PM, Bob Lawson wrote: > Thank

Re: Solr trying to auto-update schema.xml

2016-01-19 Thread Bob Lawson
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

Re: Solr trying to auto-update schema.xml

2016-01-19 Thread Erick Erickson
You _are_ using the mutating update processor. You have this: . . . and "add-unknown-field-to-the-schema" is in your update section here: add-unknown-fields-to-the-schema As to what field is in the doc but not in the schema, the solr log will probably help... Best, Erick On Tue,

Re: Solr trying to auto-update schema.xml

2016-01-19 Thread Bob Lawson
5.4.0 ${solr.data.dir:} ${solr.lock.type:native}

Re: Solr trying to auto-update schema.xml

2016-01-19 Thread Erick Erickson
Let's see your solrconfig.xml, because it does look like you're somehow using managed schema. And is the error above from the Solr log or your client? Because the Solr log often has more complete information. Best, Erick On Tue, Jan 19, 2016 at 9:54 AM, Bob Lawson wrote: > I added some fields t

Solr trying to auto-update schema.xml

2016-01-19 Thread Bob Lawson
I added some fields to schema.xml. I then use a custom extension of UpdateRequestProcessor to add those fields to a document being indexed. When I run the post command, I am getting an error because apparently Solr is trying to add more fields over and above what I manually added. Here is the err