{ "from" : 0, "size" : 10, "fields": ["href","summary","dtstart","dtend"], "post_filter" : { "and" : { "filters" : [ { "or" : { "filters" : [ { "and" : { "filters" : [ { "term" : { "categories.uid" : "ff808181-1fd7389e-011f-d7389f9a-00000026" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "terms" : { "categories.uid" : [ "ff808181-1fd7389e-011f-d7389ed0-00000002", "ff808181-1fd7389e-011f-d7389ef9-00000003", "ff808181-1fd7389e-011f-d7389eff-00000004", "ff808181-1fd7389e-011f-d7389f02-00000005", "ff808181-1fd7389e-011f-d7389f15-0000000a", "ff808181-1fd73b03-011f-d73b065c-00000002" ], "execution" : "or" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "term" : { "categories.uid" : "ff808181-1fd7389e-011f-d7389f24-0000000e" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "term" : { "categories.uid" : "402881e6-20a21413-0120-a23d71e5-00000015" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "terms" : { "categories.uid" : [ "ff808181-1fd7389e-011f-d7389f33-00000012", "ff808181-1fd7389e-011f-d7389f8b-00000022", "ff808181-1fd7389e-011f-d7389f38-00000013", "ff808181-1fd7389e-011f-d7389f3f-00000015" ], "execution" : "or" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "terms" : { "categories.uid" : [ "402881e6-20a21413-0120-a24c742e-00000058", "402881e6-20a21413-0120-a248f865-00000020", "402881e6-20a21413-0120-a24bfbc2-00000057", "402881e6-20a21413-0120-a24bc8db-00000056" ], "execution" : "or" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "terms" : { "categories.uid" : [ "ff808181-1fd7389e-011f-d7389f0a-00000007", "ff808181-1fd7389e-011f-d7389f1c-0000000c" ], "execution" : "or" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "terms" : { "categories.uid" : [ "ff808181-1fd73b03-011f-d73b06f8-0000000c", "ff808181-1fd7389e-011f-d7389f8f-00000023", "ff808181-1fd7389e-011f-d7389ec8-00000000", "ff808181-1fd7389e-011f-d7389f06-00000006", "ff808181-1fd7389e-011f-d7389f0d-00000008", "ff808181-1fd7389e-011f-d7389f59-0000001c", "ff808181-1fd7389e-011f-d7389f18-0000000b", "402881e6-20a21413-0120-a236d0b1-00000014", "ff808181-1fd7389e-011f-d7389f28-0000000f", "ff808181-1fd7389e-011f-d7389f88-00000021" ], "execution" : "or" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "terms" : { "categories.uid" : [ "ff808181-1fd7389e-011f-d7389fa2-00000028", "ff808181-1fd7389e-011f-d7389fa5-00000029", "ff808181-1fd7389e-011f-d7389f96-00000025", "402881e6-20a21413-0120-a22de2dd-0000000d", "402881e6-20a21413-0120-a22fdf78-00000010" ], "execution" : "or" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "terms" : { "categories.uid" : [ "ff808181-1fd73b03-011f-d73b0714-0000000e", "ff808181-1fd7389e-011f-d7389f80-0000001f", "ff808181-1fd7389e-011f-d7389f60-0000001e", "ff808181-1fd73b03-011f-d73b071a-0000000f", "ff808181-1fd7389e-011f-d7389f84-00000020", "ff808181-1fd7389e-011f-d7389fa9-0000002a" ], "execution" : "or" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "term" : { "categories.uid" : "ff808181-1fd7389e-011f-d7389f20-0000000d" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "terms" : { "categories.uid" : [ "ff808181-1fd7389e-011f-d7389f4f-00000019", "ff808181-1fd7389e-011f-d7389fad-0000002b", "ff808181-1fd7389e-011f-d7389f2c-00000010", "ff808181-1fd7389e-011f-d7389f3b-00000014" ], "execution" : "or" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } }, { "and" : { "filters" : [ { "terms" : { "categories.uid" : [ "ff808181-1fd7389e-011f-d7389f4b-00000018", "ff808181-1fd7389e-011f-d7389ecc-00000001", "ff808181-1fd7389e-011f-d7389f30-00000011", "ff808181-1fd7389e-011f-d7389f47-00000017", "00f1fcb8-20a0fb67-0120-a144373f-000001ed" ], "execution" : "or" } }, { "term" : { "colPath" : "/public/cals/MainCal" } } ] } } ] } }, { "and" : { "filters" : [ { "not" : { "filter" : { "term" : { "categories.href" : "/public/.bedework/categories/sys/Ongoing" } } } }, { "terms" : { "_type" : [ "event", "todo" ], "execution" : "or" } }, { "range" : { "dtend.utc" : { "from" : "20140701T040000Z", "to" : null, "include_lower" : false, "include_upper" : true } } } ] } }, { "or" : { "filters" : [ { "not" : { "filter" : { "term" : { "_type" : "event" } } } }, { "term" : { "instance" : "true" } }, { "term" : { "override" : "true" } }, { "and" : { "filters" : [ { "term" : { "master" : "true" } }, { "term" : { "recurring" : "false" } } ] } } ] } } ] } }, "sort" : [ { "dtstart.utc" : { "order" : "asc" } } ] }