Re: Reindex after schema change options

2016-12-01 Thread Damien Kamerman
I'm in a similar situation where I'm using org.apache.lucene.index.IndexUpgrader to upgrade an index from solr 4 to solr 6, and want to add docValues to the schema. All my fields are stored so I assume I could use the DataImportHandler SolrEntityProcessor to copy the collection to a new collection

Re: Reindex after schema change options

2016-10-28 Thread Erick Erickson
This is a little contradictory: > how do I reindex the data in place - without starting from the source? > then ran my reindex SolrJ code. So it looks like you _were_ able to re-index from scratch? BTW, to be absolutely safe I'd re-index to a _new_ collection and then, perhaps, use collection a

Re: Reindex after schema change options

2016-10-28 Thread tedsolr
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 usin