Reputation: 5132
I was reading about elastic search. It looks like it maintain inverted index on all terms in all the documents. But does it also maintain normal indexing, i.e. from document id to document? Also, as it maintains lot of indexing on all fields and for all terms, so does it take too much memory? Eg. when compared to DynamoDb, where say, I made indexes on only 2 fields and here it form indexes on each and every term, which would be more memory efficient?
Upvotes: 0
Views: 268
Reputation: 12419
Dynamo and ES are very different beasts. A few examples:
Upvotes: 1
Reputation: 10859
"too much" is a very opinionated question and will totally depend on your use-case. To make an informed decision, you'll need to dive into a few topics (Elasticsearch is really powerful, but you need to know what you are doing):
_all
and _source
_uid
field, which contains the _id
, is indexed.So it will really depend on your data, your mapping, and what you want to achieve with your data. I'm afraid you will need to build a quick prototype with exactly your data and use-case to find out.
Upvotes: 1