Sort

The default method to use to sort the answers that Answer Server retrieves in the Ask action, when the Sort action parameter is not set. You can use one of the following options:

  • System (default). Sort the results by system. Answer Server uses the order that you specify the systems in the SystemNames parameter. If SystemNames is not set, Answer Server uses the order that you define the systems in the configuration file. If Answer Server retrieves enough answers from the first system to get to the specified MaxResults, it does not continue querying the other systems.

  • Confidence. Sort the results in order of the confidence score. Answers that have a higher confidence match for the request question return with a higher confidence score. In this case, Answer Server must query every system to get the MaxResults number of results with the highest score.

    NOTE: Each answer system in Answer Server scores its answers independently, so scores from one system might not be comparable to scores from another.

Type: String
Default: System
Required: No
Configuration Section: Ask
Example: Sort=confidence
See Also: Ask action
Sort action parameter