输入banner图图片脚本导航/分类

MongoDB怎么做这种MVA搜索,如何设计结构?


中间的关系是and而非or

有一个想法是酱紫

{
    _id:mongoid,
    title:title,
    another_title:[title1,title2]
    tags:[
        {category: [cate1,cate2,cate3]},
        {year:[2013]},
    ]
}

回复内容:


中间的关系是and而非or

有一个想法是酱紫

{
    _id:mongoid,
    title:title,
    another_title:[title1,title2]
    tags:[
        {category: [cate1,cate2,cate3]},
        {year:[2013]},
    ]
}