Open topic with navigation

# Use a Query Cooker

If you are using HPE QMS with Autonomy Business Console (ABC), you can use a query cooker to manipulate queries. A query cooker is a JavaScript application that you can create in the ABC user interface. Query cookers modify or enhance queries, for example to add extra query criteria to boost certain results. They provide more flexibility and allow you to use more complex rules to manipulate queries.

Query cookers are for advanced users who want to use the JavaScript API functions.

To use a query cooker

1. Create the query cooker in ABC.

2. Add a `[QueryCooker]` section to the HPE QMS configuration file, which specifies the host and port of the query cooker server. For example:

       [QueryCooker]
       Host=12.3.4.56
       Port=8080

3. Send queries to HPE QMS with the `Cook` parameter set to the name of the query cooker. You can add any additional parameters for the query cooker by setting `QueryCookingParameters` to a comma-separated list of `key:value` pairs. For example:

       action=Query&Text=Cat&Cook=cook1&QueryCookingParameters=key:value

For more details about how to create and set up query cookers, refer to the Autonomy Business Console User Guide and the QMS Reference.

Related Topics

- Send Actions to Query Manipulation Server

© 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