Close
dtSearch Engine API for Java
IndexJob.setEnumerableFields Method

Specify that a list of fields should be indexed as enumerable fields.

Syntax
Java
public void setEnumerableFields(String newEnumerableFields);

To specify the fields to be made enumerable, set EnumerableFields to a space-delimited list of field names (quote any field names that contain spaces). The field names in the list can contain wildcards (* and ?). A set containing a single entry "*" would match all fields, causing the text of every field to be made enumerable. 

Enumerable fields can be listed quickly using WordListBuilder.listFieldValues. 

The maximum amount of text that can be stored in each stored field is the lesser of the maxStoredFieldSize option setting or 127 characters, including the field name.