# ReplaceRecordsQuery

A query to Content Manager that identifies documents to replace.

- If you set AddRecordsQuery, ReplaceRecordsQuery, UpdateRecordsQuery, or RemoveRecords, the connector performs all of the configured custom queries and ingests documents based on the query results (the new documents first, followed by replaces, followed by updates, and finally removes).
- If you do not set any of those parameters, the connector automatically identifies new, modified, and deleted documents.

NOTE: Documents are usually replaced when their content has changed. If you only need to update the metadata of a document, consider using the parameter UpdateRecordsQuery.

Type: | String
Default: |
Required: | No
Configuration Section: | TaskName or FetchTasks
Example: | `ReplaceRecordsQuery=createdOn:this week and assignee:me`
See Also: | AddRecordsQuery RemoveRecords UpdateRecordsQuery

_FT_HTML5_bannerTitle.htm