magibney opened a new pull request, #1488: URL: https://github.com/apache/solr/pull/1488
See: SOLR-12963 We missed the boat on changing the uninvertible default for solr 9. To avoid having to wait until Solr 10, this PR (initially a draft/proposal, no tests) makes it possible to configure "uninvertible" behavior and defaults at the node level. Rather than simply changing the default, this supports 4 modes, configured via `solr.xml`: 1. FORBID: any attempt to configure `uninvertible="true"` at the field level will throw an error and node startup. 2. DISABLE: tolerant of configurations with `uninvertible="true"`, but ignores such configurations, logging an info message to that effect (this option is best for testing/convenience) 3. DEFAULT_FALSE: by default, fields are _not_ uninvertible, but this may be overridden at the fieldType or field level. 4. DEFAULT_TRUE: by default, fields _are_ uninvertible, but this may be overridden at the fieldType or field level The current implicit default is DEFAULT_TRUE. There are a couple of benefits to this approach over simply changing the default: 1. Allows users to easily configure the safety of `uninvertible="false"` at the node level, without needing to wait for the next major version 2. Providing the ability to forbid/disable uninversion at the node level allows SolrIndexSearcher to avoid UninvertibleReader wrapping entirely. -- 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: issues-unsubscr...@solr.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org