Open
Description
https://exist-db.slack.com/archives/CG2MRUZ35/p1589783299329600
Describe the problem
the $options parameter in function ft:query takes either a map or XML apparently but the documentation and guidelines for additional parameters say it takes only XML, while the facets/fields $options have an example with a map, like map{facets:map{}}
I would suggest in this page to change to something like this
<para>The <code>ft:query</code> function allows a third parameter for passing additional
settings to the query engine. This parameter must be an XML fragment which lists the
configuration properties to be set as child elements:</para>
settings to the query engine. This parameter can be a map or an XML fragment which
lists the configuration properties to be set as child elements. Using a map will
allow to include also options for facets and fields. The following is an example
using XML and only with the additional parameters:</para>
Metadata
Metadata
Assignees
Labels
No labels