# 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

© 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