Open topic with navigation

# Multistage Queries

In non-mirror mode, the DAH supports multistage querying. You can configure the stage information for multistage querying in the DAH configuration file. A multistage query is processed in stages across specified VDBs. The specified VDBs serve the query in stages, until they find the required number of results.

You enable multistage querying by using the `MultiStage` or `MultiStageMinResults` action parameters with `Query` or `SuggestOnText` actions. For details of multistage action parameters, refer to the IDOL Server Reference.

Related Topics

- Display the Online Reference

To configure multistage query stage information

1. Open the DAH configuration file in a text editor.

2. Find the `[MultiStageQuery]` section.

3. Add the `Stages` option to specify the total number of stages to use for a multistage query. For example:

       [MultiStageQuery]
       Stages=3

4. For each stage, use the `N` option to specify a comma-separated list of VDBs to use for that stage, starting with stage `0` (zero). The DAH processes the query stage by stage, in order. For example:

       [MultiStageQuery]
       Stages=3
       0=db0
       1=db1
       2=db2,db3

5. Save and close the configuration file. Restart the DAH for your changes to take effect.

Note: If you specify the total number of stages and VDBs to use at each stage by using parameters in the `Query` or `SuggestOnText` action, these settings override the DAH configuration settings for multistage querying.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close We welcome your comments! To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm