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/sebbdk Oct 19 '24
Maybe i should clarify and say i meant complicated queries.
Sometimes a database does not have a bunch of rules/indexes and are just used to return the whole/most of a table.
Think what Elastic search was made for. :)
edit, fixed shitty english