[ckan-dev] Is CKAN suitable for textual search in a 10Gb dataset?

Ian Ward ian at excess.org
Tue Apr 22 00:20:57 UTC 2014


On 10 Apr 2014 09:29, "Andrés Martano" <andres at inventati.org> wrote:
>
> Thanks for the answer.
>
> Em 09-04-2014 15:11, Dominik Moritz escreveu:
>
>> You can always just use the insert API
http://docs.ckan.org/en/latest/maintaining/datastore.html?highlight=datastore#ckanext.datastore.logic.action.datastore_upsert
>
> That code in the docs,
"ckanext.datastore.logic.action.datastore_upsert(context, data_dict)" can
be run remotely via ckanapi package, right?

Yes, you should be able to use all the action api calls with ckanapi.

>
> Just to let you know, after installing it with:
> pip install ckanapi
> I tried to import it in Python 3, and got an error about "requests"
module.
> After "pip install requests", it worked fine.
> Maybe missing deps? Should I open an issue?

Sure, open an issue. I put the requirements in requirements.txt but there
is probably a way to make pip install those automatically.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140421/21718c87/attachment-0003.html>


More information about the ckan-dev mailing list