Knowledge Discovery 26.2
Knowledge Discovery Expert

# Verity Query Language

Verity Query Language (VQL) is a legacy query language used by the Verity K2 platform. If you upgraded to Knowledge Discovery 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://ContentHost:port/action=Query&Text=cat <AND> dog&VQL=True

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

    http://ContentHost: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 2026 Open Text
Version 26.2 | Last updated April 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery 26.2

Topic Title: Verity Query Language