void generateSampleData() {
        Random rnd = new Random(5283314247687391911L);
        data = new Document[100000];
        for (int i=0;i<documentCount;i++) {
            data[i] = new Document();
            data[i].put("shortOne",rnd.nextInt());
            data[i].put("intOne",i);
            data[i].put("longOne",12345678L);
            data[i].put("longTwo",rnd.nextLong());
            data[i].put("longThree",rnd.nextLong());
            data[i].put("longFour",i);
            data[i].put("longFive",rnd.nextInt());
            data[i].put("floatOne",(double)rnd.nextDouble());
            data[i].put("floatTwo",rnd.nextDouble());
            data[i].put("floatThree",rnd.nextDouble());
            data[i].put("floatFour",rnd.nextDouble());
            data[i].put("doubleOne",rnd.nextDouble());
            data[i].put("doubleTwo",rnd.nextDouble());
            data[i].put("doubleThree",rnd.nextDouble());

            // Sample arrays
            double[] doubleArrayOne = new double[10];
            for (int j = 0;j < 10;j++) {
                doubleArrayOne[j] = rnd.nextDouble();
            }
            data[i].put("doubleArrayOne",doubleArrayOne);

            Double[] doubleArrayTwo = new Double[10];
            for (int j = 0;j < 10;j++) {
                doubleArrayTwo[j]= rnd.nextDouble();
            }
            data[i].put("doubleArrayTwo",doubleArrayTwo);
        }
    }