# 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 Content component 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 the IDOL Community component, which is located on a machine with the IP address `12.3.4.56`.

It matches the `Global Warming` agent against the IDOL Content component `News` and `Archive` databases.

© Copyright 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm