[ckan-changes] commit/ckanext-solr: John Glover: Add note on testing and format commands/config options so printed nicely by bitbucket
Bitbucket
commits-noreply at bitbucket.org
Wed Aug 10 17:00:00 UTC 2011
1 new changeset in ckanext-solr:
http://bitbucket.org/okfn/ckanext-solr/changeset/e18a5a7d3d46/
changeset: e18a5a7d3d46
user: John Glover
date: 2011-08-10 18:59:41
summary: Add note on testing and format commands/config options so printed nicely by bitbucket
affected #: 1 file (89 bytes)
--- a/README.md Wed Aug 10 17:54:18 2011 +0100
+++ b/README.md Wed Aug 10 17:59:41 2011 +0100
@@ -27,8 +27,8 @@
This will download the code and register all entry points. You can then add the
following configuration options in your CKAN site configuration file::
- search_backend = solr
- solr_url = http://your-solr-host:8983/solr
+ search_backend = solr
+ solr_url = http://your-solr-host:8983/solr
This will direct CKAN to use the given Solr server for any search queries.
@@ -45,7 +45,7 @@
To configure in-process indexing, make sure the following line is present in
your site configuration::
- ckan.plugins = synchronous_search
+ ckan.plugins = synchronous_search
This setting likely already exists (it is also needed for Postgres indexing)
and your configuration may also list other plugins.
@@ -60,9 +60,9 @@
configuration and in the worker configuration file. You must also replicate the
``solr_url`` setting in the worker config.
-To launch the indexing process, run the worker command::
+To launch the indexing process, run the worker command:
- $ worker -c worker.cfg solr
+ $ worker -c worker.cfg solr
You can also run many workers at once, by listing each of their names.
@@ -75,3 +75,11 @@
cases, HTTP authentication may be used to restrict (write) operations to the index.
To pass required authentication info to the extension, specify ``solr_user`` and
``solr_password`` in your configuration files.
+
+
+Testing
+-------
+
+From the ckanext-solr directory, run
+
+ nosetests --ckan
Repository URL: https://bitbucket.org/okfn/ckanext-solr/
--
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