--- /dev/null
+<searchClause>
+ <index>cql.serverChoice</index>
+ <relation>
+ <value>=</value>
+ </relation>
+ <term>a</term>
+ <sortKeys>
+ <key>
+ <index>title</index>
+ </key>
+ </sortKeys>
+</searchClause>
--- /dev/null
+<triple>
+ <boolean>
+ <value>or</value>
+ </boolean>
+ <leftOperand>
+ <searchClause>
+ <index>cql.serverChoice</index>
+ <relation>
+ <value>=</value>
+ </relation>
+ <term>a</term>
+ </searchClause>
+ </leftOperand>
+ <rightOperand>
+ <searchClause>
+ <index>cql.serverChoice</index>
+ <relation>
+ <value>=</value>
+ </relation>
+ <term>b</term>
+ </searchClause>
+ </rightOperand>
+ <sortKeys>
+ <key>
+ <index>title</index>
+ <modifiers>
+ <modifier>
+ <type>ascending</type>
+ </modifier>
+ </modifiers>
+ </key>
+ <key>
+ <index>author</index>
+ </key>
+ </sortKeys>
+</triple>
# free-form term (Syntax error)
a b.c
a and
+
+# sortby
+a sortby title
+a or b sortby title/ascending author