Open topic with navigation

# Query with Agents

You can query with an agent by using the `AgentGetResults` action. For details on this action, refer to the IDOL Server Reference.

Note: When you match an agent against the IDOL Server databases, all the agent terms are internally postfixed with a tilde (~) to indicate that the terms are stemmed and must not be stemmed again.

For example:

    http://12.3.4.56:4000/action=AgentGetResults&UserName=Administrator&AgentName=Global+Warming&DREDatabaseMatch=News,Archive

This action uses port `4000` to request the results of the `Global Warming` agent for the `Administrator` user from IDOL Server, which is located on a machine with the IP address `12.3.4.56`. It matches the `Global Warming` agent against the IDOL Server `News` and `Archive` databases.

© 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