A db that can only be used to store data and is not ok to retrieve data filtering by two fields, is not a db, is /dev/null, haha. Data is stored to then be read :)
Elastic wasn't made to return the whole table or most of it, but quite the opposite. It was made as a full text search engine, to find the small subset of documents that contain some text inside a huge collection of documents.
But anyway, you're missing the point (respectfully): it doesn't matter how complex or simple the filters are, the query language is still super crappy, when it could have been as clean and readable as technologies that were decades old when MongoDB came out. Having to manually write the AST in json is crazy, hehe.
View all comments
Show parent comment
1
u/fisadev Oct 19 '24
A db that can only be used to store data and is not ok to retrieve data filtering by two fields, is not a db, is /dev/null, haha. Data is stored to then be read :)