# VersionIndexingMode

A string that specifies which versions of a document the connector retrieves for indexing.

- To index only the latest major version, set this parameter to `LatestMajor`.
- To index all major versions, set this parameter to `AllMajor`.
- To index all versions of a document (major and minor), set this parameter to `All`.

This parameter is used only when `IndexFileVersions=true`.

Type: | String
Default: | `LatestMajor`
Required: | No
Configuration Section: | TaskName or Fetchtasks
Example: | `VersionIndexingMode=AllMajor`
See Also: | IndexFileVersions

_FT_HTML5_bannerTitle.htm