So I ran a quick test of my idea and it worked. I modified the schema.xml file - uploaded it to ZK - reloaded the collection - then ran my reindex SolrJ code. After it completed the schema browser in the admin console shows that the field uses docValues. I tried a streaming expression on it to using the /export request handler and that was good - no errors.
Still would love to hear from anyone who has done this differently. tedsolr wrote > Not all my fields use docValues. This is going to be a problem in the > future. Once I change the schema.xml to use docValues for these certain > field types, how do I reindex the data in place - without starting from > the source? > > I'm aware of lucene's IndexUpgrader but that will only ensure a correct > lucene match version. I'm not changing that. Could I use SolrJ to walk > through the documents and "touch" each one and do an atomic update on the > fields that have changed? (all the fields I care about are stored) > > Thanks, Ted > v5.2.1 -- View this message in context: http://lucene.472066.n3.nabble.com/Reindex-after-schema-change-options-tp4303395p4303510.html Sent from the Solr - User mailing list archive at Nabble.com.