Open topic with navigation

# Multistage Queries

In non-mirror mode, the HPE DAH supports multistage querying. You can configure the stage information for multistage querying in the HPE 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 HPE 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 HPE 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 HPE 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 HPE DAH configuration settings for multistage querying.

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE 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 AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm