Closed
Description
White testing facetBy and bucketGroup, we found it doesn't work. And it doesn't work with namedGroup either. It needs a conversion as below
builtPlan = p.fromLiterals(numberRows).facetBy((PlanExprColSeq) p.namedGroup("r"));
builtPlan = p.fromLiterals(numberRows).facetBy((PlanExprColSeq) p.bucketGroup(p.xs.string("r"), p.col("r"), p.xs.integerSeq(2,4)));
So we can address your issue, please include the following:
Version of MarkLogic Java Client API
See Readme.txt
Version of MarkLogic Server
See admin gui on port 8001 or run xdmp:version() in Query Console - port 8000)
Java version
Run java -version
OS and version
For MAC, run sw_vers
.
For Windows, run systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
For Linux, run cat /etc/os-release
and uname -r