org.compass.core
Class CompassHighlighter.TextTokenizer
java.lang.Object
org.compass.core.util.Parameter
org.compass.core.CompassHighlighter.TextTokenizer
- All Implemented Interfaces:
- Serializable
- Enclosing interface:
- CompassHighlighter
public static final class CompassHighlighter.TextTokenizer
- extends Parameter
Controls the way text will be tokenized in order to perform the highlight
operation.
- Author:
- kimchy
- See Also:
- Serialized Form
ANALYZER
public static final CompassHighlighter.TextTokenizer ANALYZER
- Forces tokenization of the text using the analyzer.
TERM_VECTOR
public static final CompassHighlighter.TextTokenizer TERM_VECTOR
- Forces tokenization of the text using the tem vector information.
AUTO
public static final CompassHighlighter.TextTokenizer AUTO
- Will use term vector if available to tokenize the text, otherwise
will use analyzer.
toString
public static String toString(CompassHighlighter.TextTokenizer textTokenizer)
fromString
public static CompassHighlighter.TextTokenizer fromString(String textTokenizer)
Copyright (c) 2004-2008 The Compass Project.