Open topic with navigation

# Predict Parameter

You can use the `Predict` parameter to instruct IDOL Server to use statistical sampling to estimate the total number of results that are available. You must also set `TotalResults` to `True` for your query action. Prediction can increase the query speed.

If you set `Predict` to `False`, IDOL Server counts all results and in addition prints the number of results for each database. For example:

    http://IDOLhost:IDOLport/action=Query&Text=A fast sports car&TotalResults=True&Predict=True

In this example, if you have set `TotalResultsPredictionThreshold` to `100`, IDOL Server uses statistical sampling to estimate the total number of results that are available for the query. If fewer than 100 results are available for the query, IDOL Server returns the exact number of total results.

If you do not want IDOL Server to display the number of results for each database, you can set the `TotalResultsPrintDatabase` configuration parameter to `False`.

© 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