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 Online Help

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.

6. 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.

© 2018 Micro Focus or one of its affiliates | Send documentation feedback to Micro Focus Close Send documentation feedback 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 swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm