Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
MongoDB中文本索引和复合索引不能一起用吗?
MongoDB中 複合索引 可以包含一個 文本 索引鍵,和其它遞增/遞減索引鍵。但是,這些複合索引都有如下限制:
•複合 文本 索引不能包含任何其他特殊類型索引,比如 多鍵索引 or 地理索引 鍵。•如果複合 文本 索引中有其他鍵排在 文本 索引鍵 之前 ,當查詢 $text 時,這條查詢必須包含對這些鍵的 相等匹配條件 。
与 萌阔论坛 的连接断开,我们正在尝试重连,请耐心等待