Hello guys! One question... Is the `enable_disk_pe...
# community-help
d
Hello guys! One question... Is the
enable_disk_persistence
parameter an officially supported feature in the Typesense core, or is it part of a fork or an unofficial workaround? I’m trying to determine if it’s a reliable option for production use, given that it’s not mentioned in the official documentation or changelogs.
a
Hey @Diego Chacón Sanchiz, Can you share where did you find it?
I'm waiting to hear what you prescribe, thanks in advance.
a
Diego, The parameter
enable_disk_persistence
is not a server parameter for Typesense. All data is written to disk and then loaded into RAM at startup. If you want to avoid loading a specific field into RAM, you can just not reference that field in your schema. For example, if your schema includes a field called "title" and you send a document with both "title" and "title_image," Typesense will index "title" in memory but will fetch "title_image" from disk whenever this document is retrieved. Additionally, snapshots are always enabled and taken on an hourly basis,
d
Perfect Alan, thank you very much for the clarification. That's what I understood according to the official documentation, but when I found the post I shared, it raised a question... Thank you very much again.
a
Tbh, me too haha, could be an actual info missing from docs, so I had to refer to the source code. Thanks for bringing this.
💪 1
d
To you all for adding so much value to the support! We'll stay in touch.