Hoss Man created SOLR-6176:
------------------------------

             Summary: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to