[ 
https://issues.apache.org/jira/browse/SOLR-6176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man resolved SOLR-6176.
----------------------------

    Resolution: Invalid

bq. ...or even be more sophisticated and have QueryElevationComponent's init 
method automatically register an ElevatedMarkerFactory with the named 
"elevated" if an existing transformer isn't already using that name.

I'm an idiot: this is exactly what QEC already does.

> ElevatedMarkerFactory is not emabled by default?
> ------------------------------------------------
>
>                 Key: SOLR-6176
>                 URL: https://issues.apache.org/jira/browse/SOLR-6176
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Hoss Man
>
> while documenting some stuff about DocTransformers, i noticed that 
> ElevatedMarkerFactory isn't enabled by default (in 
> TransformerFactory.defaultFactories)
> My best guess is that this was done because it requires a uniqueKey field -- 
> it doesn't really support any sort of "init" configuration that might be 
> considered mandatory.
> it seems like we could probably do *something* better here -- either having 
> the defaultFactories logic be a bit smarter and init ElevatedMarkerFactory if 
> there is a uniqueKey in the schema, or even be more sophisticated and have 
> QueryElevationComponent's init method automatically register an 
> ElevatedMarkerFactory with the named "elevated" if an existing transformer 
> isn't already using that name.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to