You are here: Symbol Reference > dtSearch.Engine Namespace > IndexJob Class > IndexJob Properties > StoredFields Property
dtSearch .NET Standard API 2023.01
IndexJob.StoredFields Property

A set of fields to be stored in the index for each document and returned as document properties in SearchResults.

public List<string> StoredFields;

When dtSearch indexes a document that contains fields, all fields are automatically made searchable. 

Additionally, you can use StoredFields to designate certain fields as document properties that should be returned in search results. For example, if you make "Subject" a stored field, then the SearchResultsItem for each email message indexed will include the message Subject in SearchResultsItem.UserFields. 

StoredFields expressions can include the wildcards * and ?. 

The maximum amount of data to store for a field is controlled by Options.MaxStoredFieldSize. 

See also: Retrieving Fields in Search Results  

Copyright (c) 1998-2022 dtSearch Corp. All rights reserved.