# DREQuery

A query to submit to the IDOL Server data index. The query can be:

- Free query text. To run a simple query without extra restrictions, type only the query text. For example:

      DREQuery=citrus fruit

- Full query syntax. To run a complex query, you can use the normal query syntax format (refer to the IDOL Server Administration Guide). If you send the action in an HTTP request, you must percent-encode the query string. If you use a scheduled operation you do not need to percent-encode it. For example:

      DREQuery=action%3DQuery%26Text%3Dcitrus%20fruit%26MinScore%3D60

NOTE: If you use MaxResults with the ClusterSnapshot action, you must set it to a value greater than `2000` to create a representative snapshot.

For the ClusterSGDataGen action, this parameter is available only when you set FillGaps to `True`.

Actions: | CategoryPartition CategoryIdentifyOrphanDocs CategoryImportFromDocs ClusterPartition ClusterSGDataGen ClusterSnapshot
Type: | String
Default: |
Example: | `DREQuery=action%3DQuery%26Text%3Dsport%26MaxResults%3D5000%26DatabaseMatch%3DNews%20Sports%26MinDate%3D%2D7` This example requests up to 5,000 documents about sport from the `News` and `Sports` databases. The documents must be less than seven days old.
See Also: |

_FT_HTML5_bannerTitle.htm