dsp-api icon indicating copy to clipboard operation
dsp-api copied to clipboard

Limit the size of bulk import

Open benjamingeer opened this issue 5 years ago • 2 comments

Can we just set a limit on the number of resources?

benjamingeer avatar Jan 19 '19 13:01 benjamingeer

Yes, that would be great. I talked to @lrosenth yesterday and he thinks that limiting the number of resources is a good idea. He actually already developed pyKnora with this in mind.

subotic avatar Jan 20 '19 00:01 subotic

We could add a new XML property:

<knoraXmlImport:part nr=“1” of=“500”>
    ... resources ...
</knoraXmlImport:part>

Each part could have a limit on the number of resources and properties, e.g., 25 resources and a maximum of 250 properties. So either 1 resource with 250 properties or 25 resources with 10 properties each.

subotic avatar Jan 20 '19 07:01 subotic