Skip to content
This repository was archived by the owner on Feb 5, 2023. It is now read-only.
This repository was archived by the owner on Feb 5, 2023. It is now read-only.

ElasticsearchEngine doesn't care about Builder::$index #31

@Dadibom

Description

@Dadibom

ElasticsearchEngine uses $this->index instead of $builder->index, which makes it impossible to search in different indices. It looks like $builder->index is null if you don't set it to something using the within-function, so you could probably just use this:

'index' => $builder->index ?: $this->index,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions