org.apache.solr.highlight
public interface SolrFragmenter extends SolrInfoMBean, NamedListInitializedPlugin
SolrInfoMBean.Category
Modifier and Type | Method and Description |
---|---|
Fragmenter |
getFragmenter(String fieldName,
SolrParams params)
Return a
Fragmenter appropriate for this field. |
void |
init(NamedList args)
init will be called just once, immediately after creation. |
getCategory, getDescription, getDocs, getName, getSource, getStatistics, getVersion
void init(NamedList args)
init
will be called just once, immediately after creation.
The args are user-level initialization parameters that may be specified when declaring a request handler in solrconfig.xml
init
in interface NamedListInitializedPlugin
Fragmenter getFragmenter(String fieldName, SolrParams params)
Fragmenter
appropriate for this field.fieldName
- The name of the fieldparams
- The params controlling HighlightingFragmenter
.Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.