Skip to content

[lucene.xml]:  #477

Open
Open
@PietroLiuzzo

Description

@PietroLiuzzo

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions