[ckan-changes] [okfn/ckan] 50285e: [search] #1498 Support for multiple SOLR schemas

noreply at github.com noreply at github.com
Mon Dec 5 12:05:17 UTC 2011


  Branch: refs/heads/feature-1498-multiple-schemas
  Home:   https://github.com/okfn/ckan

  Commit: 50285ef6352e128572672a20fa4fc5d70a7daeef
      https://github.com/okfn/ckan/commit/50285ef6352e128572672a20fa4fc5d70a7daeef
  Author: amercader <amercadero at gmail.com>
  Date:   2011-12-05 (Mon, 05 Dec 2011)

  Changed paths:
    M ckan/config/environment.py
  R ckan/config/schema.xml
  A ckan/config/solr/CHANGELOG.txt
  A ckan/config/solr/README.txt
  A ckan/config/solr/schema-1.2.xml
  A ckan/config/solr/schema-1.3.xml
  M ckan/lib/search/__init__.py
  A ckan/tests/lib/solr/schema-no-version.xml
  A ckan/tests/lib/solr/schema-wrong-version.xml
  A ckan/tests/lib/test_solr_schema_version.py

  Log Message:
  -----------
  [search] #1498 Support for multiple SOLR schemas

A check is now made on the startup to see if the SOLR server defined
in the configuration file is using a compatible version. The schema
file will be retrieved from the SOLR server and the version will be
extracted and check against a local list of supported versions. If the
remote version is not supported, a SearchError exception will be shown.
Note that the SOLR schemas files have been moved to::

    ckan/config/solr

Please refer to `ckan/config/solr/README.txt` for more details.






More information about the ckan-changes mailing list