Re: Removing SOLR fields from schema

2016-09-23 Thread Selvam
Hi, Thanks Shawn and Erick, that helps me. On Thu, Sep 22, 2016 at 8:26 PM, Erick Erickson wrote: > Not only will optimize not help, even re-indexing all > the docs to the current collection will leave the > meta-data in the index about the removed fields. For > 50 fields that likely won't matt

Re: Removing SOLR fields from schema

2016-09-22 Thread Erick Erickson
Not only will optimize not help, even re-indexing all the docs to the current collection will leave the meta-data in the index about the removed fields. For 50 fields that likely won't matter. As Shawn says, though, re-indexing from scratch (and I'd use a new collection) is best if at all possible

Re: Removing SOLR fields from schema

2016-09-22 Thread Shawn Heisey
On 9/22/2016 7:17 AM, David Santamauro wrote: > Will an optimize remove those fields and corresponding data? I am about 99 percent sure that an optimize will have no effect on fields removed from the Solr schema. The schema doesn't exist at the Lucene level. When you do an optimize, the entire op

Re: Removing SOLR fields from schema

2016-09-22 Thread David Santamauro
On 09/22/2016 08:55 AM, Shawn Heisey wrote: On 9/21/2016 11:46 PM, Selvam wrote: We use SOLR 5.x in cloud mode and have huge set of fields. We now want to remove some 50 fields from Index/schema itself so that indexing & querying will be faster. Is there a way to do that without losing existin

Re: Removing SOLR fields from schema

2016-09-22 Thread Shawn Heisey
On 9/21/2016 11:46 PM, Selvam wrote: > We use SOLR 5.x in cloud mode and have huge set of fields. We now want > to remove some 50 fields from Index/schema itself so that indexing & > querying will be faster. Is there a way to do that without losing > existing data on other fields? We don't want to

Removing SOLR fields from schema

2016-09-21 Thread Selvam
Hi, We use SOLR 5.x in cloud mode and have huge set of fields. We now want to remove some 50 fields from Index/schema itself so that indexing & querying will be faster. Is there a way to do that without losing existing data on other fields? We don't want to do full re-indexing. -- Regards, Selv