Let's say if we have a document that can have 50-60 fields. For exmple:
{
"priceCurrency": "USD",
"price": "119.99",
"priceValidUntil": "2020-11-05",
"brand": "Acme",
"logo": "http://www.example.com/logo.png",
"name": "WidgetPress",
"category": "Widgets",
"image": "http://www.example.com/image.jpg",
"description": "This is an excellent widget with 21 features and 4 colors."
}
Now out of those 60 fields, we can query on 20-25 fields. So that means we would need indexes on all these fields.
The query formed on these fields can have equality and inequality operators. Query can also have AND/OR/NOT operators.
There will be no full-text search requirement.
For such a scenario, ElasticSearch or MongoDB would be preferred?
I read in one article, that supporting more 5 than indexes in mongo could make writes slow. SO in such cases, ES should be preferred.
Our data would be around 200 GB. RPS would be 20,000.`
Editing the Qs - Just wondering ScyllaDB would make sense for this usecase?