web/wdoc/search_en.rst
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Tue, 22 Mar 2011 15:11:38 +0100
branchstable
changeset 7108 bcdf22734059
parent 0 b97547f5f1fa
child 10218 5ebbaf713caf
permissions -rw-r--r--
Abstract the support for ORDER BY and LIMIT/OFFSET SQL generation all DB engines do not support the same syntax for these features, MS SQLServer being the bad boy we try to support in CW. * Use two new methods of dbhelper to add LIMIT/OFFSET clauses and ORDER BY clauses * added unit tests for sqlserver backend * changed unittest_rql2sql to lauch the backend tests even if the driver module is not installed on the machine, so that we can run the sqlserver tests on linux (and the mysql tests too) * adapt msstep.py to the new interface closes #1154756


.. winclude:: search_sample_queries

You can as well type complex queries using the RQL_ query language, 
used every where to build dynamic pages of this site.

You can use one of the following prefixes to specify which kind of search you
want: 

* `rql` : RQL query
* `text` : full text search

.. _RQL: doc/tut_rql