On 1/2/23 02:29, Bram Van Dam wrote:
Mixtures of old and new schemas are not supported here. In fact, this patch was made specifically to prevent that: it allows Solr Cloud to always use the "old" schema for old shards. Simply put the configSet in ZK and refer to it in core.properties.

We noticed that once documents with multiple schemas got merged into a single segment, things would break horribly (in this case because some docs had DocValues on the unique field and others did not).

Some features like grouping appear to require docValues to work at all. If some shards have docValues and some don't, those features are likely to break horribly, or at least not return expected results.

For everything to work right, whenever a schema change is made that involves docValues at all, a complete index wipe followed by a full reindex is usually required by Lucene. Without this patch, the breakage when the reindex is not done is a very loud Exception. I fear that this patch would result in incorrect results being returned without an error for features that use docValues, like grouping, sorting, facets, etc.

But I do not know enough about the Lucene internals to know if my fear is justified.

Thanks,
Shawn

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org
For additional commands, e-mail: dev-h...@solr.apache.org

Reply via email to