3 ms·
Hello. I'm the author of the library, you should use the IndexManager (https://github.com/heywhy/ex_elasticlunr/blob/master/lib/elasticlunr/manager/index_manage
by heywhy 5y ago
Hello. I'm the author of the library, you should use the IndexManager (https://github.com/heywhy/ex_elasticlunr/blob/master/lib/elasticlunr/manager/index_manager.ex https://github.com/heywhy/ex_elasticlunr/blob/master/lib/ela...) to store your index after making changes to it but note that the indexes will be lost on application shutdown.
But I'm currently working on a configurable storage mechanism so that you can use whatever storage provider of your choice. See https://github.com/heywhy/ex_elasticlunr/pull/9 https://github.com/heywhy/ex_elasticlunr/pull/9
- dnautics 5y agoNice work! For certain storage media, e.g. S3 it might be useful to have some sort of delta-based updates where you can enqueue deltas that accrue over time. It might also be interesting to solicit volunteers to help implement distributed in-memory or disk persistence.
- heywhy 5y agoThank you for the suggestions. I also have same direction for the library. I don't mind if you recommend volunteers. And don't forget to share the project with friends and colleagues who might be interested in contributing.
- dnautics 5y agoPost it on elixirforum (elixirforum.com).... Did a quick search and couldn't find it there.