public class PostingsSolrHighlighter.SolrExtendedPostingsHighlighter extends PostingsHighlighter
Modifier and Type | Field and Description |
---|---|
protected SolrParams |
params |
protected IndexSchema |
schema |
DEFAULT_MAX_LENGTH
Constructor and Description |
---|
SolrExtendedPostingsHighlighter(SolrQueryRequest req) |
Modifier and Type | Method and Description |
---|---|
protected BreakIterator |
getBreakIterator(String field) |
protected Passage[] |
getEmptyHighlight(String fieldName,
BreakIterator bi,
int maxPassages) |
protected PassageFormatter |
getFormatter(String fieldName) |
protected Analyzer |
getIndexAnalyzer(String field) |
protected char |
getMultiValuedSeparator(String field) |
protected PassageScorer |
getScorer(String fieldName) |
protected char |
parseBiSepChar(String sepChar)
parse custom separator char for
CustomSeparatorBreakIterator |
highlight, highlight, highlightFields, highlightFields, highlightFields, highlightFieldsAsObjects, loadFieldValues
protected final SolrParams params
protected final IndexSchema schema
public SolrExtendedPostingsHighlighter(SolrQueryRequest req)
protected Passage[] getEmptyHighlight(String fieldName, BreakIterator bi, int maxPassages)
getEmptyHighlight
in class PostingsHighlighter
protected PassageFormatter getFormatter(String fieldName)
getFormatter
in class PostingsHighlighter
protected PassageScorer getScorer(String fieldName)
getScorer
in class PostingsHighlighter
protected BreakIterator getBreakIterator(String field)
getBreakIterator
in class PostingsHighlighter
protected char parseBiSepChar(String sepChar)
CustomSeparatorBreakIterator
protected char getMultiValuedSeparator(String field)
getMultiValuedSeparator
in class PostingsHighlighter
protected Analyzer getIndexAnalyzer(String field)
getIndexAnalyzer
in class PostingsHighlighter
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.