Pass in the Set of {@link Field} names to load and the Set of {@link Field} names to load lazily. If both are null, the Document will not have any {@link Field} on it.
public SetBasedFieldSelector( HashtablefieldsToLoad, HashtablelazyFieldsToLoad );
Parameters
fieldsToLoad
A Set of {@link String} field names to load. May be empty, but not null
lazyFieldsToLoad
A Set of {@link String} field names to load lazily. May be empty, but not null