You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<para>Because the index root is defined on <sgmltag>SPEECH</sgmltag>, the function will always return
273
+
<sgmltag>SPEECH</sgmltag> elements.</para>
274
+
<para>If multiple filters are used and each of them has a corresponding field definition, they are combined into one call:</para>
275
+
<synopsislanguage="xquery">collection("/db/apps/demo/data")/range:field-eq(("stagedir", "line"), "Aside", "what do you read, my lord?")</synopsis>
276
+
<para>Note that while the field names are specified in a sequence, we add one parameter for every value to look up. This way it is possible
277
+
to specify more than one value for each parameter by passing in a sequence.</para>
278
+
<para>Because different operators might be used inside the filters, the query engine will actually rewrite the expression to the
279
+
following:</para>
280
+
<synopsislanguage="xquery">collection("/db/apps/demo/data")/range:field(("stagedir", "line"), ("eq", "eq"), "Aside", "what do you read, my lord?")</synopsis>
281
+
<para>This is not easy to read, but efficient, and users will normally not see this function call anyway. However, it sometimes helps to know what the
282
+
optimizer is supposed to do and try it out explicitely.</para>
0 commit comments