Wrap cartesianProduct function with fetch function works as expected. But rollup function over cartesianProduct doesn´t aggregate on a returned field of the cartesianProduct.
The field "id_researcher" bellow is a Multivalued field: This one works: fetch(reasercher, cartesianProduct( having( cartesianProduct( search(schoolarship,zkHost="localhost:9983",qt="/export",q="*:*", fl="process, area, id_reasercher",sort="process asc"), area ), eq(area, val(Anything))), id_reasercher), fl="name, django_id", on="id_reasercher=django_id" ) This one doesn´t works: rollup( cartesianProduct( having( cartesianProduct( search(schoolarship,zkHost="localhost:9983",qt="/export",q="*:*", fl="process, area, id_researcher, status",sort="process asc"), area ), eq(area, val(Anything))), id_researcher), over=id_researcher,count(*) ) If I aggregate over a non MultiValued field, it works. Is that correct, rollup doesn´t work on a cartesianProduct?