You are here: C++ API > Classes > dtsIndexJob Structure > dtsIndexJob::storedFields Data Member
dtSearch Text Retrieval Engine Programmer's Reference
dtsIndexJob::storedFields Data Member

Used to specify that the text in certain fields should be collected, stored in the index, and returned in searches.

const char * storedFields;

To specify the fields to be stored, set storedFields to point to a null-delimited list of field names, terminated with a double-null. 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 stored in the index. 

The maximum amount of text that can be stored in each stored field is controlled by dtsOptions.maxStoredFieldSize. 

For more information, see Retrieving Fields in Search Results

Copyright (c) 1995-2023 dtSearch Corp. All rights reserved.