Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
QueryElevationComponent suppports 2 initParams that are weird and very inconsistent with how similar features in solr work...
- editorialMarkerFieldName
- excludeMarkerFieldName
These init params simply provide an "override" to the names "elevated" and "excluded" that are used in QueryElevationComponent.inform(SolrCore) to change the names used when registering instances of EditorialMarkerFactory and ExcludedMarkerFactory as DocTransformers.
This makes no sense – we already have a standard mechanism for people to override the default names used by doc transformers.
We should:
- deprecated & remove & undocument these options and remove the relvant code from QEC
- add these transformers to TransformerFactory.defaultFactories using their default names
... users that have a strong desire to override these names should do so by explicitly registering them as <transformer name="..." just like an other DocTransformer.