public abstract class SolrFragmentsBuilder extends HighlightingPluginBase implements SolrInfoBean, NamedListInitializedPlugin
SolrInfoBean.Category, SolrInfoBean.Group
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_POST_TAGS |
static String |
DEFAULT_PRE_TAGS |
defaults, metricNames, numRequests, registry
Constructor and Description |
---|
SolrFragmentsBuilder() |
Modifier and Type | Method and Description |
---|---|
FragmentsBuilder |
getFragmentsBuilder(SolrParams params,
BoundaryScanner bs)
Return a
FragmentsBuilder appropriate for this field. |
protected abstract FragmentsBuilder |
getFragmentsBuilder(SolrParams params,
String[] preTags,
String[] postTags,
BoundaryScanner bs) |
protected char |
getMultiValuedSeparatorChar(SolrParams params) |
String[] |
getPostTags(SolrParams params,
String fieldName) |
String[] |
getPreTags(SolrParams params,
String fieldName) |
getCategory, getDescription, getMetricNames, getMetricRegistry, getName, init, initializeMetrics
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCategory, getDescription, getMetricNames, getMetricRegistry, getMetricsSnapshot, getName, registerMetricName
init
public static final String DEFAULT_PRE_TAGS
public static final String DEFAULT_POST_TAGS
public FragmentsBuilder getFragmentsBuilder(SolrParams params, BoundaryScanner bs)
FragmentsBuilder
appropriate for this field.params
- The params controlling HighlightingFragmentsBuilder
.public String[] getPreTags(SolrParams params, String fieldName)
public String[] getPostTags(SolrParams params, String fieldName)
protected abstract FragmentsBuilder getFragmentsBuilder(SolrParams params, String[] preTags, String[] postTags, BoundaryScanner bs)
protected char getMultiValuedSeparatorChar(SolrParams params)
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.