[ckan-dev] CKAN DataStore

Haq, Salman Salman.Haq at neustar.biz
Mon Jul 23 13:19:26 UTC 2012


Benjamin,

Unfortunately not at the moment. The DataStore extension saves the data in ElasticSearch. The CKAN Search function only searches the Solr index and not the ES index. However, I believe if you are writing your own extension, it should be able to enhance the search results by implementing IPackageController.after_search. See the documentation for that function in ckan/plugins/interfaces.py

Let me know how it turns out. I plan on doing the same.

Thanks,
Salman

From: <Dittwald>, Benjamin <benjamin.dittwald at fokus.fraunhofer.de<mailto:benjamin.dittwald at fokus.fraunhofer.de>>
Reply-To: CKAN Development Discussions <ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>>
Date: Monday, July 23, 2012 7:08 AM
To: "ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>" <ckan-dev at lists.okfn.org<mailto:ckan-dev at lists.okfn.org>>
Subject: [ckan-dev] CKAN DataStore

Hello All,

I would like to know if it’s possible to search the CKAN DataStore over mutliple datasets to get a filtered resultset? Like it’s possible in SQL when I search over multiple tables and only get the information I need.

Thanks,
Benjamin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120723/578fb1f3/attachment-0001.html>


More information about the ckan-dev mailing list