: The reason I thought StatsComponent is "default" while SpellCheck is not is : that SpellChecking necessarily requires some configuration. Stats can be : there without doing anything -- it is just the cost of checking if : "stats=true" in the request. : : I suggest that we add *all* Components that are generally useful off the shelf : to the StandardRequestHandler. We should add documentation to say: "if you
I think that general philosophy is what makes the most sense ... as long as a component can be used without special configuration add it by default, but Components should be NOOPs unless activated by params (ie: facet=true). people worried about saving every last cycle can create an explicit list of components and trust that no new components will get added to the pipeline when they upgrade. ... but for people who upgrade without modifying their configs, and may not even know anything about search components, give them the new hotness by default, so when they ask "how do i...?" and someone says "try adding @foo=true&foo.this=that to your request" the hotness starts to work for them without them needing to change anything. (just like when features got added to standard/dismax before we had components) -Hoss