On 3/7/2017 1:32 PM, Phil Scadden wrote:
I would have to say the "basic-config" seems distinctly more than basic. It is still a huge file. I thought perhaps I could delete every unused field type, but worried there were some "system" dependencies.

This is definitely true. Solr example configs tend towards including "everything and the kitchen sink". Although this is good at illustrating everything that Solr can do, it is also VERY overwhelming to new users. I have found that in my production configs, I tend to strip almost everything out and make them very lean. I have kept a number of the schema fieldType definitions from the example, particularly those for basic data types, such as numeric fields.

Most of the dependencies in a schema will be contained within the schema itself -- fieldTypes that are referenced by field definitions, etc. There are a few other possible dependencies, such as a default field parameter in a search handler definition that lives in solrconfig.xml.

Thanks,
Shawn

Reply via email to