magibney commented on code in PR #1488:
URL: https://github.com/apache/solr/pull/1488#discussion_r1151965283
##########
solr/core/src/java/org/apache/solr/schema/IndexSchema.java:
##########
@@ -116,6 +116,18 @@ public class IndexSchema {
private static final String SOURCE_DYNAMIC_BASE = "sourceDynamicBase";
private static final String SOURCE_EXPLICIT_FIELDS = "sourceExplicitFields";
+ /**
+ * Implicit default for `uninvertible` FieldType property, if not specified
by `fieldType` or
+ * `field`. This implicit default may be overridden by a node-level default
specified in
+ * `solr.xml`. The implicit defaults is <code>true</code> for historical
reasons, but users are
+ * strongly encouraged to set this to <code>false</code> for stability and
use <code>
+ * docValues="true"</code> or <code>uninvertible="true"</code> as needed.
+ */
+ public static final UninvertingReader.Support IMPLICIT_DEFAULT_UNINVERTIBLE =
+ UninvertingReader.Support.DEFAULT_TRUE;
+
+ private static UninvertingReader.Support uninvertibleSupport =
IMPLICIT_DEFAULT_UNINVERTIBLE;
Review Comment:
I'll look into this (I think this ties into a number of your other comments
as well). I was taking an approach analogous to the precedent set by
`maxBooleanClauses` config here, but I agree if this can be done another way,
that would be preferable.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]