[
https://issues.apache.org/jira/browse/SOLR-10574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15987486#comment-15987486
]
Jan Høydahl commented on SOLR-10574:
------------------------------------
I also hope we could strip down the minimum needed explicit config that still
does something useful. I mean, the {{managed-schema}} for data-driven only
defines three fields but is *1044 lines long*! I would hope it could be
something like 10 lines... Perhaps the whole set of default field-types and
copy-fields could be included with one new tag e.g. {{<standardFieldTypes/>}},
and the txt files in {{lang}} folder could be loaded as resources from the
class path. Similarly we don't need to ship currency.xml, elevate.xml,
protwords.txt, stopwords.txt and synonyms.txt. Users can add those, or better,
use their managed counterparts.
Similarly {{solrconfig.xml}} for _data_driven_ is *1408 lines long*, which must
be very confusing for new users. Could we do more default and implicit stuff
like we did with implicit AdminHandlers? And perhaps bake the
{{add-unknown-fields-to-the-schema}} chain into an implicit feature that could
be toggled during update {{&fieldGuessing=on|off|training}} where in training
mode it would only learn. If someone needed to override the implicit chain they
could add a tag {{<fieldGuessingChain>my-better-chain</fieldGuessingChain>}}.
We could probably have a "default" solrconfig of 50 lines!
> Choose a default configset for Solr 7
> -------------------------------------
>
> Key: SOLR-10574
> URL: https://issues.apache.org/jira/browse/SOLR-10574
> Project: Solr
> Issue Type: Task
> Security Level: Public(Default Security Level. Issues are Public)
> Reporter: Ishan Chattopadhyaya
>
> Currently, the data_driven_schema_configs is the default configset when
> collections are created using the bin/solr script and no configset is
> specified.
> However, that may not be the best choice. We need to decide which is the best
> choice, out of the box, considering many users might create collections
> without knowing about the concept of a configset going forward.
> (See also SOLR-10272)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]