Don't know whether this would work... Just speculate :-) A. You'll need to create a new schema with the new field or you could use dynamic field in your current schema (assume you already config the default value to 0). B. Add a couple of new documents C. Run optimize script. Since optimize will consolidate all segments into a single segment. At the end, you'll have a single segment which include the new field.
Would that work? -----Original Message----- From: Jeff Lerman [mailto:[EMAIL PROTECTED] Sent: Monday, November 17, 2008 12:45 Joe To: solr-user@lucene.apache.org Subject: Updating schema.xml without deleting index? I've tried searching for this answer all over but have found no results thus far. I am trying to add a new field to my schema.xml with a default value of 0. I have a ton of data indexed right now and it would be very hard to retrieve all of the original sources to rebuild my index. So my question is...is there any way to send a command to SOLR that tells it to re-index everything it has and include the new field I added? Thanks, Jeff