-
Notifications
You must be signed in to change notification settings - Fork 370
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Ability to specify index name(s) for partitioning #638
Comments
Well, this is actually the first feature we need for ES6 and I'm thinking about it for a long time already but, unfortunately, it is not implemented yet. However, everything is actually ready for it in the DSL, the implementation will be simple if you want to try. |
@pyromaniac Happy to take a stab at it. Since I'm just figuring out the code base, is there any files in the code base you can recommend I look at that might be similar to what I will need to add? Appreciate it! |
https://github.com/toptal/chewy/blob/master/lib/chewy/search/request.rb It already supports multiple indexes on init, we need just an ability to append them. |
Handled by #657 |
We are trying to do date based index partitioning (e.g. log-2018-01, log-2018-02)
When doing time based searches, we could then specify to only search the indexes that we know match the time range given but I can't find any way to specify this with chewy.
I'm wanting to do something like
query = LogIndex.index('log-2018-01,log2018-02').filter(...)
Is this supported now, or if not what is the best way to accomplish this?
The text was updated successfully, but these errors were encountered: