-
Notifications
You must be signed in to change notification settings - Fork 2
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
Support options such as _ttl (time to live) #122
Comments
Yes, these are already supported. You would just define it as |
I don't know if I should reopen that issue or not, but I can't figure how to use this "es_ttl" inside a mongoose schema to enable it in the real of elasticsearch ? May I ask you a simple example of a mapping using ttl ? Thanks for the support, this is a great plugin |
Oh I didn't realize this was a root level setting. I'll reopen it. To my knowledge this is not currently possible with mongoosastic. |
This issue has been moved to mongoosastic#10 |
Would it be possible to add support for defining additional mapping options (specifically _ttl)? See http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-ttl-field.html for reference
The text was updated successfully, but these errors were encountered: