Skip to content

How to work with multiple facets in one query #190

@Jon78

Description

@Jon78

Hi,

We're trying to build a single query with multiple facets, like the one in this example.

The query should look like this:

"SELECT * FROM table FACET facet_1 FACET facet_2"

The builder seems to accept an array, but this is made into a single facet:

"SELECT * FROM table FACET facet_1, facet_2"

When we loop through the facets array and add the individual facets we get this:

"SELECT * FROM table FACET facet_1, facet_2 FACET facet_1, facet_2"

Which is somewhat closer to what we want, but still does not produce anything useful.

How do we make this happen?

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