You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 30, 2018. It is now read-only.
I'm already able to select the fields that will be returned from the ElasticSearch query, but now I would like to be able to select the fields that will be loaded from the database when I pass the load: true option, maybe something like:
tire.search(load: { fields: [:title] })
Can I achieve this behaviour directly trough tire ? Thank you.
The text was updated successfully, but these errors were encountered:
Yep I saw that method, but I don't think that works with MongoID, I just tried Article.find(id, only: :email) and nothing... So I forked tire to make that work with MongoID... Would that be an interesting PR to make ?
@vasconcelloslf Sorry for the silence. This is also related to #767 and effectively all discussions we're having about having a set of strategies which would allow customizable finders for major ORMs. If you have time, sure link the changes or submit a PR so we can talk around code.
I'm already able to select the fields that will be returned from the ElasticSearch query, but now I would like to be able to select the fields that will be loaded from the database when I pass the
load: true
option, maybe something like:tire.search(load: { fields: [:title] })
Can I achieve this behaviour directly trough tire ? Thank you.
The text was updated successfully, but these errors were encountered: