Open topic with navigation

Use Your Content > Inquire > Verity Query Language

# Verity Query Language

Verity Query Language (VQL) is a legacy query language used by the Verity K2 platform. If you upgraded to IDOL server from a Verity installation, you can continue to use VQL by using it as the query Text and adding `VQL=True` to the query string.

For example:

    http://IDOLhost:port/action=Query&Text=cat <AND> dog&VQL=True

This query returns only documents that contain both cat and dog.

    http://IDOLhost:port/action=Query&Text=red <NEAR/1> green&VQL=True

This query returns only documents in which the term red is adjacent to the term green. This query returns documents that contain red green, green red, or green and red (and is a stop word and is therefore ignored), while documents that contain red orange green do not return (because the terms are not close enough to each other).

Note: If you run a VQL query, you cannot include the FieldText parameter in the query.

Related Topics

- VQL Error Messages

© 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