|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compass.core.lucene.LuceneEnvironment.Highlighter
public abstract static class LuceneEnvironment.Highlighter
Settings for Lucene highlighter.
| Nested Class Summary | |
|---|---|
class |
LuceneEnvironment.Highlighter.Encoder
|
class |
LuceneEnvironment.Highlighter.Formatter
Settings for Lucene highlighter formatter. |
class |
LuceneEnvironment.Highlighter.Fragmenter
Settings for Lucene highlighter fragmenter. |
| Field Summary | |
|---|---|
static String |
COMPUTE_IDF
Low level. |
static String |
DEFAULT_GROUP
The default highlighter group that must be set. |
static String |
FACTORY
The fully qualified name of the highlighter factory or an actual instance. |
static String |
MAX_BYTES_TO_ANALYZE
Maximum bytes to analyze. |
static String |
MAX_NUM_FRAGMENTS
Sets the maximum number of fragments that will be returned. |
static String |
PREFIX
The prefix used for highlighter groups. |
static String |
REWRITE_QUERY
Low level. |
static String |
SEPARATOR
Sets the separator string between fragments if using the combined fragments highlight option. |
static String |
TEXT_TOKENIZER
The text tokenizer type that will be used. |
| Constructor Summary | |
|---|---|
LuceneEnvironment.Highlighter()
|
|
| 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 PREFIX
public static final String DEFAULT_GROUP
public static final String TEXT_TOKENIZER
public static final String REWRITE_QUERY
true, or
false). If the query will be rewritten befored it is
used by the highlighter.
public static final String COMPUTE_IDF
true or
false). If the idf value will be used during the
highlighting process. Used by formatters that a) score selected
fragments better b) use graded highlights eg chaning intensity of
font color. Automatically assigned for the provided formatters.
public static final String MAX_NUM_FRAGMENTS
3.
public static final String SEPARATOR
....
public static final String MAX_BYTES_TO_ANALYZE
50*1024 bytes.
public static final String FACTORY
LuceneHighlighterFactory
inteface. It is part of the highlighter group, and should be
constructed using the
CompassSettings.setGroupSettings(String,String,String[],Object[]),
with the PREFIX as the prefix, the highlighter
group name, and the factory as one of the values.
| Constructor Detail |
|---|
public LuceneEnvironment.Highlighter()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||