couchdb map/reduce view: counting only the most recent items

≯℡__Kan透↙ 提交于 2019-12-08 08:54:32

The meaning of some parts are still a bit cloudy (for example, what is a "position"?).

But from a pure formal point of view, it seems that your list creates an index on keyword while your map created an index on [profile, keyword, timestamp].

If you really need different indexes then you need several maps, one per index. The only exception is when you already have a map on [a,b,c], you can change the "group level" and get two other indexes: [a,b] and [a].

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!