Now I have reduced the range to 2^30, this is the absolute minimum. I
queried with 2 range conditions. The complexity implies this big
On 11 Mrz., 23:30, Gaetan Voyer-Perrault <
ga...@10gen.com> wrote:
> Doing this with 1.6.5:
> db.tri.ensureIndex({ c: '2d', t: 1 }, { min: 0, max: Math.pow(2, 40) })
>
> Causes an index to be created that looks like this:
> { "_id" : ObjectId("4d7a9e1e8914000000000ec4"), "ns" : "test.tri", "key" : {
> "c" : "2d", "t" : 1 }, "name" : "c__t_1", "min" : 0, "max" : 1099511627776 }
>
> So it looks like the index can be created, but something else is throwing
> the error. Looking at the source code, there are several unit tests using
> min and max, but nothing using a number this big.