The taxonomy query language module, tql, implements a plugin for the search (Drupal core) and views module. It provides a new tab Taxonomy in the Drupal search and a new Views filter.

If you have the tql module and the search module enabled, a Taxonomy tab appears in the search where you can enter a search query. (demo)

If you have the tql module and Views enabled, a new filter Taxonomy: Query is available which can be used to enter a query. It works best if it is exposed so users can enter their own query. (demo)

Language capabilities

The query language can combine query terms with different operators: AND, OR, XOR and NOT. The operator AND can be omited as it is the default if two terms are listed without operator. The operator NOT can be abbreviated with a dash in front of the term, i.e. '-term'. Brackets can be used to form more complex queries. The following are example queries and their verbose equivalents:

term1 term2                <=> term1 and term2
term1 or -term2            <=> term1 or not term2
term1 xor -(term2 -term3)  <=> term1 xor not (term2 and not term3)

Authors:
mtn: Query language parser
rötzi: Drupal integration

You need PHP 5 to use this module

Downloads

Version Downloads Date Links
5.x-1.x-dev tar.gz (32.83 KB) | zip (37.89 KB) 2011-Feb-25 Notes

Project Information

  • Module categories: Taxonomy
  • Maintenance status: Unknown
  • Development status: Unknown
  • Reported installs: 12 sites currently report using this module. View usage statistics.
  • Last modified: April 9, 2008

Maintainers for Taxonomy Query Language

  • roychri - 12 commits
    last: 2 years ago, first: 3 years ago
  • rötzi - 7 commits
    last: 4 years ago, first: 4 years ago

Issues for Taxonomy Query Language

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Oldest open issue: 12 Jun 07