When I have done this, it is in multiple steps. 1. Change the indexing so that no data is going to that field. 2. Reindex, so the field is empty. 3. Remove the field from the schema.
wunder Walter Underwood wun...@wunderwood.org http://observer.wunderwood.org/ (my blog) > On Apr 11, 2017, at 3:10 PM, Markus Jelsma <markus.jel...@openindex.io> wrote: > > Hi - We did this on one occasion and Solr started complaining in the logs > about a field that is present but not defined. We thought the problem would > go away within 30 days - the time within every document is reindexed or > deleted - but it did not, for some reason. Forcing a merge did not solve the > warnings, although i thought it should. > > So we decided to delete everything, reindex in a standby index and get that > one back online. But don't worry, it are just warnings, everything worked > well and nothing failed. Maybe our 30 days reindexing strategy failed at that > point, or i didn't wait the for exactly 30 days. > > Regards, > Markus > > > > -----Original message----- >> From:Scruggs, Matt <matt.scru...@bronto.com> >> Sent: Tuesday 11th April 2017 23:59 >> To: solr-user@lucene.apache.org >> Subject: Deleting a field in schema.xml, reindex needed? >> >> I’m updating our schema.xml file with 1 change: deleting a field. >> >> Do I need to re-index all of my documents in Solr, or can I simply reload my >> collection config by calling: >> >> http://mysolrhost:8000/solr/admin/collections?action=RELOAD&name=mycollection >> >> >> Thanks, >> Matt >> >>