Skip to content

complex queries #1682

Open
Open
@jonsgreen

Description

@jonsgreen

I feel hesitant to submit this issue since I am certain it has been covered before although I am unable to find any results that match. I should also preface that I am currently using version 4.6.3 because of being stuck on an earlier version of Elasticsearch.

We have the need to be able to build some more complex search queries that logically combine ands with ors. We can currently achieve some of what we desire by using the _and and _or in a where filter however we then lose the analyzer combining that we get from the main query.

We could also build up a more complex search by using the body option but again we would lose the analyzer configuration that Searchkick provides automatically for the main query.

Is there currently a way to combine some of the default behavior one gets for the main query into the subqueries with _or and _and with Searchkick? If not, is this a feature that would be desired?

I am trying to keep this simple but can add some examples if that would be helpful.

If this feature request issue is totally out of bounds please close it and/or redirect me elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions