Skip to content

Commit

Permalink
Started removing existing search. Start of SolrIndexer, NoIndexer, Po…
Browse files Browse the repository at this point in the history
…stgresIndexer.
  • Loading branch information
TkTech committed Jun 16, 2016
1 parent 8e6aab9 commit 551e46c
Show file tree
Hide file tree
Showing 19 changed files with 373 additions and 1,669 deletions.
10 changes: 0 additions & 10 deletions ckan/config/environment.py
Expand Up @@ -15,7 +15,6 @@
import ckan.lib.helpers as helpers
import ckan.lib.app_globals as app_globals
import ckan.lib.render as render
import ckan.lib.search as search
import ckan.logic as logic
import ckan.authz as authz
import ckan.lib.jinja_extensions as jinja_extensions
Expand Down Expand Up @@ -168,15 +167,6 @@ def update_config():
favicon = config.get('ckan.favicon', '/base/images/ckan.ico')
config['ckan.favicon'] = favicon

# Init SOLR settings and check if the schema is compatible
# from ckan.lib.search import SolrSettings, check_solr_schema_version

# lib.search is imported here as we need the config enabled and parsed
search.SolrSettings.init(config.get('solr_url'),
config.get('solr_user'),
config.get('solr_password'))
search.check_solr_schema_version()

routes_map = routing.make_map()
config['routes.map'] = routes_map
# The RoutesMiddleware needs its mapper updating if it exists
Expand Down
12 changes: 0 additions & 12 deletions ckan/config/solr/README.txt

This file was deleted.

170 changes: 0 additions & 170 deletions ckan/config/solr/schema-1.2.xml

This file was deleted.

0 comments on commit 551e46c

Please sign in to comment.