|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.lucene.LuceneEnvironment.Highlighter.Formatter
public abstract class LuceneEnvironment.Highlighter.Formatter
Settings for Lucene highlighter formatter.
| Field Summary | |
|---|---|
static String |
HTML_SPAN_GRADIENT
Wraps an html span tag around the highlighted text. |
static String |
HTML_SPAN_GRADIENT_MAX_BACKGROUND_COLOR
The largest hex color used for representing IDF scores eg #000000 (black) or null if no background color required. |
static String |
HTML_SPAN_GRADIENT_MAX_FOREGROUND_COLOR
The largest hex color used for representing IDF scores eg #000000 (black) or null if no foreground color required. |
static String |
HTML_SPAN_GRADIENT_MAX_SCORE
The score (and above) displayed as maxColor. |
static String |
HTML_SPAN_GRADIENT_MIN_BACKGROUND_COLOR
The hex color used for representing IDF scores of zero eg #FFFFFF (white) or null if no background color required. |
static String |
HTML_SPAN_GRADIENT_MIN_FOREGROUND_COLOR
The hex color used for representing IDF scores of zero eg #FFFFFF (white) or null if no foreground color required. |
static String |
SIMPLE
A simple wrapper formatter. |
static String |
SIMPLE_POST_HIGHLIGHT
In case the highlighter uses the SIMPLE,
controlls the text that is appened after the highlighted text. |
static String |
SIMPLE_PRE_HIGHLIGHT
In case the highlighter uses the SIMPLE,
controlls the text that is appened before the highlighted text. |
static String |
TYPE
If set, sets the type of the Lucene Formatter or
it's fully qualified name. |
| Constructor Summary | |
|---|---|
LuceneEnvironment.Highlighter.Formatter()
|
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String TYPE
Formatter or
it's fully qualified name. Defaults to SIMPLE.
public static final String SIMPLE
SIMPLE_PRE_HIGHLIGHT and
SIMPLE_POST_HIGHLIGHT.
public static final String SIMPLE_PRE_HIGHLIGHT
SIMPLE,
controlls the text that is appened before the highlighted text.
Defatuls to <b>.
public static final String SIMPLE_POST_HIGHLIGHT
SIMPLE,
controlls the text that is appened after the highlighted text.
Defatuls to </b>.
public static final String HTML_SPAN_GRADIENT
public static final String HTML_SPAN_GRADIENT_MAX_SCORE
public static final String HTML_SPAN_GRADIENT_MIN_FOREGROUND_COLOR
public static final String HTML_SPAN_GRADIENT_MAX_FOREGROUND_COLOR
public static final String HTML_SPAN_GRADIENT_MIN_BACKGROUND_COLOR
public static final String HTML_SPAN_GRADIENT_MAX_BACKGROUND_COLOR
| Constructor Detail |
|---|
public LuceneEnvironment.Highlighter.Formatter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||