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.
On Thu, Sep 22, 2016 at 6:29 AM, Shawn Heisey <apa...@elyograg.org> wrote:
> 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 operation is handled
> by Lucene, using its forceMerge process.