# DREQuery

An IDOL Server query to determine the results set to use to generate the taxonomy.

Allows you to submit a query to IDOL Server and generate a taxonomy from the results that this query produces. The query can be one of the following:

- Free query text. To run a simple query without specifying any restrictions, you can 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 by using an HTTP query, you must percent-encode the query string. Otherwise (for example, if you use a scheduled operation) you do not need to percent-encode it. For example:

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

Actions: | TaxonomyGenerate
Type: | String
Default: |
Example: | `DREQuery=action%3DQuery%26Text%3Dsport%26MaxResults%3D5000%26DatabaseMatch%3DNews%20Sports%26MinDate%3D%2D7` In this example, IDOL Server returns up to 5,000 documents about sport that were indexed into the `News` and `Sports` databases within the last seven days. IDOL Server generates a taxonomy from the results.
See Also: | Name

_FT_HTML5_bannerTitle.htm