When I run select * from system:indexes
on couchase, it shows there're 149 docs, but there's not as many indexes in the Indexes list.
So where does couchbase store exhaustive list of indexes?
当我在Couchase上运行SELECT*FROM SYSTEM:INDEX时,它显示有149个文档,但索引列表中没有那么多索引。那么Couchbase将详尽的索引列表存储在哪里呢?
I've tried researching how indexes are stores on couchbase, but nothing useful has found.
我曾尝试研究如何在Couchbase上存储索引,但没有发现任何有用的东西。
更多回答
Have you tried comparing the two lists to see the differences? There might be some indexes that are not user-defined. Or it might be possible that you're only viewing a subset of indexes for a specific scope/collection in the Indexes list.
你有没有试过比较这两份榜单,看看有什么不同?可能有一些索引不是用户定义的。或者,您可能只在索引列表中查看特定作用域/集合的索引子集。
优秀答案推荐
IP of index node
索引节点的IP
curl -s Administrator:[email protected]:9102/getIndexStatus |jq '.status[].definition' | sed 's/^"//g' | sed 's/"$/;/g' | sed 's/\\"/"/g'
更多回答
我是一名优秀的程序员,十分优秀!