Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/ajax/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Couchbase 多个json对象的N1QL索引_Couchbase_N1ql - Fatal编程技术网

Couchbase 多个json对象的N1QL索引

Couchbase 多个json对象的N1QL索引,couchbase,n1ql,Couchbase,N1ql,我想从测试属性中获取摘要字段。每个文档的属性测试都可以更改 附件字段具有json对象,而不是json对象的数组。 我想创建一个索引,该索引应该给出\u sync.attachments.test.digest 请在获取摘要字段的索引和查询中提供帮助 { "_sync": { "attachments": { "test": { "content_type": "text/html", "digest": "sha1-CMKBiqaqoO++

我想从测试属性中获取摘要字段。每个文档的属性测试都可以更改

附件字段具有json对象,而不是json对象的数组。 我想创建一个索引,该索引应该给出
\u sync.attachments.test.digest

请在获取摘要字段的索引和查询中提供帮助

{
  "_sync": {
    "attachments": {
      "test": {
        "content_type": "text/html",
        "digest": "sha1-CMKBiqaqoO++IxKQxH5ZW5smywY=",
        "length": 10240,
        "revpos": 3,
        "stub": true
      }
    },
    "time": "2019-10-14T05:38"
  }
}

你试过什么索引?您看过任何索引文档吗?您尝试过哪些索引?您看过任何索引文档吗?