Close
dtSearch Engine API for Java
TextFlags.dtsoTfSkipXFirstAndLast Field

Suppress automatic generation of xfirstword and xlastword. By default, xfirstword is defined to be the first word in each document, and xlastword is defined to be the last word in each document. These words are generated when an index is created, so this flag must be set during indexing to suppress xlastword and xfirstword.

Syntax
Java
public static final int dtsoTfSkipXFirstAndLast = 0x0002;