[ckan-changes] commit/ckanextiati: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Fri Nov 4 14:16:34 UTC 2011
2 new commits in ckanextiati:
https://bitbucket.org/okfn/ckanextiati/changeset/34e7902dad04/
changeset: 34e7902dad04
branch: resource-archiver
user: amercader
date: 2011-11-03 12:14:00
summary: Update README with archiver command
affected #: 1 file
diff -r ea26094fc5057e71d1f593be9db8998eae40b295 -r 34e7902dad04f7be7ca6435501f1f3478fef2f95 README.txt
--- a/README.txt
+++ b/README.txt
@@ -23,13 +23,10 @@
1) Install the extension from its source repository (a Debian package
is not available at this time):
-(env)$ pip install -e hg+https://okfn@bitbucket.org/okfn/ckanext-solr#egg=ckanext-solr
(env)$ pip install -e hg+https://okfn@bitbucket.org/okfn/ckanextiati#egg=ckanextiati
-(Solr is a requirement but also available in packaged form).
-
-You probably also want to install the ckanext-solr and
-ckanext-wordpresser packages. See their respective documentation for
+You probably also want to install the ckanext-wordpresser and
+ckanext-archiver packages. See their respective documentation for
install notes.
2) Copy or symlink the modified Solr schema.xml into the Solr core
@@ -63,6 +60,10 @@
(Don't forget to also add a 'solr_url').
+# User credentials used in the archiver
+iati.admin_user.name = <user_name>
+iati.admin_user.api_key = <api_key>
+
Overall workflow for IATI
=========================
@@ -123,3 +124,12 @@
report data itself.
+Archiver command
+================
+
+The extension includes a paster command that will download all IATI XML files
+(i.e. all resources), parse them and extract a couple of variables, which will
+be stored in extras. To run it you must install ckanext-archiver. To run the
+command, assuming you are on the ckanextiati directory::
+
+ paster iati-archiver update --config=../ckan/development.ini
https://bitbucket.org/okfn/ckanextiati/changeset/f82c2320f970/
changeset: f82c2320f970
user: amercader
date: 2011-11-04 15:14:59
summary: [search] Update solr schema to use index_id (See #1430)
affected #: 1 file
diff -r bdaf93ab8daa1062b291c50e5e97ee05cedeb292 -r f82c2320f970a91b41141e1012faafb7cdbb0f6f solr/schema.xml
--- a/solr/schema.xml
+++ b/solr/schema.xml
@@ -91,6 +91,7 @@
<fields>
+ <field name="index_id" type="string" indexed="true" stored="true" required="true" /><field name="id" type="string" indexed="true" stored="true" required="true" /><field name="site_id" type="string" indexed="true" stored="true" required="true" /><field name="title" type="text" indexed="true" stored="true" />
@@ -138,7 +139,7 @@
<dynamicField name="*" type="string" indexed="true" stored="false"/></fields>
- <uniqueKey>id</uniqueKey>
+ <uniqueKey>index_id</uniqueKey><defaultSearchField>text</defaultSearchField><solrQueryParser defaultOperator="AND"/>
Repository URL: https://bitbucket.org/okfn/ckanextiati/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list