Content Component 26.2
Content Component Help

# Predict Parameter

You can use the Predict parameter to instruct the Content component 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`, Content counts all results and in addition prints the number of results for each database. For example:

    http://ContentHost:port/action=Query&Text=A fast sports car&TotalResults=True&Predict=True

In this example, if you have set TotalResultsPredictionThreshold to `100`, Content 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, Content returns the exact number of total results.

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

Copyright 2026 Open Text
Version 26.2 | Last updated April 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Content Component 26.2

Topic Title: Predict Parameter