mirror of https://github.com/apache/lucene.git
SOLR-1717 SolrHighlighter#fragmenter, formatter etc do not need synchronization
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@900680 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
076a559149
commit
f287643688
|
@ -41,19 +41,19 @@ public abstract class SolrHighlighter
|
|||
|
||||
// Thread safe registry
|
||||
protected final Map<String,SolrFormatter> formatters =
|
||||
Collections.synchronizedMap( new HashMap<String, SolrFormatter>() );
|
||||
new HashMap<String, SolrFormatter>();
|
||||
|
||||
// Thread safe registry
|
||||
protected final Map<String,SolrFragmenter> fragmenters =
|
||||
Collections.synchronizedMap( new HashMap<String, SolrFragmenter>() );
|
||||
new HashMap<String, SolrFragmenter>() ;
|
||||
|
||||
// Thread safe registry
|
||||
protected final Map<String, SolrFragListBuilder> fragListBuilders =
|
||||
Collections.synchronizedMap( new HashMap<String, SolrFragListBuilder>() );
|
||||
new HashMap<String, SolrFragListBuilder>() ;
|
||||
|
||||
// Thread safe registry
|
||||
protected final Map<String, SolrFragmentsBuilder> fragmentsBuilders =
|
||||
Collections.synchronizedMap( new HashMap<String, SolrFragmentsBuilder>() );
|
||||
new HashMap<String, SolrFragmentsBuilder>() ;
|
||||
|
||||
@Deprecated
|
||||
public abstract void initalize( SolrConfig config );
|
||||
|
|
Loading…
Reference in New Issue