Open topic with navigation

# Predict

Set `Predict` to `True` to predict the parametric value counts for your documents if the number of matching documents exceeds the configured threshold. This option has an effect only when you set DocumentCount to `True`. Predicting the value counts increases the query speed.

You configure the threshold by using the ParametricResultsPredictionThreshold or ParametricResultsPredictionThresholdPercentage parameters.

If you enable prediction, IDOL Server returns an `<autn:predicted>` tag in the response to indicate whether it used prediction. This tag contains a Boolean value, which is `True` if the query matched enough documents to reach the prediction threshold. If the prediction threshold was not reached and the values are exact, `<autn:predicted>` contains the value `False`.

Set `Predict` to `False` to guarantee that IDOL Server examines each document.

NOTE:

You cannot use prediction with the QuerySort parameter. If you set `Predict` to `True` and also set QuerySort, IDOL Server uses the QuerySort and does not use prediction.

Actions: | GetQueryTagValues
Type: | Boolean
Default: | False
Example: | `Predict=True`
See Also: | ParametricResultsPredictionThreshold ParametricResultsPredictionThresholdPercentage TotalResultsPredictionThreshold

© 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