Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Minimum requirements for Ecto NoSQL adapter

We are looking for a best possible way to incorporate Elastic into our project while preserving all the goodness that phoenix-ecto has to offer, i.e. changeset validations and Phoenix.HTML.Form compatibility.

With Ecto 2.0 it looks like that this task should be easier than ever.

So the questions are:

  • Is there a skeleton for a NoSQL Ecto adapter?
  • What preliminary requirements? Pitfalls?
  • What are minimum requirements for such adapter to handle embbeds?
like image 834
lessless Avatar asked Mar 12 '23 05:03

lessless


1 Answers

Michal Muskala wrote a nice article about creating a NoSQL adapter for Ecto:

Blog Post

like image 65
Sasha Fonseca Avatar answered Mar 19 '23 19:03

Sasha Fonseca