public abstract class SolrFragmentsBuilder extends HighlightingPluginBase implements SolrInfoMBean, NamedListInitializedPlugin
SolrInfoMBean.Category
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_POST_TAGS |
static String |
DEFAULT_PRE_TAGS |
defaults, numRequests
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, getDocs, getName, getSource, getStatistics, getVersion, init
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCategory, getDescription, getDocs, getName, getSource, getStatistics, getVersion
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-2013 Apache Software Foundation. All Rights Reserved.