org.compass.core.lucene
Class LuceneEnvironment.Highlighter.Fragmenter

java.lang.Object
  extended by org.compass.core.lucene.LuceneEnvironment.Highlighter.Fragmenter
Enclosing class:
LuceneEnvironment.Highlighter

public abstract class LuceneEnvironment.Highlighter.Fragmenter
extends Object

Settings for Lucene highlighter fragmenter.

Author:
kimchy

Field Summary
static String SIMPLE_SIZE
          If not setting the TYPE (and thus using Lucene SimpleFragmenter), sets the size of the fragment.
static String TYPE
          If set, sets the class name of the Lucene Fragmenter, or the actual type.
static String TYPE_NULL
          A null Lucene Fragmenter.
static String TYPE_SIMPLE
          A simple Lucene Fragmenter.
 
Constructor Summary
LuceneEnvironment.Highlighter.Fragmenter()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final String TYPE
If set, sets the class name of the Lucene Fragmenter, or the actual type.

See Also:
Constant Field Values

TYPE_SIMPLE

public static final String TYPE_SIMPLE
A simple Lucene Fragmenter. Breaks text up into same-size fragments with no concerns over spotting sentence boundaries.

See Also:
Constant Field Values

TYPE_NULL

public static final String TYPE_NULL
A null Lucene Fragmenter. Does not fragment the text.

See Also:
Constant Field Values

SIMPLE_SIZE

public static final String SIMPLE_SIZE
If not setting the TYPE (and thus using Lucene SimpleFragmenter), sets the size of the fragment. Defaults to 100.

See Also:
Constant Field Values
Constructor Detail

LuceneEnvironment.Highlighter.Fragmenter

public LuceneEnvironment.Highlighter.Fragmenter()


Copyright (c) 2004-2008 The Compass Project.