Compound indexes support queries on any prefix of the index fields. Index prefixes are the beginning subset of indexed fields. For example, given the index { a: 1, b: 1, c: 1 }, both { a: 1 } and { a: 1, b: 1 }are prefixes of the index.
Given the following index:
{ "item": 1, "location": 1, "stock": 1 }
MongoDB can use this index to support queries that include:
- the item field,
- the item field and the location field,
- the item field and the location field and the stock field, or
- only the item and stock fields; however, this index would be less efficient than an index on onlyitem and stock.
MongoDB cannot use this index to support queries that include:
- only the location field,
- only the stock field, or
- only the location and stock fields.
相关推荐
The Investigations of the Compound Lens in Optimizing the Irradiation Uniformity in Longitudinally Pump,李汉明,李英骏,无摘要
深入编程内幕--Visual C
复合文件结构查看工具的代码,内含复合文件格式定义。
Single-unit and basilar-membrane bases of latencies of cochlear-nerve compound action potentials in chinchillas
Persymmetric adaptive detection of distributed targets in compound-Gaussian sea clutter with Gamma texture
可以用于复杂碰撞边缘的生成,更加精确。
复合几何卷积的完全单调性及其在风险理论中的应用,CHIU Sung-Nok,尹传存,本文证明了完全单调性在混合几何复合下是保持的,并证明了如果Sparre Andersen 模型的索赔分布具有完全单调的密度,则其破产概率,破产时�
人参皂苷在不同溶剂中的溶解度校正和预测,李润妍,闫浩,采用静态分析法对人参皂苷在纯溶剂和二元混合溶剂的溶解度进行了测定。利用van't Hoff方程,改良的Apelblat方程,λh (Buchowski) 方程,Wilso
复合文档豪华版,支持复杂路径解析,多流打开的compound file,安全高效地检索复合文档中的流。支持路径名打开,如绝对路径 \Video\Data\Video.mp4 相对路径 ..\GUID\GUID.txt 当前路径 .\GUID.txt
This powerful, practical book, based on years of proven and profi table experience, shows ... The Compound Effect is a treasure chest of ideas for achieving greater success than you ever thought possible
compound words
Soft compound
“too many terms in compound SELECT” 去Stackoverflow上查了一下,发现有人回答这个问题:链接 原来一次性向数据库里插入数据的条数不能太多,上限是500条。超出会报错。 解决方案就是只好分多次插入数据库了。 ...
// in Node.js const cUsdtAddress = Compound . util . getAddress ( Compound . cUSDT ) ; ( async function ( ) { let supplyRatePerBlock = await Compound . eth . read ( cUsdtAddress , 'function ...
具有随机收入和周期分红策略的复合泊松风险模型,王乾乾,刘朝林,本文对具有随机收入和周期分红策略的复合泊松风险模型进行了研究。通常,在分红决策时间序列中,保险公司通过分析盈余水平来决定红�
The two-dimensional (2D) compound parabolic concentrator's (CPC) characteristics are analyzed. It is shown that CPC's height is taller and its light collecting ability is stronger with the CPC's field...
32Compound Option V3.xls
DC motor construction working principal types of dc motor series shunt compound
Thinking in C: Foundations for Java & C++ by Chuck Allison produced by Bruce Eckel Chapter 1: Introduction and Getting Started40 MinutesStart Lecture Chapter 2: Fundamental Data Types41 ...
The SegmentMerger class combines two or more Segments, represented by an IndexReader ({@link #add}, ... If the compoundFile flag is set, then the segments will be merged into a compound file for Linux.