You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2014/06/18 01:01:18 UTC
[jira] [Created] (SOLR-6176) ElevatedMarkerFactory is not emabled
by default?
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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org