如何在CouchDb中索引没有视图的嵌套数组字段?
我正在寻找嵌套数组字段的索引,我有以下文档:如何在CouchDb中索引没有视图的嵌套数组字段?,couchdb,couchdb-2.0,Couchdb,Couchdb 2.0,我正在寻找嵌套数组字段的索引,我有以下文档: { "id": "invoice1", "sellers": [{ "names": "Clark", "items": [{ "iditem": "item1", "properties": [{ "width": "212cm" }] }] }] } 如何索引宽度字段 我
{
"id": "invoice1",
"sellers": [{
"names": "Clark",
"items": [{
"iditem": "item1",
"properties": [{
"width": "212cm"
}]
}]
}]
}
如何索引宽度字段
我已经试过sellers.items.properties.width了
我读过关于部分索引的文章,但是如果我用elemMatch和$eq创建一个部分索引,它将是静态的