Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query on multiple indices #55

Open
astalpaert opened this issue Mar 12, 2020 · 1 comment
Open

Query on multiple indices #55

astalpaert opened this issue Mar 12, 2020 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@astalpaert
Copy link
Contributor

I don't think it's currently possible to filter on multiple indices at once. For example, I want to search the 'name' property in the 'products' AND 'categories' index.

I would like to have something like: Elasticsearch::query(['products', 'categories'])

What do you think about this feature? Can I add this in the query method and Builder?

@Douglasdc3
Copy link
Contributor

It is not possible at the moment but I do like this feature. We just need to figure out how to map different indices onto their respective model or return the ElasticHit Object.

@Douglasdc3 Douglasdc3 added the help wanted Extra attention is needed label Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants