SOLR-8362: proposal for polyField docValues support for TextField
See: SOLR-8362 Cotinuation of: https://github.com/apache/lucene-solr/pull/1691
This PR introduces docValues support for TextField, supporting
- sort use case (including configurable post-analysis sort -- a drop-in replacement for SortableTextField, but with more flexibility)
- facet/significant-terms use case
- useDocValuesAsStored/valueSource/function/streamingExpression use case (configurable to support arbitrarily large size limits)
The rationale behind this PR is essentially the same as laid out in this comment. The main difference in this PR (as opposed to https://github.com/apache/lucene-solr/pull/1691 described in that comment) is that this PR abandons the hope for Lucene-native support for post-analysis docValues (see LUCENE-10023) and instead generates post-analysis docValues by "pre-analyzing" (at the cost of duplicate effort) in TextField.createFields(...).
Lots of relevant context can also be found at: SOLR-11917.
note: precommit will fail due to nocommits, but existing and new tests all should pass.
For anyone curious about this PR at a high level, the refguide additions might be a good place to start: https://github.com/apache/solr/pull/321/files#diff-c3bd51eeb7d80321dcfd4b8ee946a4c5f17fc22b563fb57dd727baae7461ed46
This PR had no visible activity in the past 60 days, labeling it as stale. Any new activity will remove the stale label. To attract more reviewers, please tag someone or notify the [email protected] mailing list. Thank you for your contribution!