node.js - Index optimizations for redundant data? -


i'm storing same tags: ['hello', 'world'] in multiple documents indexed.

does make sense use external mapping: tags: { hello: 1, world: 2 } resolved on client in favor of reduced index space , size of tags on disk?

essentially, client side compression mapping pulled static config file.

if storage space concern, using small field names , values whenever possible possible advantage. surmised reduce amount of data stored on disk. assuming client can handle mapping long term (and can handle maintenance of mappings) cannot see disadvantages.


Comments

Popular posts from this blog

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -