Opened 13 years ago
#95 new defect
get sub-collections
Reported by: | vronk | Owned by: | ljo |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | MDRepository | Version: | |
Keywords: | Cc: |
Description
getCollections
-function does not seem to work correctly on subcollections. If we take for example the collection:
ANDES test-hdl:1839/00-0000-0000-0003-A5FA-7
and want to call the children of it:
http://demo.spraakdata.gu.se/clarin/cmd/model/stats?operation=getCollections&collection=test-hdl:1839/00-0000-0000-0003-A5FA-7&maxdepth=1
it takes a) terribly long, and returns b) only the collection itself, not the children.
With maxdepth=2
:
http://demo.spraakdata.gu.se/clarin/cmd/model/stats?operation=getCollections&collection=test-hdl:1839/00-0000-0000-0003-A5FA-7&maxdepth=2
we get the children, but that does not seem right, right?
And it all takes unacceptably long!