Text Query Parameter

Syntax

The syntax for the text query parameter is:

s.q=<textQuery>

A query string may contain many s.q parameters. They will be combined with the AND operator. There are no defaults for the s.q parameter. Lucene escaping applies to this parameter. Characters that may need to be escaped include: +-&amp;|!(){}[]^"~*?:\. Special characters only need to be escaped if their special meaning was not intended.


Function

The text query parameter is a primary query parameter and allows searching using raw Lucene syntax.

Example - Using the text query parameter

This query searches for documents with a title containing canadian politics:

  s.q=Title:(canadian+politics)

Try It