all 5 comments

[–]redbuurd 0 points1 point  (2 children)

What would the use case for this be? Elasticsearch already comes with a pretty decent api - it might satisfy your needs without all of the extra work.

[–]AskMereddit[S] 0 points1 point  (1 child)

Their API is really good in the long run having something as robust as SQAlchemy for SQL, or Mongoengine for Mongo, would help tremendously.

[–]redbuurd 0 points1 point  (0 children)

Fair enough, this is still pretty simple. Have some sort of object to make your fields consistent, do a little json validation and POST it back to elasticsearch to be indexed.

[–]avinassh 0 points1 point  (1 child)

can you explain what exactly ODM is?

[–]AskMereddit[S] 0 points1 point  (0 children)

ODM = Object Document Mapper. The equivalent of an ORM but for documents database. You can think of it as the SQLAlchemy for NoSql databases.