[ckan-dev] Is CKAN suitable for textual search in a 10Gb dataset?
Andrés Martano
andres at inventati.org
Thu Apr 10 13:29:29 UTC 2014
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?
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?
> The search does not do a full test search. You have to write custom
> sql queries
> using http://docs.ckan.org/en/latest/maintaining/datastore.html?highlight=datastore#ckanext.datastore.logic.action.datastore_search_sql and http://www.postgresql.org/docs/8.3/static/textsearch.html.
>
Are there some examples? I was unable to even list column names to than
build a query...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20140410/1d233a5a/attachment-0003.html>
More information about the ckan-dev
mailing list